Menu

Star on GitHub · 3.3k

CVE-2024-53174

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: SUNRPC: make sure cache entry active before cache_show The function `c_show` was called with protection from RCU.

Published Dec 27, 2024CWE-416EPSS 0.26%

Overview

CVE-2024-53174 is a high-severity vulnerability. 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:

SUNRPC: make sure cache entry active before cache_show

The function `c_show` was called with protection from RCU. This only

ensures that `cp` will not be freed. Therefore, the reference count for

`cp` can drop to zero, which will trigger a refcount use-after-free

warning when `cache_get` is called. To resolve this issue, use

`cache_get_rcu` to ensure that `cp` remains active.

------------[ cut here ]------------

refcount_t: addition on 0; use-after-free.

WARNING: CPU: 7 PID: 822 at lib/refcount.c:25

refcount_warn_saturate+0xb1/0x120

CPU: 7 UID: 0 PID: 822 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>

c_show+0x2fc/0x380 [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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2024-53174?

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

How severe is CVE-2024-53174?

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-53174?

Check the references section for vendor advisories, patches, and mitigation guidance. 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-53174?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-53174 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all
LiveWatch live →