VDB

CVE-2025-37836

CVE-2025-37836 PUBLISHED

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.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux6.1.140-154.222.amzn2023
kernel-develAmazon Linux6.1.140-154.222.amzn2023
kernelAmazon Linux6.1.140-154.222.amzn2023
kernel6.12Amazon Linux6.12.25-32.101.amzn2023
kernel-libbpf-develAmazon Linux6.1.140-154.222.amzn2023
kernel-libbpfAmazon Linux6.1.140-154.222.amzn2023
kernel-headersAmazon Linux6.1.140-154.222.amzn2023
kernel-modules-extraAmazon Linux6.1.140-154.222.amzn2023
python3-perfAmazon Linux6.1.140-154.222.amzn2023
bpftoolAmazon Linux6.1.140-154.222.amzn2023
kernel-toolsAmazon Linux6.1.140-154.222.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.140-154.222.amzn2023

4 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4, 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4, 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4
LinuxLinux4.10, 0, 5.10.237
amazon:2023kernel-tools-devel0
amazon:2023kernel-devel0
amazon:2023kernel0
amazon:2023kernel6.120
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf0
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra0
amazon:2023python3-perf0
amazon:2023bpftool0
amazon:2023kernel-tools0
amazon:2023kernel-modules-extra-common0
amazon:2023python3-perf6.120
amazon:2023perf6.120
amazon:2023perf0
linuxlinux_kernel4.10, 4.10, 4.10
LinuxLinux6.15, 6.6.89, 6.12.24
amazon:2023kernel-libbpf-static0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›