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: <176298170700.2933492.1775430303064106936.b4-ty@oracle.com>
Date: Wed, 12 Nov 2025 21:46:57 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: "James E . J . Bottomley" <James.Bottomley@...senPartnership.com>,
        Haotian Zhang <vulab@...as.ac.cn>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
        linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: stex: fix reboot_notifier leak in probe error path

On Tue, 04 Nov 2025 17:48:47 +0800, Haotian Zhang wrote:

> In stex_probe(), register_reboot_notifier() is called at the beginning,
> but if any subsequent initialization step fails, the function returns
> without unregistering the notifier, resulting in a resource leak.
> 
> Add unregister_reboot_notifier() in the out_disable error path to ensure
> proper cleanup on all failure paths.
> 
> [...]

Applied to 6.19/scsi-queue, thanks!

[1/1] scsi: stex: fix reboot_notifier leak in probe error path
      https://git.kernel.org/mkp/scsi/c/20da637eb545

-- 
Martin K. Petersen

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ