CVE Database›Document archive›CVE-2022-50235

CVE-2022-50235

kernel: NFSD: Protect against send buffer overflow in NFSv2 READDIR

Loading…

Severity

Moderate

Red Hat Product Security

5.8

CVSS 3.1

Review impact separately from score.

Published · September 15, 2025

Updated · October 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

NFSD: Protect against send buffer overflow in NFSv2 READDIR

Restore the previous limit on the @count argument to prevent a buffer overflow attack.

Statement

This vulnerability is rated with a Moderate severity rather than Important because exploitation requires the system to actively run a kernel NFS server with the legacy NFSv2 protocol enabled, which is not active by default in standard Red Hat Enterprise Linux deployments. The flaw exists in the NFS server's handling of NFSv2 directory read operations where an unbounded count parameter can cause a buffer overflow. Systems that do not export NFS shares or that operate exclusively with modern NFS versions are not exposed.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H

CWE-805 · Buffer Access with Incorrect Length Value