Back

HIGH

kernel: nfsd buffer overflow by RPC message over TCP with garbage data

Published Nov 4, 2022

Description

The Linux kernel NFSD implementation prior to versions 5.19.17 and 6.0.2 are vulnerable to buffer overflow. NFSD tracks the number of pages held by each NFSD thread by combining the receive and send buffers of a remote procedure call (RPC) into a single array of pages. A client can force the send buffer to shrink by sending an RPC message over TCP with garbage data added at the end of the message. The RPC message with garbage data is still correctly formed according to the specification and is passed forward to handlers. Vulnerable code in NFSD is not expecting the oversized request and writes beyond the allocated buffer space. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

Remediation

Red Hat statement

Affected versions of the Red Hat Enterprise Linux are 8.7 and higher, because starting from the 8.7 the affected source code introduced with the errata RHSA-2022:7683.

Metrics

References (8)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner SNPS
Published Nov 4, 2022
Updated May 12, 2026
Reserved Oct 26, 2022
CISA Vulnrichment
Updated May 1, 2025
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Important
Public date Oct 3, 2022