CVE-2025-37836
PCI: Fix reference leak in pci_register_host_bridge()
Reported by linux · Published May 9, 2025
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]
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools-devel | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel6.12 | Amazon Linux | 6.12.25-32.101.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.140-154.222.amzn2023 |
| python3-perf | Amazon Linux | 6.1.140-154.222.amzn2023 |
| bpftool | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.140-154.222.amzn2023 |
4 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4, 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4, 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4 |
| Linux | Linux | 4.10, 0, 5.10.237 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | perf | 0 |
| linux | linux_kernel | 4.10, 4.10, 4.10 |
| Linux | Linux | 6.15, 6.6.89, 6.12.24 |
| amazon:2023 | kernel-libbpf-static | 0 |
…and 3 more
Timeline
- May 9, 2025 EPSS Score (30 in total, the first dated here)
- May 9, 2025 CVE Published
- Oct 12, 2025 PoC Published (6 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (133 in total, the first dated here)
- Mar 29, 2026 Security Advisory (135 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-37836
vulnetix vdb fixes CVE-2025-37836
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37836/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart