Menu

Star on GitHub · 3.2k

CVE-2024-41058

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: cachefiles: fix slab-use-after-free in fscache_withdraw_volume() We got the following issue in our fault injection stress test:…

Published Jul 29, 2024CWE-416EPSS 0.28%

Overview

CVE-2024-41058 is a high-severity vulnerability. It was published on July 29, 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:

cachefiles: fix slab-use-after-free in fscache_withdraw_volume()

We got the following issue in our fault injection stress test:

==================================================================

BUG: KASAN: slab-use-after-free in fscache_withdraw_volume+0x2e1/0x370

Read of size 4 at addr ffff88810680be08 by task ondemand-04-dae/5798

CPU: 0 PID: 5798 Comm: ondemand-04-dae Not tainted 6.8.0-dirty #565

Call Trace:

kasan_check_range+0xf6/0x1b0

fscache_withdraw_volume+0x2e1/0x370

cachefiles_withdraw_volume+0x31/0x50

cachefiles_withdraw_cache+0x3ad/0x900

cachefiles_put_unbind_pincount+0x1f6/0x250

cachefiles_daemon_release+0x13b/0x290

__fput+0x204/0xa00

task_work_run+0x139/0x230

Allocated by task 5820:

__kmalloc+0x1df/0x4b0

fscache_alloc_volume+0x70/0x600

__fscache_acquire_volume+0x1c/0x610

erofs_fscache_register_volume+0x96/0x1a0

erofs_fscache_register_fs+0x49a/0x690

erofs_fc_fill_super+0x6c0/0xcc0

vfs_ge

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

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

How severe is CVE-2024-41058?

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

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

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-41058 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