Remote kernel memory corruption via stale copy state
Published Sep 15, 2025 · Updated Sep 15, 2025
Use-after-free in Linux kernel NFSD allows remote authenticated users to corrupt kernel memory through NFSv4.2 inter-server COPY. nfsd4_close_open_stateid frees lock states without removing their copy state from sc_cp_list, so the laundromat later dereferences an expired cpntf_state. An NFSv4.2 client with valid export open and lock state can control the CLOSE-before-FREE_STATEID sequence, risking a server crash or kernel memory compromise.
Summary
What happened
Use-after-free in Linux kernel NFSD allows remote authenticated users to corrupt kernel memory through NFSv4.2 inter-server COPY. nfsd4_close_open_stateid frees lock states without removing their copy state from sc_cp_list, so the laundromat later dereferences an expired cpntf_state. An NFSv4.2 client with valid export open and lock state can control the CLOSE-before-FREE_STATEID sequence, risking a server crash or kernel memory compromise.
The record
- CVE
- CVE-2022-50241
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499.004
- Attack vector
- network
- Privileges
- authenticated
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=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <019805fea91599b22dfa62ffb29c022f35abeb06
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <35aa0fb8c3033a3d78603356e96fc18c5b9cceb2
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6ea71246b7a02af675d733e72d14bd0d591d5f4a
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <83b94969751a691347606dbe6b1865efcfa5a643
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <bbacfcde5fff25ac22597e8373a065c647da6738
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