CVE-2022-50235 NFSD: Protect against send buffer overflow in NFSv2 READDIR
A buffer overflow in the Linux kernel's NFSv2 READDIR handler allows attackers to cause denial of service or potentially execute code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50235?
CVE-2022-50235 is a critical memory corruption vulnerability in Linux kernel, published on 15 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Protect against send buffer overflow in NFSv2 READDIR
Restore the previous limit on the @count argument to prevent a buffer overflow attack.
Weakness: CWE-787
Which versions are affected by CVE-2022-50235?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50235?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-50235 being exploited?
There is no known exploitation of CVE-2022-50235 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50235, GHSA-m9fv-443w-2xhw, UBUNTU-CVE-2022-50235.