# filelock: Fix fcntl/close race recovery compat path

CVE record · `CVE-2024-41020`

- **Identifiers:** `CVE-2024-41020`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 29 Jul 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 29 Jul 2024, 13:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `c293621bbf678a3d85e3ed721c3921c8a670610d to before a561145f3ae973ebf3e0aee41624e92a6c5cb38d` (git)
  - affected: `c293621bbf678a3d85e3ed721c3921c8a670610d to before 4c43ad4ab41602201d34c66ac62130fe339d686f` (git)
  - affected: `c293621bbf678a3d85e3ed721c3921c8a670610d to before 911cc83e56a2de5a40758766c6a70d6998248860` (git)
  - affected: `c293621bbf678a3d85e3ed721c3921c8a670610d to before 53e21cfa68a7d12de378b7116c75571f73e0dfa2` (git)
  - affected: `c293621bbf678a3d85e3ed721c3921c8a670610d to before f4d0775c6e2f1340ca0725f0337de149aaa989ca` (git)
  - affected: `c293621bbf678a3d85e3ed721c3921c8a670610d to before 73ae349534ebc377328e7d21891e589626c6e82c` (git)
  - affected: `c293621bbf678a3d85e3ed721c3921c8a670610d to before 5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02` (git)
  - affected: `c293621bbf678a3d85e3ed721c3921c8a670610d to before ed898f9ca3fa32c56c858b463ceb9d9936cc69c4` (git)
  - affected: `c293621bbf678a3d85e3ed721c3921c8a670610d to before f8138f2ad2f745b9a1c696a05b749eabe44337ea` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.13`
  - unaffected: `before 2.6.13` (semver)
  - unaffected: `4.19.319 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.281 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.223 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.164 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.102 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.43 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.12 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10.2 to 6.10.*, inclusive` (semver)
  - unaffected: `6.11 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 9th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 29 Jul 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-41020](https://www.cve.org/CVERecord?id=CVE-2024-41020)
- [NVD: CVE-2024-41020](https://nvd.nist.gov/vuln/detail/CVE-2024-41020)

### References from the CNA

- <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>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-41020>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-41020/>. Everything for agents: <https://agentprime.io/llms.txt>.
