Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-41049

published high CVSS 3.1 · 7.8

filelock: fix potential use-after-free in posix_lock_inode

Published
29 Jul 2024, 14:32:05 UTC
Updated
05 Aug 2026, 11:35:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux117fb80cd1e63c419c7a221ce070becb4bfc7b6d to < 1cbbb3d9475c403ebedc327490c7c2b991398197 · a6f4129378ca15f62cbdde09a7d3ccc35adcf49d to < 7d4c14f4b511fd4c0dc788084ae59b4656ace58b · 766e56faddbec2eaf70c9299e1c9ef74d846d32b to < 02a8964260756c70b20393ad4006948510ac9967 · 34bff6d850019e00001129d6de3aa4874c2cf471 to < 5cb36e35bc10ea334810937990c2b9023dacb1b0 · 74f6f5912693ce454384eaeec48705646a21c74f to < 432b06b69d1d354a171f7499141116536579eb6a · 74f6f5912693ce454384eaeec48705646a21c74f to < 116599f6a26906cf33f67975c59f0692ecf7e9b2 · 74f6f5912693ce454384eaeec48705646a21c74f to < 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92 · e75396988bb9b3b90e6e8690604d0f566cea403a · 5.4.257 to < 5.4.280 · 5.10.197 to < 5.10.222 · 5.15.133 to < 5.15.163 · 6.1.55 to < 6.1.100 · 6.5.5 to < 6.6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 5.4.280 through 5.4.* (unaffected · semver) · 5.10.222 through 5.10.* (unaffected · semver) · 5.15.163 through 5.15.* (unaffected · semver) · 6.1.100 through 6.1.* (unaffected · semver) · 6.6.41 through 6.6.* (unaffected · semver) · 6.9.10 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-066 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-050 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-080 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.223-1 DSA-5747-1
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2024-679 Fixed Not stated Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.335.4.el7 ELSA-2024-12612
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.335.4.el7 ELSA-2024-12612
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 perfaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 python-perfaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.335.4.el8 ELSA-2024-12612
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.335.4.el8 ELSA-2024-12612
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

60

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable `posix_lock_inode()` is reached from the local `fcntl(F_SETLK/F_SETLKW/F_OFD_SETLK)` syscall path (`fcntl_setlk` → `do_lock_file_wait` → `vfs_lock_file` → `posix_lock_file`), which is the universally present attack surface on every system. The nfsd/lockd/ksmbd callers of `vfs_lock_file()` also reach it, but those require an optional network file server to be configured and exporting a filesystem with no private `->lock`, so the core defect is characterized as local. AC:L - The attacker controls both sides of the race: one thread issues an overlapping same-type `F_SETLK` that merges into an existing lock (making `request` point at a list-resident lock), while a second attacker thread issues an overlapping `F_UNLCK`/`close()` that deletes and `kmem_cache_free()`s that entry, and the window between `spin_unlock(&ctx->flc_lock)`/`percpu_up_read()` and the tracepoint can be hit repeatedly in a tight loop with threads pinned to separate CPUs. Consistent with this CNA's scoring of other tracepoint-gated use-after-frees (CVE-2026-63910, CVE-2024-56759), the tracepoint-enabled precondition does not raise complexity. PR:L - Any unprivileged local user can call `fcntl()` on a file descriptor for a file it can already open; the only gate on the path is the `security_file_lock()` LSM hook, with no capability, root, or namespace requirement. POSIX advisory locks work on ordinary files in `/tmp`, `/dev/shm`, or the user's home directory. UI:N - The attacker's own threads perform every step — allocating the lock, merging it, and freeing it concurrently — with no action required from any other user or administrator. S:U - The freed `struct file_lock`, the corrupted read, and any resulting panic are all confined to the kernel of the same system; no VM, IOMMU, container, or sandbox boundary is crossed. C:H - The tracepoint reads seven fields out of a freed `filelock_cache` object — including the raw `flc_blocker` and `flc_owner` kernel pointers and the 64-bit `fl_start`/`fl_end` — after the attacker has had the opportunity to groom and reallocate that slab object, disclosing arbitrary reallocated kernel memory contents and defeating KASLR. Per kernel scoring guidance, use-after-free is rated High. I:H - A use-after-free on a `struct file_lock` that the attacker can reliably reallocate under control gives the classic UAF primitive — the stale `request` pointer is consumed as a live object after `kmem_cache_free()`, and heap spraying against the freed slot makes the condition exploitable for memory corruption rather than a benign stale read. Consistent with kernel guidance and this CNA's rating of the equivalent `dma_buf_fd()` tracepoint UAF, integrity impact is High. A:H - This is precisely the reported failure mode: the UAF read faulted the kernel on the reporter's MTE-enabled ARM64 system (`do_tag_check_fault` → `__do_kernel_fault` → panic), and on KASAN, hardware-tag, `slub_debug`, or `DEBUG_PAGEALLOC` builds the dereference of freed slab memory oopses. The race can be re-triggered in a loop, giving a repeatable local denial of service.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 117fb80cd1e63c419c7a221ce070becb4bfc7b6d to < 1cbbb3d9475c403ebedc327490c7c2b991398197 (affected · git)a6f4129378ca15f62cbdde09a7d3ccc35adcf49d to < 7d4c14f4b511fd4c0dc788084ae59b4656ace58b (affected · git)766e56faddbec2eaf70c9299e1c9ef74d846d32b to < 02a8964260756c70b20393ad4006948510ac9967 (affected · git)34bff6d850019e00001129d6de3aa4874c2cf471 to < 5cb36e35bc10ea334810937990c2b9023dacb1b0 (affected · git)74f6f5912693ce454384eaeec48705646a21c74f to < 432b06b69d1d354a171f7499141116536579eb6a (affected · git)74f6f5912693ce454384eaeec48705646a21c74f to < 116599f6a26906cf33f67975c59f0692ecf7e9b2 (affected · git)74f6f5912693ce454384eaeec48705646a21c74f to < 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92 (affected · git)e75396988bb9b3b90e6e8690604d0f566cea403a (affected · git)5.4.257 to < 5.4.280 (affected · semver)5.10.197 to < 5.10.222 (affected · semver)5.15.133 to < 5.15.163 (affected · semver)6.1.55 to < 6.1.100 (affected · semver)6.5.5 to < 6.6 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.6 (affected)0 to < 6.6 (unaffected · semver)5.4.280 through 5.4.* (unaffected · semver)5.10.222 through 5.10.* (unaffected · semver)5.15.163 through 5.15.* (unaffected · semver)6.1.100 through 6.1.* (unaffected · semver)6.6.41 through 6.6.* (unaffected · semver)6.9.10 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

3

Linux · cna

filelock: fix potential use-after-free in posix_lock_inode

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
81de909025ae3de186d0f68664b93b01a2772165d77eb086bf245bfde9af47dc
Ingested
23 Sep 2026, 08:26:16 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected