[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167828613700.180504.7849236814026719917.b4-ty@kernel.dk>
Date: Wed, 08 Mar 2023 07:35:37 -0700
From: Jens Axboe <axboe@...nel.dk>
To: jack@...e.cz, shinichiro.kawasaki@....com,
paolo.valente@...aro.org, glusvardi@...teo.net,
damien.lemoal@...nsource.wdc.com, felicigb@...il.com,
inbox@...lianomaccaferri.com, Yu Kuai <yukuai1@...weicloud.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
yukuai3@...wei.com, yi.zhang@...wei.com, yangerkun@...wei.com
Subject: Re: [PATCH] block, bfq: fix uaf for 'stable_merge_bfqq'
On Wed, 08 Mar 2023 10:32:08 +0800, Yu Kuai wrote:
> Before commit fd571df0ac5b ("block, bfq: turn bfqq_data into an array
> in bfq_io_cq"), process reference is read before bfq_put_stable_ref(),
> and it's safe if bfq_put_stable_ref() put the last reference, because
> process reference will be 0 and 'stable_merge_bfqq' won't be accessed
> in this case. However, the commit changed the order and will cause
> uaf for 'stable_merge_bfqq'.
>
> [...]
Applied, thanks!
[1/1] block, bfq: fix uaf for 'stable_merge_bfqq'
commit: e2f2a39452c43b64ea3191642a2661cb8d03827a
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists