CVE-2024-41020
MEDIUM 4.7CVSS 3.1In 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.
- Published
- 29 Jul 2024
- Last modified
- 4 Aug 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-362
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 2.6.14, < 4.19.319 | 4.19.319 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.20, < 5.4.281 | 5.4.281 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.5, < 5.10.223 | 5.10.223 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.164 | 5.15.164 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.102 | 6.1.102 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.43 | 6.6.43 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.9.12 | 6.9.12 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.10, < 6.10.2 | 6.10.2 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.13:-:*:*:*:*:*:* |
= 2.6.13 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.13:rc4:*:*:*:*:*:* |
= 2.6.13 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.13:rc5:*:*:*:*:*:* |
= 2.6.13 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.13:rc6:*:*:*:*:*:* |
= 2.6.13 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.13:rc7:*:*:*:*:*:* |
= 2.6.13 |
References
- https://git.kernel.org/stable/c/4c43ad4ab41602201d34c66ac62130fe339d686f · Patch
- https://git.kernel.org/stable/c/53e21cfa68a7d12de378b7116c75571f73e0dfa2 · Patch
- https://git.kernel.org/stable/c/5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02 · Patch
- https://git.kernel.org/stable/c/73ae349534ebc377328e7d21891e589626c6e82c · Patch
- https://git.kernel.org/stable/c/911cc83e56a2de5a40758766c6a70d6998248860 · Patch
- https://git.kernel.org/stable/c/a561145f3ae973ebf3e0aee41624e92a6c5cb38d · Patch
- https://git.kernel.org/stable/c/ed898f9ca3fa32c56c858b463ceb9d9936cc69c4 · Patch
- https://git.kernel.org/stable/c/f4d0775c6e2f1340ca0725f0337de149aaa989ca · Patch
- https://git.kernel.org/stable/c/f8138f2ad2f745b9a1c696a05b749eabe44337ea · Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 29 Jul 2024)