CVE-2022-50410 NFSD: Protect against send buffer overflow in NFSv2 READ
A remote attacker can cause a buffer overflow in the Linux kernel NFSD module via a large NFSv2 READ request, potentially leading to denial of service or code execution.
- 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-50410?
CVE-2022-50410 is a critical memory corruption vulnerability in Linux kernel, published on 18 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 READ
Since before the git era, NFSD has conserved the number of pages held by each nfsd thread by combining the RPC receive and send buffers into a single array of pages. This works because there are no cases where an operation needs a large RPC Call message and a large RPC Reply at the same time.
Once an RPC Call has been received, svc_process() updates svc_rqst::rq_res to describe the part of rq_pages that can be used for constructing the Reply. This means that the send buffer (rq_res) shrinks when the received RPC record containing the RPC Call is large.
A client can force this shrinkage on TCP by sending a correctly- formed RPC Call header contained in an RPC record that is excessively large. The full maximum payload size cannot be constructed in that case.
Weakness: CWE-787
Which versions are affected by CVE-2022-50410?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50410?
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-50410 being exploited?
There is no known exploitation of CVE-2022-50410 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50410, GHSA-fcpw-f2ff-x55p, UBUNTU-CVE-2022-50410.