ACK: [PATCH 0/2 v2] [xenial] CVE-2019-19768

Andrea Righi andrea.righi at canonical.com
Wed Apr 1 14:32:35 UTC 2020


On Wed, Apr 01, 2020 at 10:16:32AM -0400, Benjamin M Romer wrote:
> In the Linux kernel 5.4.0-rc2, there is a use-after-free (read) in the
> __blk_add_trace function in kernel/trace/blktrace.c (which is used to fill
> out a blk_io_trace structure and place it in a per-cpu sub-buffer).
> 
> v2: corrected two merge errors.
> 
> Cengiz Can (1):
>   blktrace: fix dereference after null check
> 
> Jan Kara (1):
>   blktrace: Protect q->blk_trace with RCU
> 
>  include/linux/blkdev.h       |   2 +-
>  include/linux/blktrace_api.h |   6 +-
>  kernel/trace/blktrace.c      | 112 ++++++++++++++++++++++++++---------
>  3 files changed, 89 insertions(+), 31 deletions(-)
> 
> -- 
> 2.20.1

Looks good, thanks!

Acked-by: Andrea Righi <andrea.righi at canonical.com>



More information about the kernel-team mailing list