Messages in this thread |  | | From | Jens Axboe <> | Subject | Re: [PATCH v2 block-6.2] block, bfq: fix uaf for bfqq in bic_set_bfqq() | Date | Sun, 29 Jan 2023 20:04:15 -0700 |
| |
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
|  |