CVE-2025-37836

PCI: Fix reference leak in pci_register_host_bridge()

MEDIUM
5.5
CVSS Score
Published: May 9, 2025 at 06:41 AM UTC
Updated: June 17, 2026 at 09:15 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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/[email protected]]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.10 ≤ v < 5.10.2374.10 ≤ v < 5.15.1814.10 ≤ v < 6.1.1364.10 ≤ v < 6.12.244.10 ≤ v < 6.13.124.10 ≤ v < 6.14.34.10 ≤ v < 6.154.10 ≤ v < 6.6.895.11 ≤ v < 5.15.1815.16 ≤ v < 6.1.1366.13 ≤ v < 6.13.126.14 ≤ v < 6.14.36.2 ≤ v < 6.6.896.7 ≤ v < 6.12.2437d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe44.10
Vendor states this is fixed in 3297497ad2246eb9243849bfbbc57a0dea97d76e (fixed)
Vendor states this is fixed in 804443c1f27883926de94c849d91f5b7d7d696e9 (fixed)
Vendor states this is fixed in 9707d0c932f41006a2701afc926b232b50e356b4 (fixed)
Vendor states this is fixed in b783478e0c53ffb4f04f25fb4e21ef7f482b05df (fixed)
Vendor states this is fixed in bbba4c50a2d2a1d3f3bf31cc4b8280cb492bf2c7 (fixed)
Vendor states this is fixed in bd2a352a0d72575f1842d28c14c10089f0cfe1ae (fixed)
Vendor states this is fixed in f4db1b2c9ae3d013733c302ee70cac943b7070c0 (fixed)
Vendor states this is fixed in f9208aec86226524ec1cb68a09ac70e974ea6536 (fixed)
Vendor states this is fixed in 4.10 (unaffected)
Vendor states this is fixed in 5.10.237 (unaffected)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 6.1.136 (unaffected)
Vendor states this is fixed in 6.12.24 (unaffected)
Vendor states this is fixed in 6.13.12 (unaffected)
Vendor states this is fixed in 6.14.3 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.89 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3297497ad2246eb9243849bfbbc57a0dea97d76e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/804443c1f27883926de94c849d91f5b7d7d696e9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9707d0c932f41006a2701afc926b232b50e356b4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b783478e0c53ffb4f04f25fb4e21ef7f482b05df
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bbba4c50a2d2a1d3f3bf31cc4b8280cb492bf2c7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bd2a352a0d72575f1842d28c14c10089f0cfe1ae
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f4db1b2c9ae3d013733c302ee70cac943b7070c0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f9208aec86226524ec1cb68a09ac70e974ea6536

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card