[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175734151062.534076.10128778772498989432.b4-ty@kernel.dk>
Date: Mon, 08 Sep 2025 08:25:10 -0600
From: Jens Axboe <axboe@...nel.dk>
To: yukuai1@...weicloud.com, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, Han Guangjiang <gj.han@...mail.com>
Cc: hanguangjiang@...iang.com, fanggeng@...iang.com, yangchen11@...iang.com,
liangjie@...iang.com
Subject: Re: [PATCH v3] blk-throttle: fix access race during throttle
policy activation
On Fri, 05 Sep 2025 18:24:11 +0800, Han Guangjiang wrote:
> On repeated cold boots we occasionally hit a NULL pointer crash in
> blk_should_throtl() when throttling is consulted before the throttle
> policy is fully enabled for the queue. Checking only q->td != NULL is
> insufficient during early initialization, so blkg_to_pd() for the
> throttle policy can still return NULL and blkg_to_tg() becomes NULL,
> which later gets dereferenced.
>
> [...]
Applied, thanks!
[1/1] blk-throttle: fix access race during throttle policy activation
commit: bd9fd5be6bc0836820500f68fff144609fbd85a9
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists