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

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

Overview

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

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

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