# filelock: fix potential use-after-free in posix_lock_inode

CVE record · `CVE-2024-41049`

- **Identifiers:** `CVE-2024-41049`
- **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, 14:32 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: `117fb80cd1e63c419c7a221ce070becb4bfc7b6d to before 1cbbb3d9475c403ebedc327490c7c2b991398197` (git)
  - affected: `a6f4129378ca15f62cbdde09a7d3ccc35adcf49d to before 7d4c14f4b511fd4c0dc788084ae59b4656ace58b` (git)
  - affected: `766e56faddbec2eaf70c9299e1c9ef74d846d32b to before 02a8964260756c70b20393ad4006948510ac9967` (git)
  - affected: `34bff6d850019e00001129d6de3aa4874c2cf471 to before 5cb36e35bc10ea334810937990c2b9023dacb1b0` (git)
  - affected: `74f6f5912693ce454384eaeec48705646a21c74f to before 432b06b69d1d354a171f7499141116536579eb6a` (git)
  - affected: `74f6f5912693ce454384eaeec48705646a21c74f to before 116599f6a26906cf33f67975c59f0692ecf7e9b2` (git)
  - affected: `74f6f5912693ce454384eaeec48705646a21c74f to before 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92` (git)
  - affected: `e75396988bb9b3b90e6e8690604d0f566cea403a` (git)
  - affected: `5.4.257 to before 5.4.280` (semver)
  - affected: `5.10.197 to before 5.10.222` (semver)
  - affected: `5.15.133 to before 5.15.163` (semver)
  - affected: `6.1.55 to before 6.1.100` (semver)
  - and 1 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.6`
  - unaffected: `before 6.6` (semver)
  - unaffected: `5.4.280 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.222 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.163 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.100 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.41 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.10 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10 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.0028, the 20th 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-41049](https://www.cve.org/CVERecord?id=CVE-2024-41049)
- [NVD: CVE-2024-41049](https://nvd.nist.gov/vuln/detail/CVE-2024-41049)

### References from the CNA

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

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-41049>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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