# ext4: guard against EA inode refcount underflow in xattr update

CVE record · `CVE-2025-40190`

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

Published by the CVE Program (CNA: Linux) at 12 Nov 2025, 21:56 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: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ea39e712c2f5ae148ee5515798ae03523673e002` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1cfb3e4ddbdc8e02e637b8852540bd4718bf4814` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 505e69f76ac497e788f4ea0267826ec7266b40c8` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3d6269028246f4484bfed403c947a114bb583631` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 79ea7f3e11effe1bd9e753172981d9029133a278` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6b879c4c6bbaab03c0ad2a983953bd1410bb165e` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 440b003f449a4ff2a00b08c8eab9ba5cd28f3943` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 57295e835408d8d425bef58da5253465db3d6888` (git)
  - affected: `before 5.4.301` (semver)
  - affected: `before 5.10.246` (semver)
  - affected: `before 5.15.195` (semver)
  - affected: `before 6.1.157` (semver)
  - and 3 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - unaffected: `5.4.301 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.195 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.157 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.113 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.54 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.4 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.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0018, the 7th 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 12 Nov 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/ea39e712c2f5ae148ee5515798ae03523673e002>
- <https://git.kernel.org/stable/c/1cfb3e4ddbdc8e02e637b8852540bd4718bf4814>
- <https://git.kernel.org/stable/c/505e69f76ac497e788f4ea0267826ec7266b40c8>
- <https://git.kernel.org/stable/c/3d6269028246f4484bfed403c947a114bb583631>
- <https://git.kernel.org/stable/c/79ea7f3e11effe1bd9e753172981d9029133a278>
- <https://git.kernel.org/stable/c/6b879c4c6bbaab03c0ad2a983953bd1410bb165e>
- <https://git.kernel.org/stable/c/440b003f449a4ff2a00b08c8eab9ba5cd28f3943>
- <https://git.kernel.org/stable/c/57295e835408d8d425bef58da5253465db3d6888>

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

---

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