CVE-2022-50410

NFSD: Protect against send buffer overflow in NFSv2 READ

State
Published
Severity
9.8 Critical
Published
Sep 18, 2025
Updated
Aug 5, 2026
Reserved
Sep 17, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 4452435948424e5322c2a2fefbdc2cf3732cc45d to before 2007867c5874134f2271eb276398208070049dd3Affected
  • 4452435948424e5322c2a2fefbdc2cf3732cc45d to before 2be9331ca6061bc6ea32247266f45b8b21030244Affected
  • 4452435948424e5322c2a2fefbdc2cf3732cc45d to before ea4c3eee0fd72fcedaa238556044825639cd3607Affected
  • 4452435948424e5322c2a2fefbdc2cf3732cc45d to before 1868332032eccbab8c1878a0d918193058c0a905Affected
  • 4452435948424e5322c2a2fefbdc2cf3732cc45d to before 401bc1f90874280a80b93f23be33a0e7e2d1f912Affected
LinuxLinux
  • 2.6.19Affected
  • before 2.6.19Not affected
  • 5.10.220 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.