CVE-2024-41049

HIGH

Linux Kernel - Use-After-Free in posix_lock_inode

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.0
EPSS 0.0026
EPSS Percentile 17.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (29)
linux/Kernel < 5.4.280linux
linux/Kernel 5.11.0 - 5.15.163linux
linux/Kernel 5.16.0 - 6.1.100linux
linux/Kernel 5.5.0 - 5.10.222linux
linux/Kernel 6.2.0 - 6.6.41linux
linux/Kernel 6.6.0 - 6.9.10linux
Linux/Linux < 6.6
Linux/Linux 117fb80cd1e63c419c7a221ce070becb4bfc7b6d - 1cbbb3d9475c403ebedc327490c7c2b991398197
Linux/Linux 34bff6d850019e00001129d6de3aa4874c2cf471 - 5cb36e35bc10ea334810937990c2b9023dacb1b0
Linux/Linux 5.10.197 - 5.10.222
... and 19 more
Published Jul 29, 2024
Tracked Since Feb 18, 2026