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] [day] [month] [year] [list]
Message-Id: <175811567232.367585.6804225420415541020.b4-ty@kernel.dk>
Date: Wed, 17 Sep 2025 07:27:52 -0600
From: Jens Axboe <axboe@...nel.dk>
To: yi.zhang@...hat.com, tj@...nel.org, josef@...icpanda.com, 
 hanguangjiang@...iang.com, liangjie@...iang.com, yukuai3@...wei.com, 
 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, 
 johnny.chenyi@...wei.com
Subject: Re: [PATCH v2] blk-throttle: fix throtl_data leak during disk
 release


On Wed, 17 Sep 2025 15:55:39 +0800, Yu Kuai wrote:
> Tightening the throttle activation check in blk_throtl_activated() to
> require both q->td presence and policy bit set introduced a memory leak
> during disk release:
> 
> blkg_destroy_all() clears the policy bit first during queue deactivation,
> causing subsequent blk_throtl_exit() to skip throtl_data cleanup when
> blk_throtl_activated() fails policy check.
> 
> [...]

Applied, thanks!

[1/1] blk-throttle: fix throtl_data leak during disk release
      (no commit info)

Best regards,
-- 
Jens Axboe




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ