CVE-2025-37836
PCI: Fix reference leak in pci_register_host_bridge()
Check your servers for CVE-2025-37836
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37836 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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]
Exploitation
EPSS 0.32%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 26.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4, before f4db1b2c9ae3d013733c302ee70cac943b7070c0 affected from 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4, before 3297497ad2246eb9243849bfbbc57a0dea97d76e affected from 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4, before b783478e0c53ffb4f04f25fb4e21ef7f482b05df affected from 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4, before bd2a352a0d72575f1842d28c14c10089f0cfe1ae affected from 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4, before 9707d0c932f41006a2701afc926b232b50e356b4 affected from 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4, before bbba4c50a2d2a1d3f3bf31cc4b8280cb492bf2c7 affected from 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4, before f9208aec86226524ec1cb68a09ac70e974ea6536 affected from 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4, before 804443c1f27883926de94c849d91f5b7d7d696e9
Other versions: unaffected
|
| Linux |
affected 4.10 unaffected before 4.10 unaffected from 5.10.237 up to and including 5.10.* unaffected from 5.15.181 up to and including 5.15.* unaffected from 6.1.136 up to and including 6.1.* unaffected from 6.6.89 up to and including 6.6.* unaffected from 6.12.24 up to and including 6.12.* unaffected from 6.13.12 up to and including 6.13.* unaffected from 6.14.3 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37836 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37836
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-37836
trivy image --scanners vuln IMAGE | grep CVE-2025-37836
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f4db1b2c9ae3d013733c302ee70cac943b7070c0 git.kernel.org
- https://git.kernel.org/stable/c/3297497ad2246eb9243849bfbbc57a0dea97d76e git.kernel.org
- https://git.kernel.org/stable/c/b783478e0c53ffb4f04f25fb4e21ef7f482b05df git.kernel.org
- https://git.kernel.org/stable/c/bd2a352a0d72575f1842d28c14c10089f0cfe1ae git.kernel.org
- https://git.kernel.org/stable/c/9707d0c932f41006a2701afc926b232b50e356b4 git.kernel.org
- https://git.kernel.org/stable/c/bbba4c50a2d2a1d3f3bf31cc4b8280cb492bf2c7 git.kernel.org
- https://git.kernel.org/stable/c/f9208aec86226524ec1cb68a09ac70e974ea6536 git.kernel.org
- https://git.kernel.org/stable/c/804443c1f27883926de94c849d91f5b7d7d696e9 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
Source: the record CVE-2025-37836 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse