PT-2024-35623 · Linux+5 · Linux Kernel+5
Published
2024-11-21
·
Updated
2026-05-26
·
CVE-2024-53177
CVSS v3.1
7.8
High
| Vector | AV: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.12.0-rc6
Description
A use-after-free vulnerability has been identified in the Linux kernel, specifically in the
open cached dir() function. This vulnerability occurs when open cached dir() encounters an error parsing the lease from the server, and the error handling may race with receiving a lease break, resulting in open cached dir() freeing the cfid while the queued work is pending. The vulnerability can be exploited to cause a slab-use-after-free error in smb2 cached lease break().Recommendations
To resolve this issue, update the Linux kernel to a version that includes the fix for this vulnerability. Specifically, update to a version later than 6.12.0-rc6. As a temporary workaround, consider disabling the
open cached dir() function until a patch is available. Restrict access to the smb2 cached lease break() function to minimize the risk of exploitation. Avoid using the cfid variable in the affected code paths until the issue is resolved.Exploit
Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Debian
Linuxmint
Linux Kernel
Suse
Ubuntu