CVE-2022-50645

EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()

No CVSS score yet EPSS 0.22%

Published 9 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-50645

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50645 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.2% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d4dc89d069aab9074e2493a4c2f3969a0a0b91c1, before e6e295a434d1c917a017980389aec88bf35cc81b
affected from d4dc89d069aab9074e2493a4c2f3969a0a0b91c1, before 2db53c7059167b63cc790366ef1a9e286e71980b
affected from d4dc89d069aab9074e2493a4c2f3969a0a0b91c1, before 3e255dc21031cc1f341584eb99a7f31598bf0be7
affected from d4dc89d069aab9074e2493a4c2f3969a0a0b91c1, before 1adb2583cdbd75f379e3230a43a7412d373d499f
affected from d4dc89d069aab9074e2493a4c2f3969a0a0b91c1, before f29c2f57cdf7a57223dcd9fbaa2261faab5234b2
affected from d4dc89d069aab9074e2493a4c2f3969a0a0b91c1, before 9c8921555907f4d723f01ed2d859b66f2d14f08e
Other versions: unaffected
Linux
affected 5.1
unaffected before 5.1
unaffected from 5.4.229 up to and including 5.4.*
unaffected from 5.10.163 up to and including 5.10.*
unaffected from 5.15.86 up to and including 5.15.*
unaffected from 6.0.16 up to and including 6.0.*
unaffected from 6.1.2 up to and including 6.1.*
unaffected 6.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50645 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50645

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-50645
trivy image --scanners vuln IMAGE | grep CVE-2022-50645

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-50645 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.