CVE-2022-50335
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50335 is a vulnerability discovered in the Linux kernel affecting the 9p filesystem implementation. The issue was disclosed and documented in September 2025. The vulnerability stems from an uninitialized request refcount in the 9p filesystem client code, specifically when handling new requests (NVD).

Technical details

The vulnerability occurs when a new request is allocated but not fully initialized before being added to the identifier (idr). If the p9readwork process receives a response before the refcount is initiated, it will use an uninitialized request, resulting in a corrupted request data structure. The issue manifests in the client code path, particularly during request handling in the net/9p/client.c file (NVD).

Impact

When exploited, this vulnerability can lead to memory corruption at specific memory addresses and potential system instability. The issue affects the kernel's handling of 9p filesystem operations, particularly during request processing and memory management (NVD).

Mitigation and workarounds

The fix involves initializing the refcount to zero before adding it to the identifier (idr). This ensures proper initialization of request structures before they are used in the filesystem operations (NVD).

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