CVE-2022-50235
Linux Kernel vulnerability analysis and mitigation

Overview

A buffer overflow vulnerability was identified in the Linux kernel's Network File System daemon (NFSD), specifically in the NFSv2 READDIR functionality. The vulnerability (CVE-2022-50235) was disclosed and documented in September 2025. The issue affects the Linux kernel's NFS server implementation and requires restoring previous limits on the @count argument to prevent potential buffer overflow attacks (NVD).

Technical details

The vulnerability exists in the NFSD component of the Linux kernel, specifically affecting the NFSv2 READDIR operation. The security flaw occurs due to improper bounds checking on the @count argument, which could lead to a buffer overflow condition. The issue was addressed by restoring the previous limit on the @count argument to prevent potential overflow scenarios (NVD).

Impact

The vulnerability could potentially allow an attacker to cause a buffer overflow in the NFSv2 READDIR functionality. This could lead to system instability or potential code execution in the context of the kernel. The issue affects systems running the Linux kernel with NFS server functionality enabled (NVD).

Mitigation and workarounds

The vulnerability has been fixed in various Linux distributions. Ubuntu has released patches for affected versions, with Ubuntu 22.04 LTS (jammy) receiving the fix in version 5.15.0-56.62. Similar fixes have been applied to other versions including Ubuntu 20.04 LTS focal in version 5.15.0-56.62~20.04.1 (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-40258HIGH7
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel-matched
NoNoDec 04, 2025
CVE-2025-40259MEDIUM6.2
  • Linux KernelLinux Kernel
  • kernel-64k-devel
NoNoDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoNoDec 04, 2025
CVE-2025-40254MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-modules-partner
NoNoDec 04, 2025
CVE-2025-40253MEDIUM5.5
  • Linux KernelLinux Kernel
  • python3-perf
NoNoDec 04, 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