Vulnerability

CVE-2025-37836

mediumCVSS 3.1 5.5Published 9 May 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

From the NVD's configuration data (CPE), vendor first.

  • Debian debian linux
  • Linux linux kernel

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning