# f2fs: prevent kernel warning due to negative i_nlink from corrupted image

CVE record · `CVE-2025-38219`

- **Identifiers:** `CVE-2025-38219`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Jul 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Jul 2025, 13:37 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: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before d9a55869d8237e677ddaa18b0f58586364cfbc1c` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 1f6332872374b7f482fc4ad865f9422fedb587fc` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before fbfe8446cd3274b9e367f5708d94574230a44409` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 5018d035530b6fbfad33eeb1dd1bc87da419a276` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before a87cbcc909ccfd394d4936a94663f586453d0961` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before aaa644e7ffff02e12c89cbce4753bc0b6f23ff87` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before d14cbed4baccd712447fb3f9c011f008b56b2097` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 42cb74a92adaf88061039601ddf7c874f58b554e` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.8`
  - unaffected: `before 3.8` (semver)
  - unaffected: `5.4.295 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.239 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.186 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.142 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.95 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.35 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.4 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 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

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 8th percentile, on 20 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 Jul 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/d9a55869d8237e677ddaa18b0f58586364cfbc1c>
- <https://git.kernel.org/stable/c/1f6332872374b7f482fc4ad865f9422fedb587fc>
- <https://git.kernel.org/stable/c/fbfe8446cd3274b9e367f5708d94574230a44409>
- <https://git.kernel.org/stable/c/5018d035530b6fbfad33eeb1dd1bc87da419a276>
- <https://git.kernel.org/stable/c/a87cbcc909ccfd394d4936a94663f586453d0961>
- <https://git.kernel.org/stable/c/aaa644e7ffff02e12c89cbce4753bc0b6f23ff87>
- <https://git.kernel.org/stable/c/d14cbed4baccd712447fb3f9c011f008b56b2097>
- <https://git.kernel.org/stable/c/42cb74a92adaf88061039601ddf7c874f58b554e>

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

---

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