Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-56558

7.8 · HIGH
Published Dec 27, 2024 linux CWE-416 EPSS 0.24% (15th pctl)

Overview

CVE-2024-56558 is a high-severity vulnerability affecting linux linux_kernel. It was published on December 27, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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+0x7

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 3.17, < 5.4.287 Affected

Frequently Asked Questions

What is CVE-2024-56558?

CVE-2024-56558 is a high-severity vulnerability affecting linux linux_kernel. It was published on December 27, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-56558?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-56558?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-56558?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-56558 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.