CVE-2024-41049
filelock: fix potential use-after-free in posix_lock_inode
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 117fb80cd1e63c419c7a221ce070becb4bfc7b6d, < 1cbbb3d9475c403ebedc327490c7c2b991398197; >= a6f4129378ca15f62cbdde09a7d3ccc35adcf49d, < 7d4c14f4b511fd4c0dc788084ae59b4656ace58b; >= 766e56faddbec2eaf70c9299e1c9ef74d846d32b, < 02a8964260756c70b20393ad4006948510ac9967; >= 34bff6d850019e00001129d6de3aa4874c2cf471, < 5cb36e35bc10ea334810937990c2b9023dacb1b0; >= 74f6f5912693ce454384eaeec48705646a21c74f, < 432b06b69d1d354a171f7499141116536579eb6a; >= 74f6f5912693ce454384eaeec48705646a21c74f, < 116599f6a26906cf33f67975c59f0692ecf7e9b2; >= 74f6f5912693ce454384eaeec48705646a21c74f, < 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92; e75396988bb9b3b90e6e8690604d0f566cea403a; >= 5.4.257, < 5.4.280; >= 5.10.197, < 5.10.222; …
- Anyone running Linux 6.6
Vulnerability facts
- Affected
- Linux >= 117fb80cd1e63c419c7a221ce070becb4bfc7b6d, < 1cbbb3d9475c403ebedc327490c7c2b991398197; >= a6f4129378ca15f62cbdde09a7d3ccc35adcf49d, < 7d4c14f4b511fd4c0dc788084ae59b4656ace58b; >= 766e56faddbec2eaf70c9299e1c9ef74d846d32b, < 02a8964260756c70b20393ad4006948510ac9967; >= 34bff6d850019e00001129d6de3aa4874c2cf471, < 5cb36e35bc10ea334810937990c2b9023dacb1b0; >= 74f6f5912693ce454384eaeec48705646a21c74f, < 432b06b69d1d354a171f7499141116536579eb6a; >= 74f6f5912693ce454384eaeec48705646a21c74f, < 116599f6a26906cf33f67975c59f0692ecf7e9b2; >= 74f6f5912693ce454384eaeec48705646a21c74f, < 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92; e75396988bb9b3b90e6e8690604d0f566cea403a; >= 5.4.257, < 5.4.280; >= 5.10.197, < 5.10.222; …; Linux 6.6
- Fixed in
- Linux 1cbbb3d9475c403ebedc327490c7c2b991398197, Linux 7d4c14f4b511fd4c0dc788084ae59b4656ace58b, Linux 02a8964260756c70b20393ad4006948510ac9967, Linux 5cb36e35bc10ea334810937990c2b9023dacb1b0, Linux 432b06b69d1d354a171f7499141116536579eb6a, Linux 116599f6a26906cf33f67975c59f0692ecf7e9b2, Linux 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92, Linux 5.4.280, Linux 5.10.222
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-416
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 117fb80cd1e63c419c7a221ce070becb4bfc7b6d, < 1cbbb3d9475c403ebedc327490c7c2b991398197; >= a6f4129378ca15f62cbdde09a7d3ccc35adcf49d, < 7d4c14f4b511fd4c0dc788084ae59b4656ace58b; >= 766e56faddbec2eaf70c9299e1c9ef74d846d32b, < 02a8964260756c70b20393ad4006948510ac9967; >= 34bff6d850019e00001129d6de3aa4874c2cf471, < 5cb36e35bc10ea334810937990c2b9023dacb1b0; >= 74f6f5912693ce454384eaeec48705646a21c74f, < 432b06b69d1d354a171f7499141116536579eb6a; >= 74f6f5912693ce454384eaeec48705646a21c74f, < 116599f6a26906cf33f67975c59f0692ecf7e9b2; >= 74f6f5912693ce454384eaeec48705646a21c74f, < 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92; e75396988bb9b3b90e6e8690604d0f566cea403a; >= 5.4.257, < 5.4.280; >= 5.10.197, < 5.10.222; … | — | cvelist |
| Linux | 6.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-41049. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-41049.md Affected: Linux >= 117fb80cd1e63c419c7a221ce070becb4bfc7b6d, < 1cbbb3d9475c403ebedc327490c7c2b991398197; >= a6f4129378ca15f62cbdde09a7d3ccc35adcf49d, < 7d4c14f4b511fd4c0dc788084ae59b4656ace58b; >= 766e56faddbec2eaf70c9299e1c9ef74d846d32b, < 02a8964260756c70b20393ad4006948510ac9967; >= 34bff6d850019e00001129d… Fixed in: Linux 1cbbb3d9475c403ebedc327490c7c2b991398197, Linux 7d4c14f4b511fd4c0dc788084ae59b4656ace58b, Linux 02a8964260756c70b20393ad4006948510ac9967, Linux 5cb36e35bc10ea334810937990c2b9023dacb1b0, Linux 432b06b69d1d354a171f7499141116536579eb6a, Linux 116599f6a26906cf33f67975c59f0692ecf7e9b2, Linux 1b3ec… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/1cbbb3d9475c403ebedc327490c7c2b991398197
- https://git.kernel.org/stable/c/7d4c14f4b511fd4c0dc788084ae59b4656ace58b
- https://git.kernel.org/stable/c/02a8964260756c70b20393ad4006948510ac9967
- https://git.kernel.org/stable/c/5cb36e35bc10ea334810937990c2b9023dacb1b0
- https://git.kernel.org/stable/c/432b06b69d1d354a171f7499141116536579eb6a
- https://git.kernel.org/stable/c/116599f6a26906cf33f67975c59f0692ecf7e9b2
- https://git.kernel.org/stable/c/1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92
FAQ
Is CVE-2024-41049 being exploited?
There is no confirmed exploitation: CVE-2024-41049 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-41049?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-41049?
Linux >= 117fb80cd1e63c419c7a221ce070becb4bfc7b6d, < 1cbbb3d9475c403ebedc327490c7c2b991398197; >= a6f4129378ca15f62cbdde09a7d3ccc35adcf49d, < 7d4c14f4b511fd4c0dc788084ae59b4656ace58b; >= 766e56faddbec2eaf70c9299e1c9ef74d846d32b, < 02a8964260756c70b20393ad4006948510ac9967; >= 34bff6d850019e00001129d6de3aa4874c2cf471, < 5cb36e35bc10ea334810937990c2b9023dacb1b0; >= 74f6f5912693ce454384eaeec48705646a21c74f, < 432b06b69d1d354a171f7499141116536579eb6a; >= 74f6f5912693ce454384eaeec48705646a21c74f, < 116599f6a26906cf33f67975c59f0692ecf7e9b2; >= 74f6f5912693ce454384eaeec48705646a21c74f, < 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92; e75396988bb9b3b90e6e8690604d0f566cea403a; >= 5.4.257, < 5.4.280; >= 5.10.197, < 5.10.222; …; Linux 6.6.
Is there a fix for CVE-2024-41049?
Yes. Fixed in Linux 1cbbb3d9475c403ebedc327490c7c2b991398197, Linux 7d4c14f4b511fd4c0dc788084ae59b4656ace58b, Linux 02a8964260756c70b20393ad4006948510ac9967, Linux 5cb36e35bc10ea334810937990c2b9023dacb1b0, Linux 432b06b69d1d354a171f7499141116536579eb6a, Linux 116599f6a26906cf33f67975c59f0692ecf7e9b2, Linux 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92, Linux 5.4.280, Linux 5.10.222. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-41049?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.