CVE-2022-50235
published critical CVSS 3.1 · 9.8NFSD: Protect against send buffer overflow in NFSv2 READDIR
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9e291a6a28d32545ed2fd959a8165144d1724df1 to < 0e57d696f60dee6117a8ace0cac7c5761d375277 · eabc0aab98e5218ceecd82069b0d6fdfff5ee885 to < dc7f225090c29a5f3b9419b1af32846a201555e7 · 53b1119a6e5028b125f431a0116ba73510d82a72 to < c2a878095b5c6f04f90553a3c45872f990dab14e · 53b1119a6e5028b125f431a0116ba73510d82a72 to < f59c74df82f6ac9d2ea4e01aa3ae7c6c4481652d · 53b1119a6e5028b125f431a0116ba73510d82a72 to < 00b4492686e0497fdb924a9d4c8f6f99377e176c · 5.15.12 to < 5.15.75 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.16 (affected) · 0 to < 5.16 (unaffected · semver) · 5.15.75 through 5.15.* (unaffected · semver) · 5.19.17 through 5.19.* (unaffected · semver) · 6.0.3 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-090 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-425.13.1.el8_7 | RHSA-2023:0832 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The vulnerability is in nfsd's NFSv2 READDIR handler (fs/nfsd/nfsproc.c), reachable over the network via NFS/RPC on TCP/UDP port 2049 from a remote client. AC:L - The attacker fully controls the READDIR count argument and can reliably force multi-page encoding by targeting or populating a directory with enough entries; no conditions beyond attacker control are required. PR:N - NFSv2 commonly accepts AUTH_NULL/AUTH_UNIX with no cryptographic authentication, so an unauthenticated network client that can reach an exported share can invoke READDIR; this matches sibling nfsd send-buffer overflow scoring (CVE-2022-50410). UI:N - Exploitation requires only sending crafted NFS READDIR RPCs; no victim user action is needed. S:U - The overflow corrupts memory in the nfsd/kernel context on the same host; it does not cross a VM, IOMMU, or other security-authority boundary. C:H - Out-of-bounds writes into adjacent svc rq_pages are kernel memory corruption that can be leveraged for arbitrary read primitives and disclosure of kernel memory. I:H - The bug is an attacker-triggered buffer/overflow write past the single reserved dirlist page into adjacent kernel pages, enabling integrity compromise and potential code execution. A:H - Kernel memory corruption from the send-buffer overflow can cause oops/panic or otherwise crash the NFS server kernel, fully impacting availability.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9e291a6a28d32545ed2fd959a8165144d1724df1 to < 0e57d696f60dee6117a8ace0cac7c5761d375277 (affected · git)eabc0aab98e5218ceecd82069b0d6fdfff5ee885 to < dc7f225090c29a5f3b9419b1af32846a201555e7 (affected · git)53b1119a6e5028b125f431a0116ba73510d82a72 to < c2a878095b5c6f04f90553a3c45872f990dab14e (affected · git)53b1119a6e5028b125f431a0116ba73510d82a72 to < f59c74df82f6ac9d2ea4e01aa3ae7c6c4481652d (affected · git)53b1119a6e5028b125f431a0116ba73510d82a72 to < 00b4492686e0497fdb924a9d4c8f6f99377e176c (affected · git)5.15.12 to < 5.15.75 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.16 (affected)0 to < 5.16 (unaffected · semver)5.15.75 through 5.15.* (unaffected · semver)5.19.17 through 5.19.* (unaffected · semver)6.0.3 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/00b4492686e0497fdb924a9d4c8f6f99377e176c
- https://git.kernel.org/stable/c/0e57d696f60dee6117a8ace0cac7c5761d375277
- https://git.kernel.org/stable/c/c2a878095b5c6f04f90553a3c45872f990dab14e
- https://git.kernel.org/stable/c/dc7f225090c29a5f3b9419b1af32846a201555e7
- https://git.kernel.org/stable/c/f59c74df82f6ac9d2ea4e01aa3ae7c6c4481652d
Provider assertions
1Linux · cna
NFSD: Protect against send buffer overflow in NFSv2 READDIR
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cbec7b7c0bfecb14ed723da51d896e7a560469aad9f46ffb4f32f9ea31a0dd1a
- Ingested
- 23 Sep 2026, 08:04:39 UTC
- Source record
- Official CVE record