CVE-2024-41049

filelock: fix potential use-after-free in posix_lock_inode

HIGH
7
CVSS Score
Published: July 29, 2024 at 02:32 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.5.55.10.197 ≤ v < 5.10.2225.15.133 ≤ v < 5.15.1635.4.257 ≤ v < 5.4.2806.1.55 ≤ v < 6.1.1006.5.5 ≤ v < 6.66.6 ≤ v < 6.106.6 ≤ v < 6.6.416.6 ≤ v < 6.9.106.7 ≤ v < 6.9.10117fb80cd1e63c419c7a221ce070becb4bfc7b6d34bff6d850019e00001129d6de3aa4874c2cf4715.10.1975.15.1335.4.2576.1.556.5.56.674f6f5912693ce454384eaeec48705646a21c74f766e56faddbec2eaf70c9299e1c9ef74d846d32ba6f4129378ca15f62cbdde09a7d3ccc35adcf49de75396988bb9b3b90e6e8690604d0f566cea403a
Vendor states this is fixed in 02a8964260756c70b20393ad4006948510ac9967 (fixed)
Vendor states this is fixed in 116599f6a26906cf33f67975c59f0692ecf7e9b2 (fixed)
Vendor states this is fixed in 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92 (fixed)
Vendor states this is fixed in 1cbbb3d9475c403ebedc327490c7c2b991398197 (fixed)
Vendor states this is fixed in 432b06b69d1d354a171f7499141116536579eb6a (fixed)
Vendor states this is fixed in 5cb36e35bc10ea334810937990c2b9023dacb1b0 (fixed)
Vendor states this is fixed in 7d4c14f4b511fd4c0dc788084ae59b4656ace58b (fixed)
Vendor states this is fixed in 5.10.222 (unaffected)
Vendor states this is fixed in 5.15.163 (unaffected)
Vendor states this is fixed in 5.4.280 (unaffected)
Vendor states this is fixed in 6.1.100 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)
Vendor states this is fixed in 6.6.41 (unaffected)
Vendor states this is fixed in 6.9.10 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/02a8964260756c70b20393ad4006948510ac9967
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/116599f6a26906cf33f67975c59f0692ecf7e9b2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1cbbb3d9475c403ebedc327490c7c2b991398197
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/432b06b69d1d354a171f7499141116536579eb6a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5cb36e35bc10ea334810937990c2b9023dacb1b0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7d4c14f4b511fd4c0dc788084ae59b4656ace58b
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card