Re: [PATCH V2] block: fix NULL pointer dereferenced within __blk_rq_map_sg
From: Jens Axboe <axboe@kernel.dk>
Date: 2025-02-17 16:04:40
From: Jens Axboe <axboe@kernel.dk>
Date: 2025-02-17 16:04:40
On Mon, 17 Feb 2025 11:16:26 +0800, Ming Lei wrote:
The block layer internal flush request may not have bio attached, so the request iterator has to be initialized from valid req->bio, otherwise NULL pointer dereferenced is triggered.
Applied, thanks!
[1/1] block: fix NULL pointer dereferenced within __blk_rq_map_sg
commit: dd8b0582e25e36bba483c60338741c0ba5bc426c
Best regards,
--
Jens Axboe