CVE-2022-50772
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50772 is a memory leak vulnerability in the Linux kernel's netdevsim subsystem, specifically within the nsim_bus_dev_new() function. When device_register() fails, the kobject name (obj->name) allocated during dev_set_name() is not properly released, resulting in a kernel memory leak. The vulnerability was publicly disclosed on December 24, 2025, and affects Linux kernel versions prior to the patches applied in stable branches 6.0.7 and 6.1. It carries a CVSS v3.1 base score of 7.0 (High) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is a missing cleanup path in the nsim_bus_dev_new() function of the Linux kernel's netdevsim driver (CWE-401: Missing Release of Memory after Effective Lifetime). When device_register() fails, the reference count on nsim_bus_dev->dev is set to 1 but the kobject name string allocated via kvasprintf during dev_set_name() is never freed. The leak is triggered via the sysfs interface — specifically by writing to the new_device bus attribute — which calls new_device_store()device_add()dev_set_name(), leaving a 16-byte allocation unreferenced in kernel memory. Exploitation requires local access with low privileges and high attack complexity (Red Hat Bugzilla, Red Hat Advisory).

Impact

Successful exploitation of this vulnerability results in a kernel memory leak, which can degrade system availability over time by exhausting kernel memory resources — classified as a Denial of Service (DoS) condition. The CVSS scoring also reflects potential high confidentiality and integrity impacts (score 7.0), though the primary practical impact is memory exhaustion leading to system instability or crash. The vulnerability is locally exploitable and does not directly enable remote code execution or lateral movement (Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability is patched in Linux kernel stable branches via commits 77579e4065295071fbd9662f03430dca5b50b086 (for the 6.0.x series, fixed in 6.0.7) and cf2010aa1c739bab067cbc90b690d28eaa0b47da (for the 6.1 series). Users should update to Linux kernel version 6.0.7, 6.1, or later. As a workaround, restricting unprivileged access to the netdevsim sysfs interface (e.g., via appropriate permissions or disabling the netdevsim module if not required) can reduce exposure (Red Hat Bugzilla, Red Hat Advisory).

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-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 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