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

7.8 · HIGH
Published Jul 29, 2024 linux CWE-416 EPSS 0.28% (20th pctl)

Overview

CVE-2024-41058 is a high-severity vulnerability affecting linux linux_kernel. 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 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 >= 5.17, < 6.1.101 Affected

Frequently Asked Questions

What is CVE-2024-41058?

CVE-2024-41058 is a high-severity vulnerability affecting linux linux_kernel. 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 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-41058?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-41058 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.