CVE-2024-41049CWE-416

CVE-2024-41049

High · published July 29, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
19.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00281 · 19.5th percentile
Weakness
CWE-416 · Use After Free
Published
2024-07-29T19:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 5.4.257, < 5.4.2805.4.280
linux/linux_kernel≥ 5.10.197, < 5.10.2225.10.222
linux/linux_kernel≥ 5.15.133, < 5.15.1635.15.163
linux/linux_kernel≥ 6.1.55, < 6.1.1006.1.100
linux/linux_kernel≥ 6.6, < 6.6.416.6.41
linux/linux_kernel≥ 6.7, < 6.9.106.9.10
References (15)
https://git.kernel.org/stable/c/02a8964260756c70b20393ad4006948510ac9967 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/116599f6a26906cf33f67975c59f0692ecf7e9b2 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1cbbb3d9475c403ebedc327490c7c2b991398197 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/432b06b69d1d354a171f7499141116536579eb6a · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/5cb36e35bc10ea334810937990c2b9023dacb1b0 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/7d4c14f4b511fd4c0dc788084ae59b4656ace58b · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/02a8964260756c70b20393ad4006948510ac9967 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/116599f6a26906cf33f67975c59f0692ecf7e9b2 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/1cbbb3d9475c403ebedc327490c7c2b991398197 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/432b06b69d1d354a171f7499141116536579eb6a · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/5cb36e35bc10ea334810937990c2b9023dacb1b0 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/7d4c14f4b511fd4c0dc788084ae59b4656ace58b · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 29 JUL 14:32Z
    filelock: fix potential use-after-free in posix_lock_inode
    cvelistv5