# CVE-2022-50410: NFSD: Protect against send buffer overflow in NFSv2 READ

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2025-09-18T16:03:54.612Z
- Modified: 2026-08-05T08:58:39.274Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4452435948424e5322c2a2fefbdc2cf3732cc45d before 2007867c5874134f2271eb276398208070049dd3; from 4452435948424e5322c2a2fefbdc2cf3732cc45d before 2be9331ca6061bc6ea32247266f45b8b21030244; from 4452435948424e5322c2a2fefbdc2cf3732cc45d before ea4c3eee0fd72fcedaa238556044825639cd3607; from 4452435948424e5322c2a2fefbdc2cf3732cc45d before 1868332032eccbab8c1878a0d918193058c0a905; from 4452435948424e5322c2a2fefbdc2cf3732cc45d before 401bc1f90874280a80b93f23be33a0e7e2d1f912; 2.6.19 (not affected: before 2.6.19; from 5.10.220 up to 5.10.*; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: before 5.10.220; from 5.11 before 5.15.75; from 5.16 before 5.19.17; from 6.0 before 6.0.3

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/2007867c5874134f2271eb276398208070049dd3> (patch)
- <https://git.kernel.org/stable/c/2be9331ca6061bc6ea32247266f45b8b21030244> (patch)
- <https://git.kernel.org/stable/c/ea4c3eee0fd72fcedaa238556044825639cd3607> (patch)
- <https://git.kernel.org/stable/c/1868332032eccbab8c1878a0d918193058c0a905> (patch)
- <https://git.kernel.org/stable/c/401bc1f90874280a80b93f23be33a0e7e2d1f912> (patch)

## Sources

- CVE List: [CVE-2022-50410](https://www.cve.org/CVERecord?id=CVE-2022-50410), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-50410](https://nvd.nist.gov/vuln/detail/CVE-2022-50410), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-50410 · Whole record: https://cve.day/CVE-2022-50410.json · Rebuilt by cve.day 2026-11-25T22:58:21.206Z
