# gfs2: Fix unlikely race in gdlm_put_lock

CVE record · `CVE-2025-40242`

- **Identifiers:** `CVE-2025-40242`
- **State:** Confirmed
- **Severity:** CVSS 7.0 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Dec 2025
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Dec 2025, 15:31 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: `d1340f80f0b8066321b499a376780da00560e857 to before 5fdc1474e678eea1700aa266c0b7c2c96f81dd0d` (git)
  - affected: `d1340f80f0b8066321b499a376780da00560e857 to before 4913592a3358f6ec366b8346b733d5e2360b08e1` (git)
  - affected: `d1340f80f0b8066321b499a376780da00560e857 to before 279bde3bbb0ac0bad5c729dfa85983d75a5d7641` (git)
  - affected: `d1340f80f0b8066321b499a376780da00560e857 to before 64c61b4ac645222fa7b724cef616c1f862a72a40` (git)
  - affected: `d1340f80f0b8066321b499a376780da00560e857 to before 28c4d9bc0708956c1a736a9e49fee71b65deee81` (git)
  - affected: `6aa628c45875e7b8cca81ed9447a12a0e8f3504a` (git)
  - affected: `a97e75203733be0a4263a78fb7b29352be150c1c` (git)
  - affected: `3554b46204e67333e1fb8be0e93936fb08267c80` (git)
  - affected: `5cff77b9827a956d076168b56775aad23bce87e4` (git)
  - affected: `8deedce385d220f90e435f534d71d27526273515` (git)
  - affected: `2225a5cd2fbc2ef0e0f78e585db3844f60416a39` (git)
  - affected: `02e838963fdaa6ce8570b5389aecdc6cf1fb40b0` (git)
  - and 9 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.15`
  - unaffected: `before 5.15` (semver)
  - unaffected: `6.1.168 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.131 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.56 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.6 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 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.0 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 4th percentile, on 19 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 4 Dec 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/5fdc1474e678eea1700aa266c0b7c2c96f81dd0d>
- <https://git.kernel.org/stable/c/4913592a3358f6ec366b8346b733d5e2360b08e1>
- <https://git.kernel.org/stable/c/279bde3bbb0ac0bad5c729dfa85983d75a5d7641>
- <https://git.kernel.org/stable/c/64c61b4ac645222fa7b724cef616c1f862a72a40>
- <https://git.kernel.org/stable/c/28c4d9bc0708956c1a736a9e49fee71b65deee81>

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

---

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