PT-2024-6724 · Linux+7 · Linux Kernel+7

Baokun Li

·

Published

2024-07-03

·

Updated

2025-09-29

·

CVE-2024-41058

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.6.43
Description: The vulnerability is related to a slab-use-after-free issue in the fscache withdraw volume() function. This issue can be triggered when a mount fails or a daemon exits, leading to a use-after-free error. The vulnerability may allow an attacker to impact the confidentiality, integrity, and availability of protected information. The issue is caused by the fscache volume being freed while its reference count may still be 0, and can be avoided by using the new fscache try get volume() helper function to get its reference count.
Recommendations: To resolve the issue, update the Linux kernel to version 6.6.43 or later. As a temporary workaround, consider disabling the cachefiles withdraw volume() function until a patch is available. Additionally, restrict access to the vulnerable fscache withdraw volume() function to minimize the risk of exploitation.

Exploit

Fix

Use After Free

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-11524
ALT-PU-2024-11855
ALT-PU-2024-11863
ALT-PU-2024-13121
ALT-PU-2024-13979
ALT-PU-2024-14046
BDU:2024-07937
CVE-2024-41058
DLA-4008-1
INFSA-2024_9315
MGASA-2024-0277
MGASA-2024-0278
OESA-2024-2076
OPENSUSE-SU-2024_2947-1
RHSA-2024:9315
RHSA-2024_9315
SUSE-SU-2024:2894-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2947-1
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3383-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-7089-1
USN-7089-2
USN-7089-3
USN-7089-4
USN-7089-5
USN-7089-6
USN-7089-7
USN-7090-1
USN-7095-1
USN-7156-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu