lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <175861299450.153465.2022974135907413149.b4-ty@kernel.dk>
Date: Tue, 23 Sep 2025 01:36:34 -0600
From: Jens Axboe <axboe@...nel.dk>
To: martin.petersen@...cle.com, hare@...e.de, ming.lei@...hat.com, 
 Yu Kuai <yukuai1@...weicloud.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org, 
 yukuai3@...wei.com, yi.zhang@...wei.com, yangerkun@...wei.com, 
 johnny.chenyi@...wei.com
Subject: Re: [PATCH] blk-mq: fix null-ptr-deref in blk_mq_free_tags() from
 error path


On Tue, 23 Sep 2025 15:01:01 +0800, Yu Kuai wrote:
> blk_mq_free_tags() can be called after blk_mq_init_tags(), while
> tags->page_list is still not initialized, causing null-ptr-deref.
> 
> Fix this problem by initializing tags->page_list at blk_mq_init_tags(),
> meanwhile, also free tags directly from error path because there is no
> srcu barrier.
> 
> [...]

Applied, thanks!

[1/1] blk-mq: fix null-ptr-deref in blk_mq_free_tags() from error path
      commit: 670bfe683850cb29957a9d71f997e9774eb24de6

Best regards,
-- 
Jens Axboe




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ