Menu

Star on GitHub · 3.2k

CVE-2024-41057

7.8 · HIGH

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

Published Jul 29, 2024CWE-416EPSS 0.28%

Overview

CVE-2024-41057 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 cachefiles_withdraw_cookie()

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

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

BUG: KASAN: slab-use-after-free in cachefiles_withdraw_cookie+0x4d9/0x600

Read of size 8 at addr ffff888118efc000 by task kworker/u78:0/109

CPU: 13 PID: 109 Comm: kworker/u78:0 Not tainted 6.8.0-dirty #566

Call Trace:

<TASK>

kasan_report+0x93/0xc0

cachefiles_withdraw_cookie+0x4d9/0x600

fscache_cookie_state_machine+0x5c8/0x1230

fscache_cookie_worker+0x91/0x1c0

process_one_work+0x7fa/0x1800

[...]

Allocated by task 117:

kmalloc_trace+0x1b3/0x3c0

cachefiles_acquire_volume+0xf3/0x9c0

fscache_create_volume_work+0x97/0x150

process_one_work+0x7fa/0x1800

[...]

Freed by task 120301:

kfree+0xf1/0x2c0

cachefiles_withdraw_cache+0x3fa/0x920

cachefiles_put_unbind_pincount+0x1f6/0x250

cachefiles_daemon_release+0x13b/0x

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

CVE-2024-41057 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-41057?

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

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

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