PCI: Fix reference leak in pci_register_host_bridge()

Summary

CVECVE-2025-37836
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-05-09 07:16:04 UTC
Updated2026-11-05 21:17:54 UTC
DescriptionIn 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
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report