CVE-2024-41049 Details
Description
In the Linux kernel, the following vulnerability has been resolved: filelock: fix potential use-after-free in posix_lock_inode Light Hsieh reported a KASAN UAF warning in trace_posix_lock_inode(). The request pointer had been changed earlier to point to a lock entry that was added to the inode's list. However, before the tracepoint could fire, another task raced in and freed that lock. Fix this by moving the tracepoint inside the spinlock, which should ensure that this doesn't happen.
A use-after-free vulnerability has been identified in the Linux kernel's file locking mechanism, specifically within the function responsible for tracing POSIX lock events. This issue arises because the request pointer can be altered to reference a lock entry that has been freed by another task before it can be processed by the tracepoint. The vulnerability has been addressed by relocating the tracepoint to ensure it operates within a protected context, preventing premature access to freed memory.
Users can upgrade to the latest Linux kernel version to address this vulnerability. For Debian 11, the updated kernel version 6.1.119-1~deb11u1 is available. Instructions for installing this update are provided in the Debian LTS Advisory DLA-4008-1.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.4.257, < 5.4.280 >= 5.10.197, < 5.10.222 >= 5.15.133, < 5.15.163 >= 6.1.55, < 6.1.100 >= 6.6, < 6.6.41 >= 6.7, < 6.9.10 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | CVE |
| Apr 17, 2025 | Modified Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 26, 2024 | Initial Analysis | [email protected] |
| Jul 29, 2024 | New CVE Received | kernel.org |