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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176604193414.795334.4365952101287468707.b4-ty@kernel.org>
Date: Thu, 18 Dec 2025 12:42:14 +0530
From: Manivannan Sadhasivam <manivannan.sadhasivam@....qualcomm.com>
To: jdmason@...zu.us, dave.jiang@...el.com, allenbh@...il.com,
        kwilczynski@...nel.org, kishon@...nel.org, bhelgaas@...gle.com,
        Haotian Zhang <vulab@...as.ac.cn>
Cc: ntb@...ts.linux.dev, linux-pci@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pci: endpoint: Add missing NULL check for
 alloc_workqueue()


On Mon, 10 Nov 2025 12:04:46 +0800, Haotian Zhang wrote:
> The alloc_workqueue() function can return NULL on memory allocation
> failure. Without proper error checking, this leads to a NULL pointer
> dereference when queue_work() is later called with the NULL workqueue
> pointer in epf_ntb_epc_init().
> 
> Add a NULL check immediately after alloc_workqueue() and return -ENOMEM
> on failure to prevent the driver from loading with an invalid workqueue
> pointer.
> 
> [...]

Applied, thanks!

[1/1] pci: endpoint: Add missing NULL check for alloc_workqueue()
      commit: 0a19a6d9ed65ef7df845c32befa994e45620c12d

Best regards,
-- 
Manivannan Sadhasivam <mani@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ