CVE-2022-50500
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50500 is a memory leak vulnerability discovered in the Linux kernel's netdevsim driver. The issue occurs in the nsimdrvprobe() function when nsimdevresources_register() fails, leading to previously registered devlink resources not being properly unregistered (RedHat).

Technical details

The vulnerability manifests as a memory leak in the netdevsim driver when nsimdevresources_register() fails partially through its execution. The issue involves an unreferenced object of size 128 bytes, identified at address 0xffff888074c02600. The vulnerability has been assigned a CVSS 3.1 base score of 4.4 (Low) with a vector string of CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H (RedHat).

Impact

The vulnerability affects system availability by causing memory leaks. Since this is a local, privileged issue that requires root access to create/bind netdevsim via sysfs/devlink, the impact is limited to resource exhaustion through memory leaks (RedHat).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that properly handles resource cleanup when nsimdevresources_register() fails. Various Linux distributions have incorporated this fix into their kernel updates (Ubuntu).

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-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoYesDec 09, 2025

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