CVE-2024-41049: filelock: fix potential use-after-free in posix_lock_inode
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.
Security readout for executives and security teams
Plain-English summary
CVE-2024-41049 is a Linux kernel memory-safety bug in file locking. A race condition can let tracing code touch a lock object after another task has freed it. The public record confirms a kernel fix, but provides no CVSS score, clear impact rating, or evidence of active exploitation.
Executive priority
Handle through normal kernel patch governance unless exposed Linux fleets run untrusted workloads. Escalate if your estate includes shared hosting, build runners, or multi-tenant systems where local kernel bugs carry higher business risk.
Technical view
The issue is a potential use-after-free in posix_lock_inode involving trace_posix_lock_inode(). The request pointer can be changed to a lock added to an inode list, then another task can race and free that lock before the tracepoint fires. The fix moves the tracepoint inside the spinlock.
Likely exposure
Exposure is limited to systems running affected Linux kernel builds. The source bundle lists Linux kernel commit and version references, but does not provide distribution-by-distribution package status except a Debian LTS advisory reference.
Exploitation context
The bundle reports no KEV listing and no cited active exploitation. It describes a KASAN-discovered use-after-free race, not a public exploit path. Treat exploitation feasibility and impact as unproven from these sources.
Researcher notes
Evidence supports a kernel race-triggered use-after-free fixed by locking scope adjustment. Public data does not establish privilege impact, exploitability, or affected distribution packages beyond referenced upstream commits and Debian LTS notice.
Mitigation direction
Update affected Linux kernels using vendor-supported packages or kernel stable fixes.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-41049 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.