# CVE-2025-38579: f2fs: fix KMSAN uninit-value in extent\_info usage

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-08-19T17:03:02.308Z
- **Modified:** 2026-08-05T12:03:06.641Z

## Who should check

- Anyone running Linux \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< 08e8ab00a6d20d5544c932ee85a297d833895141; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< e68b751ec2b15d866967812c57cfdfc1eba6a269; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< 44a79437309e0ee2276ac17aaedc71253af253a8; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< cc1615d5aba4f396cf412579928539a2b124c8a0; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< 01b6f5955e0008af6bc3a181310d2744bb349800; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< 154467f4ad033473e5c903a03e7b9bca7df9a0fa
- Anyone running Linux 5.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix KMSAN uninit-value in extent\_info usage

KMSAN reported a use of uninitialized value in \`\_\_is\_extent\_mergeable()\`
 and \`\_\_is\_back\_mergeable()\` via the read extent tree path.

The root cause is that \`get\_read\_extent\_info()\` only initializes three
fields (\`fofs\`, \`blk\`, \`len\`) of \`struct extent\_info\`, leaving the
remaining fields uninitialized. This leads to undefined behavior
when those fields are accessed later, especially during
extent merging.

Fix it by zero-initializing the \`extent\_info\` struct before population.

## Affected and fixed versions

- Linux: \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< 08e8ab00a6d20d5544c932ee85a297d833895141; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< e68b751ec2b15d866967812c57cfdfc1eba6a269; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< 44a79437309e0ee2276ac17aaedc71253af253a8; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< cc1615d5aba4f396cf412579928539a2b124c8a0; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< 01b6f5955e0008af6bc3a181310d2744bb349800; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< 154467f4ad033473e5c903a03e7b9bca7df9a0fa (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 154467f4ad033473e5c903a03e7b9bca7df9a0fa or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38579. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38579.md
Affected: Linux >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 08e8ab00a6d20d5544c932ee85a297d833895141; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < e68b751ec2b15d866967812c57cfdfc1eba6a269; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898; >= 94afd6d6e5253179c9b891d…
Fixed in: Linux 08e8ab00a6d20d5544c932ee85a297d833895141, Linux 44a79437309e0ee2276ac17aaedc71253af253a8, Linux 01b6f5955e0008af6bc3a181310d2744bb349800, Linux 154467f4ad033473e5c903a03e7b9bca7df9a0fa

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38579 being exploited?

There is no confirmed exploitation: CVE-2025-38579 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38579?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38579?

Linux \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< 08e8ab00a6d20d5544c932ee85a297d833895141; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< e68b751ec2b15d866967812c57cfdfc1eba6a269; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< 44a79437309e0ee2276ac17aaedc71253af253a8; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< cc1615d5aba4f396cf412579928539a2b124c8a0; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< 01b6f5955e0008af6bc3a181310d2744bb349800; \>= 94afd6d6e5253179c9b891d02081cc8355a11768, \< 154467f4ad033473e5c903a03e7b9bca7df9a0fa; Linux 5.15.

### Is there a fix for CVE-2025-38579?

Yes. Fixed in Linux 08e8ab00a6d20d5544c932ee85a297d833895141, Linux 44a79437309e0ee2276ac17aaedc71253af253a8, Linux 01b6f5955e0008af6bc3a181310d2744bb349800, Linux 154467f4ad033473e5c903a03e7b9bca7df9a0fa. Upgrade Linux to 154467f4ad033473e5c903a03e7b9bca7df9a0fa or later.

### How do I check if I'm affected by CVE-2025-38579?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/08e8ab00a6d20d5544c932ee85a297d833895141>
- patch: <https://git.kernel.org/stable/c/e68b751ec2b15d866967812c57cfdfc1eba6a269>
- patch: <https://git.kernel.org/stable/c/dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898>
- patch: <https://git.kernel.org/stable/c/44a79437309e0ee2276ac17aaedc71253af253a8>
- patch: <https://git.kernel.org/stable/c/cc1615d5aba4f396cf412579928539a2b124c8a0>
- patch: <https://git.kernel.org/stable/c/01b6f5955e0008af6bc3a181310d2744bb349800>
- patch: <https://git.kernel.org/stable/c/154467f4ad033473e5c903a03e7b9bca7df9a0fa>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38579>

HTML: <https://flawdb.com/CVE-2025-38579> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38579>
