CVE-2024-41020
filelock: Fix fcntl/close race recovery compat path
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= c293621bbf678a3d85e3ed721c3921c8a670610d, < a561145f3ae973ebf3e0aee41624e92a6c5cb38d; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 4c43ad4ab41602201d34c66ac62130fe339d686f; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 911cc83e56a2de5a40758766c6a70d6998248860; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 53e21cfa68a7d12de378b7116c75571f73e0dfa2; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < f4d0775c6e2f1340ca0725f0337de149aaa989ca; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 73ae349534ebc377328e7d21891e589626c6e82c; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < ed898f9ca3fa32c56c858b463ceb9d9936cc69c4; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < f8138f2ad2f745b9a1c696a05b749eabe44337ea
- Anyone running Linux 2.6.13
Vulnerability facts
- Affected
- Linux >= c293621bbf678a3d85e3ed721c3921c8a670610d, < a561145f3ae973ebf3e0aee41624e92a6c5cb38d; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 4c43ad4ab41602201d34c66ac62130fe339d686f; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 911cc83e56a2de5a40758766c6a70d6998248860; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 53e21cfa68a7d12de378b7116c75571f73e0dfa2; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < f4d0775c6e2f1340ca0725f0337de149aaa989ca; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 73ae349534ebc377328e7d21891e589626c6e82c; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < ed898f9ca3fa32c56c858b463ceb9d9936cc69c4; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < f8138f2ad2f745b9a1c696a05b749eabe44337ea; Linux 2.6.13
- Fixed in
- Linux 4c43ad4ab41602201d34c66ac62130fe339d686f, Linux 911cc83e56a2de5a40758766c6a70d6998248860, Linux 53e21cfa68a7d12de378b7116c75571f73e0dfa2, Linux 73ae349534ebc377328e7d21891e589626c6e82c, Linux 5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02
- 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.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- CWE
- CWE-362
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: filelock: Fix fcntl/close race recovery compat path When I wrote commit 3cad1bc01041 ("filelock: Remove locks reliably when fcntl/close race is detected"), I missed that there are two copies of the code I was patching: The normal version, and the version for 64-bit offsets on 32-bit kernels. Thanks to Greg KH for stumbling over this while doing the stable backport... Apply exactly the same fix to the compat path for 32-bit kernels.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= c293621bbf678a3d85e3ed721c3921c8a670610d, < a561145f3ae973ebf3e0aee41624e92a6c5cb38d; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 4c43ad4ab41602201d34c66ac62130fe339d686f; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 911cc83e56a2de5a40758766c6a70d6998248860; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 53e21cfa68a7d12de378b7116c75571f73e0dfa2; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < f4d0775c6e2f1340ca0725f0337de149aaa989ca; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 73ae349534ebc377328e7d21891e589626c6e82c; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < ed898f9ca3fa32c56c858b463ceb9d9936cc69c4; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < f8138f2ad2f745b9a1c696a05b749eabe44337ea | — | cvelist |
| Linux | 2.6.13 | — | 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-41020. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-41020.md Affected: Linux >= c293621bbf678a3d85e3ed721c3921c8a670610d, < a561145f3ae973ebf3e0aee41624e92a6c5cb38d; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 4c43ad4ab41602201d34c66ac62130fe339d686f; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 911cc83e56a2de5a40758766c6a70d6998248860; >= c293621bbf678a3d85e3ed7… Fixed in: Linux 4c43ad4ab41602201d34c66ac62130fe339d686f, Linux 911cc83e56a2de5a40758766c6a70d6998248860, Linux 53e21cfa68a7d12de378b7116c75571f73e0dfa2, Linux 73ae349534ebc377328e7d21891e589626c6e82c, Linux 5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02 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/a561145f3ae973ebf3e0aee41624e92a6c5cb38d
- https://git.kernel.org/stable/c/4c43ad4ab41602201d34c66ac62130fe339d686f
- https://git.kernel.org/stable/c/911cc83e56a2de5a40758766c6a70d6998248860
- https://git.kernel.org/stable/c/53e21cfa68a7d12de378b7116c75571f73e0dfa2
- https://git.kernel.org/stable/c/f4d0775c6e2f1340ca0725f0337de149aaa989ca
- https://git.kernel.org/stable/c/73ae349534ebc377328e7d21891e589626c6e82c
- https://git.kernel.org/stable/c/5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02
- https://git.kernel.org/stable/c/ed898f9ca3fa32c56c858b463ceb9d9936cc69c4
- https://git.kernel.org/stable/c/f8138f2ad2f745b9a1c696a05b749eabe44337ea
FAQ
Is CVE-2024-41020 being exploited?
There is no confirmed exploitation: CVE-2024-41020 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-41020?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-41020?
Linux >= c293621bbf678a3d85e3ed721c3921c8a670610d, < a561145f3ae973ebf3e0aee41624e92a6c5cb38d; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 4c43ad4ab41602201d34c66ac62130fe339d686f; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 911cc83e56a2de5a40758766c6a70d6998248860; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 53e21cfa68a7d12de378b7116c75571f73e0dfa2; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < f4d0775c6e2f1340ca0725f0337de149aaa989ca; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 73ae349534ebc377328e7d21891e589626c6e82c; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < 5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < ed898f9ca3fa32c56c858b463ceb9d9936cc69c4; >= c293621bbf678a3d85e3ed721c3921c8a670610d, < f8138f2ad2f745b9a1c696a05b749eabe44337ea; Linux 2.6.13.
Is there a fix for CVE-2024-41020?
Yes. Fixed in Linux 4c43ad4ab41602201d34c66ac62130fe339d686f, Linux 911cc83e56a2de5a40758766c6a70d6998248860, Linux 53e21cfa68a7d12de378b7116c75571f73e0dfa2, Linux 73ae349534ebc377328e7d21891e589626c6e82c, Linux 5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-41020?
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.