{"id":"CVE-2025-37836","summary":"PCI: Fix reference leak in pci_register_host_bridge()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: Fix reference leak in pci_register_host_bridge()\n\nIf device_register() fails, call put_device() to give up the reference to\navoid a memory leak, per the comment at device_register().\n\nFound by code review.\n\n[bhelgaas: squash Dan Carpenter's double free fix from\nhttps://lore.kernel.org/r/db806a6c-a91b-4e5a-a84b-6b7e01bdac85@stanley.mountain]","modified":"2026-03-20T12:42:30.166242Z","published":"2025-05-09T06:41:47.341Z","related":["MGASA-2025-0182","MGASA-2025-0183","SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02334-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37836.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3297497ad2246eb9243849bfbbc57a0dea97d76e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/804443c1f27883926de94c849d91f5b7d7d696e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9707d0c932f41006a2701afc926b232b50e356b4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b783478e0c53ffb4f04f25fb4e21ef7f482b05df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bbba4c50a2d2a1d3f3bf31cc4b8280cb492bf2c7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd2a352a0d72575f1842d28c14c10089f0cfe1ae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f4db1b2c9ae3d013733c302ee70cac943b7070c0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9208aec86226524ec1cb68a09ac70e974ea6536"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37836.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37836"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4"},{"fixed":"f4db1b2c9ae3d013733c302ee70cac943b7070c0"},{"fixed":"3297497ad2246eb9243849bfbbc57a0dea97d76e"},{"fixed":"b783478e0c53ffb4f04f25fb4e21ef7f482b05df"},{"fixed":"bd2a352a0d72575f1842d28c14c10089f0cfe1ae"},{"fixed":"9707d0c932f41006a2701afc926b232b50e356b4"},{"fixed":"bbba4c50a2d2a1d3f3bf31cc4b8280cb492bf2c7"},{"fixed":"f9208aec86226524ec1cb68a09ac70e974ea6536"},{"fixed":"804443c1f27883926de94c849d91f5b7d7d696e9"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37836.json"}}],"schema_version":"1.7.5"}