Vulnerability details

CVE-2022-50410

Linux Linux

NFSD: Protect against send buffer overflow in NFSv2 READ

CVSS 3.1
9.8Critical

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.

CVSS scores

ScoreVersionSourceVector
7.8High 3.1 CISA ADP / Vulnrichment (CISA-ADP) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
9.8Critical 3.1 CVEProject cvelistV5 (CNA) (Linux) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
Linux Linux 2.6.19 CVEProject cvelistV5 (CNA)
Linux Linux 4452435948424e5322c2a2fefbdc2cf3732cc45d ≤ v < 2007867c5874134f2271eb276398208070049dd3 CVEProject cvelistV5 (CNA)
Linux Linux 4452435948424e5322c2a2fefbdc2cf3732cc45d ≤ v < 2be9331ca6061bc6ea32247266f45b8b21030244 CVEProject cvelistV5 (CNA)
Linux Linux 4452435948424e5322c2a2fefbdc2cf3732cc45d ≤ v < ea4c3eee0fd72fcedaa238556044825639cd3607 CVEProject cvelistV5 (CNA)
Linux Linux 4452435948424e5322c2a2fefbdc2cf3732cc45d ≤ v < 1868332032eccbab8c1878a0d918193058c0a905 CVEProject cvelistV5 (CNA)
Linux Linux 4452435948424e5322c2a2fefbdc2cf3732cc45d ≤ v < 401bc1f90874280a80b93f23be33a0e7e2d1f912 CVEProject cvelistV5 (CNA)

References and advisories

5
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-09-18
Last updated
2026-08-05
State
Published
Assigner (CNA)
Linux

Exploit prediction (EPSS)

0.42%
Probability of exploitation in 30 days
37.3%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-787
    Out-of-bounds Write