# CVE-2022-50645: EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-12-09T00:00:19.652Z
- Modified: 2026-11-10T12:10:00.177Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()

As the comment of pci_get_domain_bus_and_slot() says, it returns
a PCI device with refcount incremented, so it doesn't need to
call an extra pci_dev_get() in pci_get_dev_wrapper(), and the PCI
device needs to be put in the error path.

(As written by CVE List.)

## Affected

- Linux Linux: from d4dc89d069aab9074e2493a4c2f3969a0a0b91c1 before e6e295a434d1c917a017980389aec88bf35cc81b; from d4dc89d069aab9074e2493a4c2f3969a0a0b91c1 before 2db53c7059167b63cc790366ef1a9e286e71980b; from d4dc89d069aab9074e2493a4c2f3969a0a0b91c1 before 3e255dc21031cc1f341584eb99a7f31598bf0be7; from d4dc89d069aab9074e2493a4c2f3969a0a0b91c1 before 1adb2583cdbd75f379e3230a43a7412d373d499f; from d4dc89d069aab9074e2493a4c2f3969a0a0b91c1 before f29c2f57cdf7a57223dcd9fbaa2261faab5234b2; from d4dc89d069aab9074e2493a4c2f3969a0a0b91c1 before 9c8921555907f4d723f01ed2d859b66f2d14f08e; 5.1 (not affected: before 5.1; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)

## 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>

## Sources

- CVE List: [CVE-2022-50645](https://www.cve.org/CVERecord?id=CVE-2022-50645), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50645](https://nvd.nist.gov/vuln/detail/CVE-2022-50645), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-50645 · Whole record: https://cve.day/CVE-2022-50645.json · Rebuilt by cve.day 2026-11-25T22:58:21.301Z
