What’s Vulnerable › Vulnerabilities

CVE-2025-37836: PCI: Fix reference leak in pci_register_host_bridge()

Description

In the Linux kernel, the following vulnerability has been resolved: PCI: Fix reference leak in pci_register_host_bridge() If device_register() fails, call put_device() to give up the reference to avoid a memory leak, per the comment at device_register(). Found by code review. [bhelgaas: squash Dan Carpenter's double free fix from https://lore.kernel.org/r/db806a6c-a91b-4e5a-a84b-6b7e01bdac85@stanley.mountain]

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.237, 5.15.181, 6.1.136, 6.12.24. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-37836 or the next vulnerability affects your stack