CVE-2024-56558: nfsd: make sure exp active before svc_export_show
Vulnerability summary
CVE-2024-56558 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.6% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 94 · Related 93Timeline
- 27-12-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: make sure exp active before svc_export_show The function `e_show` was called with protection from RCU. This only ensures that `exp` will not be freed. Therefore, the reference count for `exp` can drop to zero, which will trigger a refcount use-after-free warning when `exp_get` is called. To resolve this issue, use `cache_get_rcu` to ensure that `exp` remains active. ------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 3 PID: 819 at lib/refcount.c:25 refcount_warn_saturate+0xb1/0x120 CPU: 3 UID: 0 PID: 819 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 RIP: 0010:refcount_warn_saturate+0xb1/0x120 ... Call Trace: <TASK> e_show+0x20b/0x230 [nfsd] seq_read_iter+0x589/0x770 seq_read+0x1e5/0x270 vfs_read+0x125/0x530 ksys_read+0xc1/0x160 do_syscall_64+0x5f/0x170 entry_SYSCALL_64_after_hwframe+0x76/0x7e
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu131 products
- linux< 5.4.0-211.231 | < 5.15.0-135.146 | < 6.8.0-58.60
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1142.152 | < 5.15.0-1080.87 | < 6.8.0-1027.29
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Suse4 products
- kernel-livepatch-SLE15-SP3_Update_56&distro=SUSE Linux Enterprise Live Patching 15 SP3< 2-150300.2.1
- kernel-livepatch-SLE15-SP3_Update_57&distro=SUSE Linux Enterprise Live Patching 15 SP3< 2-150300.2.1
- kernel-livepatch-SLE15-SP4_Update_39&distro=SUSE Linux Enterprise Live Patching 15 SP4< 2-150400.2.1
- kernel-livepatch-SLE15-SP4_Update_40&distro=SUSE Linux Enterprise Live Patching 15 SP4< 2-150400.2.1
Linux2 products
- linux≥ bf18f163e89c52e09c96534db45c4274273a0b34, < e2fa0d0e327279a8defb87b263cd0bf288fd9261 | ≥ bf18f163e89c52e09c96534db45c4274273a0b34, < 7fd29d284b55c2274f7a748e6c5f25b4758b8da5 | ≥ bf18f163e89c52e09c96534db45c4274273a0b34, < 6cefcadd34e3c71c81ea64b899a0daa86314a51a | ≥ bf18f163e89c52e09c96534db45c4274273a0b34, < 7d8f7816bebcd2e7400bb4d786eccb8f33c9f9ec | ≥ bf18f163e89c52e09c96534db45c4274273a0b34, < 1cecfdbc6bfc89c516d286884c7f29267b95de2b | ≥ bf18f163e89c52e09c96534db45c4274273a0b34, < 7365d1f8de63cffdbbaa2287ce0205438e1a922f | ≥ bf18f163e89c52e09c96534db45c4274273a0b34, < be8f982c369c965faffa198b46060f8853e0f1f0 | 3.17
- linux_kernel≥ 3.17, < 5.4.287 | ≥ 5.5, < 5.10.231 | ≥ 5.11, < 5.15.174 | ≥ 5.16, < 6.1.120 | ≥ 6.2, < 6.6.64 | ≥ 6.7, < 6.12.4
Debian1 product
- linux< 6.1.123-1 | < 6.12.5-1
4 vendors · 138 products