CVE-2022-50410: NFSD: Protect against send buffer overflow in NFSv2 READ
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, svcprocess() updates svcrqst::rqres to describe the part of rqpages that can be used for constructing the Reply. This means that the send buffer (rqres) 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2022-50410?
CVE-2022-50410 has been classified as a medium-severity vulnerability in the Linux kernel.
How do I fix CVE-2022-50410?
To fix CVE-2022-50410, update your Linux kernel to the latest version that includes the patch for this vulnerability.
What specifically does CVE-2022-50410 affect?
CVE-2022-50410 affects the NFSv2 (Network File System version 2) implementation in the Linux kernel.
Can CVE-2022-50410 lead to data loss or corruption?
Yes, CVE-2022-50410 can potentially lead to data loss or corruption due to send buffer overflow issues.
Is CVE-2022-50410 a remote exploitation vulnerability?
Yes, CVE-2022-50410 can be exploited remotely under certain conditions due to its nature in the NFS implementation.