Kernel memory corruption via callback transport double-release
Published Sep 18, 2025 · Updated Sep 18, 2025
Double-free in the NFSv4.1 callback path in affected Linux kernels allows local users to corrupt kernel memory. The nfsd4_process_cb_update path stores the callback transport reference before rpc_create succeeds, so client cleanup and caller error handling both call svc_xprt_put on the same transport. Reaching the flaw requires local low-privileged access and an NFSv4.1 callback connection whose rpc_create operation fails; observed effects include refcount underflow, use-after-free, list corruption, and a kernel crash.
Summary
What happened
Double-free in the NFSv4.1 callback path in affected Linux kernels allows local users to corrupt kernel memory. The nfsd4_process_cb_update path stores the callback transport reference before rpc_create succeeds, so client cleanup and caller error handling both call svc_xprt_put on the same transport. Reaching the flaw requires local low-privileged access and an NFSv4.1 callback connection whose rpc_create operation fails; observed effects include refcount underflow, use-after-free, list corruption, and a kernel crash.
The record
- CVE
- CVE-2022-50401
- Published
- Sep 18, 2025
- Updated
- Sep 18, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-415, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 18, 2025CVE publishedPublication date reported by the CVE source.
- Sep 18, 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=0c4fb76c4e711d9e4e70ddc6732310a17076175d <15fc60aa5bdcf6d5f93000d3d00579fc67632ee0
- Affected versionversion=22c721560ef24003bcb9c3d9c358841dcfa4e212 <9b4ae8c42d2ff09ed7c5832ccce5684c55e5ed23
- Affected versionversion=5.8
- Affected versionversion=69151594c72a1748cf93ae5b5fa68d5084253dce <707bcca9616002d204091ca7c4d1d91151104332
- Affected versionversion=a4abc6b12eb1f7a533c2e7484cfa555454ff0977 <3bc8edc98bd43540dbe648e4ef91f443d6d20a24
- Affected versionversion=a4abc6b12eb1f7a533c2e7484cfa555454ff0977 <a472f069ced8601979f53c13c0cf20236074ed46
- Affected versionversion=a4abc6b12eb1f7a533c2e7484cfa555454ff0977 <c1207219a4bfa50121c9345d5d165470d0a82531
- Affected versionversion=a4abc6b12eb1f7a533c2e7484cfa555454ff0977 <d843ebd860c58a38e45527e8ec6516059f4c97f3
- Affected versionversion=a4abc6b12eb1f7a533c2e7484cfa555454ff0977 <e2f9f03e4537f3fcc8fd2bdd3248530c3477a371
- Affected versionversion=c745f9ef3c8cbae70556131eaeaf0f64510243b7
- Affected versionversion=e8cac2e3067e8587f8271c2177cc5ca924a61b54 <fddac3b4578d302ac9e51e7f03a9aae6254ae2a3
- Affected versionversion=f5a50e848e4509448b8b91536b5d421722bf154b
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