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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.65% (percentile 46, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2025-09-18T16:03:54.612Z
- **Modified:** 2026-08-05T08:58:39.274Z

## Who should check

- Anyone running Linux \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< 2007867c5874134f2271eb276398208070049dd3; \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< 2be9331ca6061bc6ea32247266f45b8b21030244; \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< ea4c3eee0fd72fcedaa238556044825639cd3607; \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< 1868332032eccbab8c1878a0d918193058c0a905; \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< 401bc1f90874280a80b93f23be33a0e7e2d1f912
- Anyone running Linux 2.6.19

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

## Affected and fixed versions

- Linux: \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< 2007867c5874134f2271eb276398208070049dd3; \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< 2be9331ca6061bc6ea32247266f45b8b21030244; \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< ea4c3eee0fd72fcedaa238556044825639cd3607; \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< 1868332032eccbab8c1878a0d918193058c0a905; \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< 401bc1f90874280a80b93f23be33a0e7e2d1f912 (cvelist)
- Linux: 2.6.19 (cvelist)

## Mitigation

- Upgrade Linux to 401bc1f90874280a80b93f23be33a0e7e2d1f912 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50410. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50410.md
Affected: Linux >= 4452435948424e5322c2a2fefbdc2cf3732cc45d, < 2007867c5874134f2271eb276398208070049dd3; >= 4452435948424e5322c2a2fefbdc2cf3732cc45d, < 2be9331ca6061bc6ea32247266f45b8b21030244; >= 4452435948424e5322c2a2fefbdc2cf3732cc45d, < ea4c3eee0fd72fcedaa238556044825639cd3607; >= 4452435948424e5322c2a2f…
Fixed in: Linux 2007867c5874134f2271eb276398208070049dd3, Linux 2be9331ca6061bc6ea32247266f45b8b21030244, Linux 1868332032eccbab8c1878a0d918193058c0a905, Linux 401bc1f90874280a80b93f23be33a0e7e2d1f912

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50410 being exploited?

There is no confirmed exploitation: CVE-2022-50410 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50410?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2022-50410?

Linux \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< 2007867c5874134f2271eb276398208070049dd3; \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< 2be9331ca6061bc6ea32247266f45b8b21030244; \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< ea4c3eee0fd72fcedaa238556044825639cd3607; \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< 1868332032eccbab8c1878a0d918193058c0a905; \>= 4452435948424e5322c2a2fefbdc2cf3732cc45d, \< 401bc1f90874280a80b93f23be33a0e7e2d1f912; Linux 2.6.19.

### Is there a fix for CVE-2022-50410?

Yes. Fixed in Linux 2007867c5874134f2271eb276398208070049dd3, Linux 2be9331ca6061bc6ea32247266f45b8b21030244, Linux 1868332032eccbab8c1878a0d918193058c0a905, Linux 401bc1f90874280a80b93f23be33a0e7e2d1f912. Upgrade Linux to 401bc1f90874280a80b93f23be33a0e7e2d1f912 or later.

### How do I check if I'm affected by CVE-2022-50410?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50410>

HTML: <https://flawdb.com/CVE-2022-50410> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50410>
