[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167504785585.199828.6199773692964530920.b4-ty@kernel.dk>
Date: Sun, 29 Jan 2023 20:04:15 -0700
From: Jens Axboe <axboe@...nel.dk>
To: tj@...nel.org, josef@...icpanda.com, paolo.valente@...aro.org,
yukuai3@...wei.com, jack@...e.cz, Yu Kuai <yukuai1@...weicloud.com>
Cc: cgroups@...r.kernel.org, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, yi.zhang@...wei.com,
yangerkun@...wei.com
Subject: Re: [PATCH v2 block-6.2] block, bfq: fix uaf for bfqq in
bic_set_bfqq()
On Mon, 30 Jan 2023 09:41:36 +0800, Yu Kuai wrote:
> After commit 64dc8c732f5c ("block, bfq: fix possible uaf for 'bfqq->bic'"),
> bic->bfqq will be accessed in bic_set_bfqq(), however, in some context
> bic->bfqq will be freed, and bic_set_bfqq() is called with the freed
> bic->bfqq.
>
> Fix the problem by always freeing bfqq after bic_set_bfqq().
>
> [...]
Applied, thanks!
[1/1] block, bfq: fix uaf for bfqq in bic_set_bfqq()
(no commit info)
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists