CVE-2024-53216: nfsd: release svc_expkey/svc_export with rcu_work
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.22% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 2e4854599200f4d021df8ae17e69221d7c149f3e, a98fa661769edacd3bf319c4a150f00bea61945b, ad4363a24a5746b257c0beb5d8cc68f9b62c173f.
Low priority for now. Upgrade to Linux Linux 2e4854599200f4d021df8ae17e69221d7c149f3e, a98fa661769edacd3bf319c4a150f00bea61945b, ad4363a24a5746b257c0beb5d8cc68f9b62c173f or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: nfsd: release svc_expkey/svc_export with rcu_work The last reference for `cache_head` can be reduced to zero in `c_show` and `e_show`(using `rcu_read_lock` and `rcu_read_unlock`). Consequently, `svc_export_put` and `expkey_put` will be invoked, leading to two issues: 1. The `svc_export_put` will directly free ex_uuid. However, `e_show`/`c_show` will access `ex_uuid` after `cache_put`, which can trigger a use-after-free issue, shown below. ================================================================== BUG: KASAN: slab-use-after-free in svc_export_show+0x362/0x430 [nfsd] Read of size 1 at addr ff11000010fdc120 by task cat/870 CPU: 1 UID: 0 PID: 870 Comm: cat Not tainted 6.12.0-rc3+ #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.1-2.fc37 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x53/0x70 print_address_description.constprop.0+0x2c/0x3a0 print_report+0xb9/0x280 kasan_report+0xae/0xe0 svc_export_show+0x362/0x430 [nfsd] c_show+0x161/0x390 [sunrpc] seq_read_iter+0x589/0x770 seq_read+0x1e5/0x270 proc_reg_read+0xe1/0x140 vfs_read+0x125/0x530 ksys_read+0xc1/0x160 do_syscall_64+0x5f/0x170 entry_SYSCALL_64_after_hwframe+0x76/0x7e Allocated by task 830: kasan_save_stack+0x20/0x40 kasan_save_track+0x14/0x30 __kasan_kmalloc+0x8f/0xa0 __kmalloc_node_track_caller_noprof+0x1bc/0x400 kmemdup_noprof+0x22/0x50 svc_export_parse+0x8a9/0xb80 [nfsd] cache_do_downcall+0x71/0xa0 [sunrpc] cache_write_procfs+0x8e/0xd0 [sunrpc] proc_reg_write+0xe1/0x140 vfs_write+0x1a5/0x6d0 ksys_write+0xc1/0x160 do_syscall_64+0x5f/0x170 entry_SYSCALL_64_after_hwframe+0x76/0x7e Freed by task 868: kasan_save_stack+0x20/0x40 kasan_save_track+0x14/0x30 kasan_save_free_info+0x3b/0x60 __kasan_slab_free+0x37/0x50 kfree+0xf3/0x3e0 svc_export_put+0x87/0xb0 [nfsd] cache_purge+0x17f/0x1f0 [sunrpc] nfsd_destroy_serv+0x226/0x2d0 [nfsd] nfsd_svc+0x125/0x1e0 [nfsd] write_threads+0x16a/0x2a0 [nfsd] nfsctl_transaction_write+0x74/0xa0 [nfsd] vfs_write+0x1a5/0x6d0 ksys_write+0xc1/0x160 do_syscall_64+0x5f/0x170 entry_SYSCALL_64_after_hwframe+0x76/0x7e 2. We cannot sleep while using `rcu_read_lock`/`rcu_read_unlock`. However, `svc_export_put`/`expkey_put` will call path_put, which subsequently triggers a sleeping operation due to the following `dput`. ============================= WARNING: suspicious RCU usage 5.10.0-dirty #141 Not tainted ----------------------------- ... Call Trace: dump_stack+0x9a/0xd0 ___might_sleep+0x231/0x240 dput+0x39/0x600 path_put+0x1b/0x30 svc_export_put+0x17/0x80 e_show+0x1c9/0x200 seq_read_iter+0x63f/0x7c0 seq_read+0x226/0x2d0 vfs_read+0x113/0x2c0 ksys_read+0xc9/0x170 do_syscall_64+0x33/0x40 entry_SYSCALL_64_after_hwframe+0x67/0xd1 Fix these issues by using `rcu_work` to help release `svc_expkey`/`svc_export`. This approach allows for an asynchronous context to invoke `path_put` and also facilitates the freeing of `uuid/exp/key` after an RCU grace period.
- Published
- Dec 27, 2024
- Updated
- Oct 30, 2026
- EPSS
- 0.2% · 12th percentile
- CWE
- CWE-416
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · Linux
- 7.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 4.20affected
- 9ceddd9da13434a5906255c0fc528c385aded283 and later · before a98fa661769edacd3bf319c4a150f00bea61945baffected · git
- 9ceddd9da13434a5906255c0fc528c385aded283 and later · before bd8524148dd8c123334b066faa90590ba2ef8e6faffected · git
- 9ceddd9da13434a5906255c0fc528c385aded283 and later · before 2e4854599200f4d021df8ae17e69221d7c149f3eaffected · git
- 9ceddd9da13434a5906255c0fc528c385aded283 and later · before ad4363a24a5746b257c0beb5d8cc68f9b62c173faffected · git
- 9ceddd9da13434a5906255c0fc528c385aded283 and later · before f8c989a0c89a75d30f899a7cabdc14d72522bb8daffected · git
- before 4.20not affected · semver
- 6.1.191 and later · up to and including 6.1.*not affected · semver
- 6.6.64 and later · up to and including 6.6.*not affected · semver
- 6.11.11 and later · up to and including 6.11.*not affected · semver
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel4.20 and later · before 6.6.64
- linux linux kernel6.7 and later · before 6.11.11
- linux linux kernel6.12 and later · before 6.12.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | kernel | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug-devel | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug-devel-matched | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug-modules | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug-modules-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug-modules-extra | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-devel | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-devel-matched | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-modules | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-modules-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-modules-extra | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-abi-stablelists | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-cross-headers | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-debug | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-debug-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-debug-devel | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-debug-devel-matched | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-debug-modules | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-debug-modules-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-53201Dec 27, 2024 · drm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipe22Monitor
- ← EarlierCVE-2024-53209Dec 27, 2024 · bnxt_en: Fix receive ring space parameters when XDP is active22Monitor
- Later →CVE-2024-53217Dec 27, 2024 · NFSD: Prevent NULL dereference in nfsd4_process_cb_update()22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 2e4854599200f4d021df8ae17e69221d7c149f3e | Vendor (CNA) |
| Linux Linux | a98fa661769edacd3bf319c4a150f00bea61945b | Vendor (CNA) |
| Linux Linux | ad4363a24a5746b257c0beb5d8cc68f9b62c173f | Vendor (CNA) |
| Linux Linux | bd8524148dd8c123334b066faa90590ba2ef8e6f | Vendor (CNA) |
| Linux Linux | f8c989a0c89a75d30f899a7cabdc14d72522bb8d | Vendor (CNA) |
| almalinux:kernel | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-core | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-core | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-core | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-devel | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-devel-matched | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| debian:linux | 6.12.3-1 · Debian:13 | Package registry (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-64k-debug-devel | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-64k-debuginfo | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-64k-devel | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-64k-devel-matched | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-debug-devel-matched | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-debuginfo-common-aarch64 | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-debuginfo-common-ppc64le | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
+1
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.