lkml.org 
[lkml]   [2022]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Question: consult patch
On Fri, Aug 12, 2022 at 11:34:59AM +0800, zhangwensheng (E) wrote:
> Hi Lee :
>     I saw your patch because of CVE-2022-20158, the patch like below:
>
> ---
>     mm: backing-dev: Take a reference to the bdi in use to prevent UAF

I can't see that patch anywhere, and I've not seen an bug report for it.

>     Because of a distinct lack of locking and/or reference taking,
>     blk_cleanup_queue() puts the final taken reference to the bdi, which

.. and blk_cleanup_queue also is gone upstream.

What am I missing?

\
 
 \ /
  Last update: 2022-08-12 07:45    [W:0.090 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site