Kernel crash via nfsd delegation race
Published May 24, 2024 · Updated Aug 5, 2026
Use-after-free in Linux nfsd allows remote attackers to crash the kernel by racing conflicting NFSv4 delegation requests. nfsd4_cb_recall_prepare adds a breaking delegation to del_recall_lru, but nfs4_set_delegation can free it after failing to hash it without first removing the list entry. The nfsd service must be handling concurrent delegation conflicts; the stale entry later causes use-after-free or list corruption in the laundromat thread.
Summary
What happened
Use-after-free in Linux nfsd allows remote attackers to crash the kernel by racing conflicting NFSv4 delegation requests. nfsd4_cb_recall_prepare adds a breaking delegation to del_recall_lru, but nfs4_set_delegation can free it after failing to hash it without first removing the list entry. The nfsd service must be handling concurrent delegation conflicts; the stale entry later causes use-after-free or list corruption in the laundromat thread.
The record
- CVE
- CVE-2021-47506
- Published
- May 24, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 24, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record 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=3.17
- Affected versionversion=dff1399f8addf7129c49bb2227469da79cc30b47 <04a8d07f3d58308b92630045560799a3faa3ebce
- Affected versionversion=dff1399f8addf7129c49bb2227469da79cc30b47 <148c816f10fd11df27ca6a9b3238cdd42fa72cd3
- Affected versionversion=dff1399f8addf7129c49bb2227469da79cc30b47 <2becaa990b93cbd2928292c0b669d3abb6cf06d4
- Affected versionversion=dff1399f8addf7129c49bb2227469da79cc30b47 <33645d3e22720cac1e4548f8fef57bf0649536ee
- Affected versionversion=dff1399f8addf7129c49bb2227469da79cc30b47 <348714018139c39533c55661a0c7c990671396b4
- Affected versionversion=dff1399f8addf7129c49bb2227469da79cc30b47 <548ec0805c399c65ed66c6641be467f717833ab5
- Affected versionversion=dff1399f8addf7129c49bb2227469da79cc30b47 <e0759696de6851d7536efddfdd2dfed4c4df1f09
- Affected versionversion=dff1399f8addf7129c49bb2227469da79cc30b47 <eeb0711801f5e19ef654371b627682aed3b11373
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