PCI: Fix reference leak in pci_register_host_bridge()
Summary
| CVE | CVE-2025-37836 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-05-09 07:16:04 UTC |
| Updated | 2026-11-05 21:17:54 UTC |
| 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]] |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: NVD-CWE-Other
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 f4db1b2c9ae3d013733c302ee70cac943b7070c0 git | Not specified |
| CNA | Linux | Linux | affected 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 3297497ad2246eb9243849bfbbc57a0dea97d76e git | Not specified |
| CNA | Linux | Linux | affected 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 b783478e0c53ffb4f04f25fb4e21ef7f482b05df git | Not specified |
| CNA | Linux | Linux | affected 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 bd2a352a0d72575f1842d28c14c10089f0cfe1ae git | Not specified |
| CNA | Linux | Linux | affected 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 9707d0c932f41006a2701afc926b232b50e356b4 git | Not specified |
| CNA | Linux | Linux | affected 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 bbba4c50a2d2a1d3f3bf31cc4b8280cb492bf2c7 git | Not specified |
| CNA | Linux | Linux | affected 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 f9208aec86226524ec1cb68a09ac70e974ea6536 git | Not specified |
| CNA | Linux | Linux | affected 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 804443c1f27883926de94c849d91f5b7d7d696e9 git | Not specified |
| CNA | Linux | Linux | affected 4.10 | Not specified |
| CNA | Linux | Linux | unaffected 4.10 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.237 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.181 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.136 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.89 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.24 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.13.12 6.13.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.14.3 6.14.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.15 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2025/05/msg00030.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| git.kernel.org/stable/c/bbba4c50a2d2a1d3f3bf31cc4b8280cb492bf2c7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/f4db1b2c9ae3d013733c302ee70cac943b7070c0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/3297497ad2246eb9243849bfbbc57a0dea97d76e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/bd2a352a0d72575f1842d28c14c10089f0cfe1ae | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/b783478e0c53ffb4f04f25fb4e21ef7f482b05df | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/804443c1f27883926de94c849d91f5b7d7d696e9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/05/msg00045.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| git.kernel.org/stable/c/f9208aec86226524ec1cb68a09ac70e974ea6536 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/9707d0c932f41006a2701afc926b232b50e356b4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.