{"id":"CVE-2022-50645","summary":"EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()\n\nAs the comment of pci_get_domain_bus_and_slot() says, it returns\na PCI device with refcount incremented, so it doesn't need to\ncall an extra pci_dev_get() in pci_get_dev_wrapper(), and the PCI\ndevice needs to be put in the error path.","modified":"2026-04-02T08:28:40.625234Z","published":"2025-12-09T00:00:19.652Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50645.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1adb2583cdbd75f379e3230a43a7412d373d499f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2db53c7059167b63cc790366ef1a9e286e71980b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3e255dc21031cc1f341584eb99a7f31598bf0be7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c8921555907f4d723f01ed2d859b66f2d14f08e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6e295a434d1c917a017980389aec88bf35cc81b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f29c2f57cdf7a57223dcd9fbaa2261faab5234b2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50645.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50645"},{"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":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1"},{"fixed":"e6e295a434d1c917a017980389aec88bf35cc81b"},{"fixed":"2db53c7059167b63cc790366ef1a9e286e71980b"},{"fixed":"3e255dc21031cc1f341584eb99a7f31598bf0be7"},{"fixed":"1adb2583cdbd75f379e3230a43a7412d373d499f"},{"fixed":"f29c2f57cdf7a57223dcd9fbaa2261faab5234b2"},{"fixed":"9c8921555907f4d723f01ed2d859b66f2d14f08e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50645.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"5.4.229"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50645.json"}}],"schema_version":"1.7.5"}