Remote kernel memory corruption via oversized READDIR count
Published Sep 15, 2025 · Updated Sep 15, 2025
Out-of-bounds write in Linux kernel NFSD allows remote attackers to corrupt kernel memory via a crafted NFSv2 READDIR request. nfsd_init_dirlist_pages accepts the request count up to the transport payload while reserving one response page, causing XDR encoding to write into adjacent rq_pages. Network access to an NFSv2 export is sufficient; the corruption enables kernel-memory disclosure, kernel-state modification, code execution, or a host crash.
Summary
What happened
Out-of-bounds write in Linux kernel NFSD allows remote attackers to corrupt kernel memory via a crafted NFSv2 READDIR request. nfsd_init_dirlist_pages accepts the request count up to the transport payload while reserving one response page, causing XDR encoding to write into adjacent rq_pages. Network access to an NFSv2 export is sufficient; the corruption enables kernel-memory disclosure, kernel-state modification, code execution, or a host crash.
The record
- CVE
- CVE-2022-50235
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.16
- Affected versionversion=53b1119a6e5028b125f431a0116ba73510d82a72 <00b4492686e0497fdb924a9d4c8f6f99377e176c
- Affected versionversion=53b1119a6e5028b125f431a0116ba73510d82a72 <c2a878095b5c6f04f90553a3c45872f990dab14e
- Affected versionversion=53b1119a6e5028b125f431a0116ba73510d82a72 <f59c74df82f6ac9d2ea4e01aa3ae7c6c4481652d
- Affected versionversion=9e291a6a28d32545ed2fd959a8165144d1724df1 <0e57d696f60dee6117a8ace0cac7c5761d375277
- Affected versionversion=eabc0aab98e5218ceecd82069b0d6fdfff5ee885 <dc7f225090c29a5f3b9419b1af32846a201555e7
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo