# f2fs: fix to avoid UAF in f2fs_sync_inode_meta()

CVE record · `CVE-2025-38578`

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

Published by the CVE Program (CNA: Linux) at 19 Aug 2025, 17:03 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: `0f18b462b2e5aff64b8638e8a47284b907351ef3 to before 37e78cad7e9e025e63bb35bc200f44637b009bb1` (git)
  - affected: `0f18b462b2e5aff64b8638e8a47284b907351ef3 to before 4dcd830c420f2190ae32f03626039fde7b57b2ad` (git)
  - affected: `0f18b462b2e5aff64b8638e8a47284b907351ef3 to before 1edf68272b8cba2b2817ef1488ecb9f0f84cb6a0` (git)
  - affected: `0f18b462b2e5aff64b8638e8a47284b907351ef3 to before 917ae5e280bc263f56c83fba0d0f0be2c4828083` (git)
  - affected: `0f18b462b2e5aff64b8638e8a47284b907351ef3 to before 3d37cadaac1a8e108e576297aab9125b24ea2dfe` (git)
  - affected: `0f18b462b2e5aff64b8638e8a47284b907351ef3 to before dea243f58a8391e76f42ad5eb59ff210519ee772` (git)
  - affected: `0f18b462b2e5aff64b8638e8a47284b907351ef3 to before a4b0cc9e0bba7525a29f37714e88df12a47997a2` (git)
  - affected: `0f18b462b2e5aff64b8638e8a47284b907351ef3 to before 6cac47af39b2b8edbb41d47c3bd9c332f83e9932` (git)
  - affected: `0f18b462b2e5aff64b8638e8a47284b907351ef3 to before 7c30d79930132466f5be7d0b57add14d1a016bda` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.8`
  - unaffected: `before 4.8` (semver)
  - unaffected: `5.4.297 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.241 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.190 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.148 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.102 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.42 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.10 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16.1 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 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.0021, the 11th 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 19 Aug 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/37e78cad7e9e025e63bb35bc200f44637b009bb1>
- <https://git.kernel.org/stable/c/4dcd830c420f2190ae32f03626039fde7b57b2ad>
- <https://git.kernel.org/stable/c/1edf68272b8cba2b2817ef1488ecb9f0f84cb6a0>
- <https://git.kernel.org/stable/c/917ae5e280bc263f56c83fba0d0f0be2c4828083>
- <https://git.kernel.org/stable/c/3d37cadaac1a8e108e576297aab9125b24ea2dfe>
- <https://git.kernel.org/stable/c/dea243f58a8391e76f42ad5eb59ff210519ee772>
- <https://git.kernel.org/stable/c/a4b0cc9e0bba7525a29f37714e88df12a47997a2>
- <https://git.kernel.org/stable/c/6cac47af39b2b8edbb41d47c3bd9c332f83e9932>
- <https://git.kernel.org/stable/c/7c30d79930132466f5be7d0b57add14d1a016bda>

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

---

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