CVE-2024-56558
Last modified
CVE-2024-56558 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 3.17, < 5.4.287 |
| Linux | Linux Kernel | >= 5.5, < 5.10.231 |
| Linux | Linux Kernel | >= 5.11, < 5.15.174 |
| Linux | Linux Kernel | >= 5.16, < 6.1.120 |
| Linux | Linux Kernel | >= 6.2, < 6.6.64 |
| Linux | Linux Kernel | >= 6.7, < 6.12.4 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-56558?
How severe is CVE-2024-56558?
How do I fix CVE-2024-56558?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-56552In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-56553In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56554In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-56555In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-56556In the Linux kernel, the following vulnerability has been re…7
- CVE-2024-56557In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-56559In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5656Rejected reason: ** REJECT ** Accidental duplicate assignmen…
- CVE-2024-56560In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56561In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-56562In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56563In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-56558?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
