CVE-2024-41057
Linux Kernel vulnerability analysis and mitigation

Overview

A slab-use-after-free vulnerability was discovered in the Linux kernel's cachefiles subsystem, specifically in the cachefiles_withdraw_cookie() function. The vulnerability was assigned CVE-2024-41057 and affects Linux kernel versions from 5.17 up to (excluding) 6.1.101, 6.2 up to (excluding) 6.6.42, and 6.7 up to (excluding) 6.9.11. The issue was discovered during fault injection stress testing (NVD).

Technical details

The vulnerability occurs due to improper handling of volume withdrawal in the cachefiles subsystem. When FSCACHE_CACHE_IS_WITHDRAWN is set, a race condition can occur where cookie lookups complete after volume has been freed, leading to a use-after-free condition. The issue was detected by KASAN (Kernel Address Sanitizer) showing a slab-use-after-free in cachefiles_withdraw_cookie() when reading 8 bytes at a specific memory address (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 base score of 7.8 HIGH with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow a local attacker with low privileges to potentially achieve high impacts on confidentiality, integrity, and availability of the system. This is reflected in the CVSS scoring which indicates high potential impact across all three security metrics (NVD).

Exploitability

The vulnerability requires local access with low privileges and no user interaction to exploit. The attack complexity is rated as low, indicating that the vulnerability is relatively straightforward to exploit under the right conditions (NVD).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that modifies the volume withdrawal process. The fix ensures that fscache_withdraw_volume() is called before cachefiles_withdraw_objects(), preventing the race condition. Users should upgrade to Linux kernel versions 6.1.101, 6.6.42, 6.9.11 or later depending on their kernel branch (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-80913NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.12
NoYesSep 04, 2026
CVE-2026-80905NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 04, 2026
CVE-2026-80898NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.18
NoYesSep 04, 2026
CVE-2026-80897NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026
CVE-2026-80892NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management