CVEvulnerability

CVE-2024-41049

7.0 HIGH Published 2024-07-29 Modified 2026-08-04 Official page ↗
Status
Modified
Published
2024-07-29
Last modified
2026-08-04
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
7.0 HIGH — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-416

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 configurations

• linux linux kernel (>= 5.4.257 < 5.4.280) • linux linux kernel (>= 5.10.197 < 5.10.222) • linux linux kernel (>= 5.15.133 < 5.15.163) • linux linux kernel (>= 6.1.55 < 6.1.100) • linux linux kernel (>= 6.6 < 6.6.41) • linux linux kernel (>= 6.7 < 6.9.10)

Related

Weakness · CWE (1)

References