CVE-2022-50645
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50645 is a reference count (refcount) leak vulnerability in the Linux kernel's EDAC/i10nm subsystem, specifically within the pci_get_dev_wrapper() function. The bug arises because pci_get_domain_bus_and_slot() already returns a PCI device with an incremented reference count, but the code incorrectly calls an additional pci_dev_get(), and fails to release the device reference in the error path. The vulnerability affects Linux kernel versions from the introduction of the flawed code (commit d4dc89d069aa) up to the patched stable releases. It was published on December 9, 2025, and is estimated as Medium severity with an EPSS score of 0.000240 (Feedly, CIRCL).

Technical details

The root cause is a reference counting error (CWE-911: Improper Update of Reference Count) in the pci_get_dev_wrapper() function within drivers/edac/i10nm_base.c. When pci_get_domain_bus_and_slot() is called, it returns a PCI device struct with its reference count already incremented; the code then redundantly calls pci_dev_get() on the same device, over-incrementing the refcount. Additionally, in the error path, the PCI device is not released via pci_dev_put(), causing a resource leak. The fix removes the extraneous pci_dev_get() call and adds the necessary pci_dev_put() in the error path, as reflected in multiple stable-branch patches (Kernel Git, Feedly).

Impact

The primary consequence of this vulnerability is a kernel resource leak: PCI device reference counts are not properly decremented, which can prevent proper device cleanup and potentially lead to memory exhaustion or system instability over time. In practice, this is a local kernel-level issue affecting availability (system stability) rather than confidentiality or integrity. The impact is limited to systems using Intel i10nm EDAC (Error Detection and Correction) hardware, and exploitation would require local access or the ability to trigger the affected code path repeatedly (Feedly, CIRCL).

Exploitability

There is no known public exploit code, active in-the-wild exploitation, or threat actor attribution associated with CVE-2022-50645. The EPSS score is very low at 0.000240, indicating a minimal probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. It is detectable via Nessus plugin 278039 (Tenable, Feedly).

Mitigation and workarounds

The vulnerability is fixed in the following Linux stable kernel versions: 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, and 6.2. Administrators should update to one of these patched versions or apply the relevant stable-branch commits. The specific fix commits are available in the Linux stable kernel repository (Kernel Git, Kernel Git, Kernel Git). No configuration-based workaround is available; patching is the recommended remediation.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68427MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra
NoYesAug 10, 2026
CVE-2026-68426MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-igx
NoYesAug 10, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 12, 2026
CVE-2026-68430NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-partner
NoYesAug 12, 2026
CVE-2026-68428NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-ibm-6.8
NoYesAug 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management