Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-56558

HIGH 7.8EPSS 17%

nfsd: make sure exp active before svc_export_show

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= bf18f163e89c52e09c96534db45c4274273a0b34, < e2fa0d0e327279a8defb87b263cd0bf288fd9261; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7fd29d284b55c2274f7a748e6c5f25b4758b8da5; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 6cefcadd34e3c71c81ea64b899a0daa86314a51a; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7d8f7816bebcd2e7400bb4d786eccb8f33c9f9ec; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 1cecfdbc6bfc89c516d286884c7f29267b95de2b; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7365d1f8de63cffdbbaa2287ce0205438e1a922f; >= bf18f163e89c52e09c96534db45c4274273a0b34, < be8f982c369c965faffa198b46060f8853e0f1f0
  • Anyone running Linux 3.17

Vulnerability facts

Affected
Linux >= bf18f163e89c52e09c96534db45c4274273a0b34, < e2fa0d0e327279a8defb87b263cd0bf288fd9261; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7fd29d284b55c2274f7a748e6c5f25b4758b8da5; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 6cefcadd34e3c71c81ea64b899a0daa86314a51a; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7d8f7816bebcd2e7400bb4d786eccb8f33c9f9ec; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 1cecfdbc6bfc89c516d286884c7f29267b95de2b; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7365d1f8de63cffdbbaa2287ce0205438e1a922f; >= bf18f163e89c52e09c96534db45c4274273a0b34, < be8f982c369c965faffa198b46060f8853e0f1f0; Linux 3.17
Fixed in
Linux 7fd29d284b55c2274f7a748e6c5f25b4758b8da5, Linux 6cefcadd34e3c71c81ea64b899a0daa86314a51a, Linux 7d8f7816bebcd2e7400bb4d786eccb8f33c9f9ec, Linux 1cecfdbc6bfc89c516d286884c7f29267b95de2b, Linux 7365d1f8de63cffdbbaa2287ce0205438e1a922f
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
CWE
CWE-416
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= bf18f163e89c52e09c96534db45c4274273a0b34, < e2fa0d0e327279a8defb87b263cd0bf288fd9261; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7fd29d284b55c2274f7a748e6c5f25b4758b8da5; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 6cefcadd34e3c71c81ea64b899a0daa86314a51a; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7d8f7816bebcd2e7400bb4d786eccb8f33c9f9ec; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 1cecfdbc6bfc89c516d286884c7f29267b95de2b; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7365d1f8de63cffdbbaa2287ce0205438e1a922f; >= bf18f163e89c52e09c96534db45c4274273a0b34, < be8f982c369c965faffa198b46060f8853e0f1f0—cvelist
Linux3.17—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-56558. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56558.md
Affected: Linux >= bf18f163e89c52e09c96534db45c4274273a0b34, < e2fa0d0e327279a8defb87b263cd0bf288fd9261; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7fd29d284b55c2274f7a748e6c5f25b4758b8da5; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 6cefcadd34e3c71c81ea64b899a0daa86314a51a; >= bf18f163e89c52e09c96534…
Fixed in: Linux 7fd29d284b55c2274f7a748e6c5f25b4758b8da5, Linux 6cefcadd34e3c71c81ea64b899a0daa86314a51a, Linux 7d8f7816bebcd2e7400bb4d786eccb8f33c9f9ec, Linux 1cecfdbc6bfc89c516d286884c7f29267b95de2b, Linux 7365d1f8de63cffdbbaa2287ce0205438e1a922f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-56558 being exploited?

There is no confirmed exploitation: CVE-2024-56558 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-56558?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-56558?

Linux >= bf18f163e89c52e09c96534db45c4274273a0b34, < e2fa0d0e327279a8defb87b263cd0bf288fd9261; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7fd29d284b55c2274f7a748e6c5f25b4758b8da5; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 6cefcadd34e3c71c81ea64b899a0daa86314a51a; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7d8f7816bebcd2e7400bb4d786eccb8f33c9f9ec; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 1cecfdbc6bfc89c516d286884c7f29267b95de2b; >= bf18f163e89c52e09c96534db45c4274273a0b34, < 7365d1f8de63cffdbbaa2287ce0205438e1a922f; >= bf18f163e89c52e09c96534db45c4274273a0b34, < be8f982c369c965faffa198b46060f8853e0f1f0; Linux 3.17.

Is there a fix for CVE-2024-56558?

Yes. Fixed in Linux 7fd29d284b55c2274f7a748e6c5f25b4758b8da5, Linux 6cefcadd34e3c71c81ea64b899a0daa86314a51a, Linux 7d8f7816bebcd2e7400bb4d786eccb8f33c9f9ec, Linux 1cecfdbc6bfc89c516d286884c7f29267b95de2b, Linux 7365d1f8de63cffdbbaa2287ce0205438e1a922f. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-56558?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors