# CVE-2022-50235: NFSD: Protect against send buffer overflow in NFSv2 READDIR

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 46% of CVEs (2026-11-30)
- Published: 2025-09-15T14:01:41.043Z
- Modified: 2026-08-05T08:57:51.543Z
- Weaknesses: CWE-787
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 9e291a6a28d32545ed2fd959a8165144d1724df1 before 0e57d696f60dee6117a8ace0cac7c5761d375277; from eabc0aab98e5218ceecd82069b0d6fdfff5ee885 before dc7f225090c29a5f3b9419b1af32846a201555e7; from 53b1119a6e5028b125f431a0116ba73510d82a72 before c2a878095b5c6f04f90553a3c45872f990dab14e; from 53b1119a6e5028b125f431a0116ba73510d82a72 before f59c74df82f6ac9d2ea4e01aa3ae7c6c4481652d; from 53b1119a6e5028b125f431a0116ba73510d82a72 before 00b4492686e0497fdb924a9d4c8f6f99377e176c; from 5.15.12 before 5.15.75; 5.16 (not affected: before 5.16; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.15.12 before 5.15.75; from 5.16.1 before 5.19.17; from 6.0 before 6.0.3; 5.16

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/0e57d696f60dee6117a8ace0cac7c5761d375277> (patch)
- <https://git.kernel.org/stable/c/dc7f225090c29a5f3b9419b1af32846a201555e7> (patch)
- <https://git.kernel.org/stable/c/c2a878095b5c6f04f90553a3c45872f990dab14e> (patch)
- <https://git.kernel.org/stable/c/f59c74df82f6ac9d2ea4e01aa3ae7c6c4481652d> (patch)
- <https://git.kernel.org/stable/c/00b4492686e0497fdb924a9d4c8f6f99377e176c> (patch)

## Sources

- CVE List: [CVE-2022-50235](https://www.cve.org/CVERecord?id=CVE-2022-50235), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-50235](https://nvd.nist.gov/vuln/detail/CVE-2022-50235), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-50235 · Whole record: https://cve.day/CVE-2022-50235.json · Rebuilt by cve.day 2026-11-25T22:58:21.123Z
