Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 to < f4db1b2c9ae3d013733c302ee70cac943b7070c0affected
  • 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 to < 3297497ad2246eb9243849bfbbc57a0dea97d76eaffected
  • 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 to < b783478e0c53ffb4f04f25fb4e21ef7f482b05dfaffected
  • 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 to < bd2a352a0d72575f1842d28c14c10089f0cfe1aeaffected
  • 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 to < 9707d0c932f41006a2701afc926b232b50e356b4affected
  • 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 to < bbba4c50a2d2a1d3f3bf31cc4b8280cb492bf2c7affected
  • 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 to < f9208aec86226524ec1cb68a09ac70e974ea6536affected
  • 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 to < 804443c1f27883926de94c849d91f5b7d7d696e9affected

Linux Linux

Default version status: affected

  • 4.10affected
  • 0 to < 4.10unaffected
  • 5.10.237 to ≤ 5.10.*unaffected
  • 5.15.181 to ≤ 5.15.*unaffected
  • 6.1.136 to ≤ 6.1.*unaffected
  • 6.6.89 to ≤ 6.6.*unaffected
  • 6.12.24 to ≤ 6.12.*unaffected
  • 6.13.12 to ≤ 6.13.*unaffected
  • 6.14.3 to ≤ 6.14.*unaffected
  • 6.15 to ≤ *unaffected

References