Re: [PATCH for-6.12 0/4] block, bfq: fix corner cases related to bfqq merging

From: Jens Axboe
Date: Tue Sep 03 2024 - 11:56:52 EST



On Mon, 02 Sep 2024 21:03:25 +0800, Yu Kuai wrote:
> Our syzkaller report a UAF problem(details in patch 1), however it can't
> be reporduced. And this set are some corner cases fix that might be
> related, and they are found by code review.
>
> Yu Kuai (4):
> block, bfq: fix possible UAF for bfqq->bic with merge chain
> block, bfq: choose the last bfqq from merge chain in
> bfq_setup_cooperator()
> block, bfq: don't break merge chain in bfq_split_bfqq()
> block, bfq: use bfq_reassign_last_bfqq() in bfq_bfqq_move()
>
> [...]

Applied, thanks!

[1/4] block, bfq: fix possible UAF for bfqq->bic with merge chain
commit: 18ad4df091dd5d067d2faa8fce1180b79f7041a7
[2/4] block, bfq: choose the last bfqq from merge chain in bfq_setup_cooperator()
commit: 0e456dba86c7f9a19792204a044835f1ca2c8dbb
[3/4] block, bfq: don't break merge chain in bfq_split_bfqq()
commit: 42c306ed723321af4003b2a41bb73728cab54f85
[4/4] block, bfq: use bfq_reassign_last_bfqq() in bfq_bfqq_move()
commit: f45916ae60eb60e7c9c3ac60cf07e66fe1a7faad

Best regards,
--
Jens Axboe