# CVE-2024-41020: filelock: Fix fcntl/close race recovery compat path

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-07-29 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-41020, DEBIAN-CVE-2024-41020
- Record: https://cvemate.com/vulnerability/CVE-2024-41020 · JSON: https://cvemate.com/vulnerability/CVE-2024-41020/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.195%, percentile 9.679%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 133)

- debian linux (Debian): \< 6.1.106-1 \| \< 6.9.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-263.297 \| \< 4.15.0-233.245 \| \< 5.4.0-200.220 \| \< 5.15.0-125.135 \| \< 6.8.0-48.48
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1140.146 \| \< 4.4.0-1178.193 \| \< 4.15.0-1177.190 \| \< 5.4.0-1135.145 \| \< 5.15.0-1072.78 \| \< 6.8.0-1018.20
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1072.78~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1135.145~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1018.19~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2115.121 \| All versions (No fix recorded) \| \< 5.4.0-1135.145+fips1 \| \< 5.15.0-1072.78+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1177.190~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1185.200~14.04.1 \| \< 4.15.0-1185.200~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1140.147 \| \< 5.15.0-1075.84 \| \< 6.8.0-1017.20
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1185.200
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 40)

- <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>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-41020>
- <https://www.cve.org/CVERecord?id=CVE-2024-41020>
- <https://git.kernel.org/linus/f8138f2ad2f745b9a1c696a05b749eabe44337ea>
- <https://ubuntu.com/security/notices/USN-7088-1>
- <https://ubuntu.com/security/notices/USN-7089-1>
- <https://ubuntu.com/security/notices/USN-7090-1>
- <https://ubuntu.com/security/notices/USN-7088-2>
- <https://ubuntu.com/security/notices/USN-7089-2>
- <https://ubuntu.com/security/notices/USN-7088-3>
- <https://ubuntu.com/security/notices/USN-7089-3>

---

Data as of 2026-12-05T06:49:55.056Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
