{"id":"CVE-2022-50645","state":"PUBLISHED","title":"EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()","description":"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.","publishedAt":"2025-12-09T00:00:19.652Z","updatedAt":"2026-05-11T19:22:51.285Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1","status":"affected","lessThan":"e6e295a434d1c917a017980389aec88bf35cc81b","versionType":"git"},{"version":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1","status":"affected","lessThan":"2db53c7059167b63cc790366ef1a9e286e71980b","versionType":"git"},{"version":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1","status":"affected","lessThan":"3e255dc21031cc1f341584eb99a7f31598bf0be7","versionType":"git"},{"version":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1","status":"affected","lessThan":"1adb2583cdbd75f379e3230a43a7412d373d499f","versionType":"git"},{"version":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1","status":"affected","lessThan":"f29c2f57cdf7a57223dcd9fbaa2261faab5234b2","versionType":"git"},{"version":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1","status":"affected","lessThan":"9c8921555907f4d723f01ed2d859b66f2d14f08e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/edac/i10nm_base.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.1","versionType":"semver"},{"version":"5.4.229","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.163","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.86","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.16","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1.2","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/edac/i10nm_base.c"]}],"references":["https://git.kernel.org/stable/c/e6e295a434d1c917a017980389aec88bf35cc81b","https://git.kernel.org/stable/c/2db53c7059167b63cc790366ef1a9e286e71980b","https://git.kernel.org/stable/c/3e255dc21031cc1f341584eb99a7f31598bf0be7","https://git.kernel.org/stable/c/1adb2583cdbd75f379e3230a43a7412d373d499f","https://git.kernel.org/stable/c/f29c2f57cdf7a57223dcd9fbaa2261faab5234b2","https://git.kernel.org/stable/c/9c8921555907f4d723f01ed2d859b66f2d14f08e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50645.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50645","state":"PUBLISHED","datePublished":"2025-12-09T00:00:19.652Z","dateUpdated":"2026-05-11T19:22:51.285Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-08T23:57:43.371Z"},"containers":{"cna":{"title":"EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1","status":"affected","lessThan":"e6e295a434d1c917a017980389aec88bf35cc81b","versionType":"git"},{"version":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1","status":"affected","lessThan":"2db53c7059167b63cc790366ef1a9e286e71980b","versionType":"git"},{"version":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1","status":"affected","lessThan":"3e255dc21031cc1f341584eb99a7f31598bf0be7","versionType":"git"},{"version":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1","status":"affected","lessThan":"1adb2583cdbd75f379e3230a43a7412d373d499f","versionType":"git"},{"version":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1","status":"affected","lessThan":"f29c2f57cdf7a57223dcd9fbaa2261faab5234b2","versionType":"git"},{"version":"d4dc89d069aab9074e2493a4c2f3969a0a0b91c1","status":"affected","lessThan":"9c8921555907f4d723f01ed2d859b66f2d14f08e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/edac/i10nm_base.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.1","versionType":"semver"},{"version":"5.4.229","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.163","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.86","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.16","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1.2","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/edac/i10nm_base.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e6e295a434d1c917a017980389aec88bf35cc81b"},{"url":"https://git.kernel.org/stable/c/2db53c7059167b63cc790366ef1a9e286e71980b"},{"url":"https://git.kernel.org/stable/c/3e255dc21031cc1f341584eb99a7f31598bf0be7"},{"url":"https://git.kernel.org/stable/c/1adb2583cdbd75f379e3230a43a7412d373d499f"},{"url":"https://git.kernel.org/stable/c/f29c2f57cdf7a57223dcd9fbaa2261faab5234b2"},{"url":"https://git.kernel.org/stable/c/9c8921555907f4d723f01ed2d859b66f2d14f08e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:22:51.285Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"5.4.229"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"5.10.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"5.15.86"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.0.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.1.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}