CVE-2025-38579
f2fs: fix KMSAN uninit-value in extent_info usage
Mitigation
- Upgrade Linux to 154467f4ad033473e5c903a03e7b9bca7df9a0fa or later.
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
Vulnerability facts
- Affected
- Linux >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 08e8ab00a6d20d5544c932ee85a297d833895141; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < e68b751ec2b15d866967812c57cfdfc1eba6a269; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 44a79437309e0ee2276ac17aaedc71253af253a8; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < cc1615d5aba4f396cf412579928539a2b124c8a0; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 01b6f5955e0008af6bc3a181310d2744bb349800; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 154467f4ad033473e5c903a03e7b9bca7df9a0fa; Linux 5.15
- Fixed in
- Linux 08e8ab00a6d20d5544c932ee85a297d833895141, Linux 44a79437309e0ee2276ac17aaedc71253af253a8, Linux 01b6f5955e0008af6bc3a181310d2744bb349800, Linux 154467f4ad033473e5c903a03e7b9bca7df9a0fa
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-908
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 08e8ab00a6d20d5544c932ee85a297d833895141; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < e68b751ec2b15d866967812c57cfdfc1eba6a269; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 44a79437309e0ee2276ac17aaedc71253af253a8; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < cc1615d5aba4f396cf412579928539a2b124c8a0; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 01b6f5955e0008af6bc3a181310d2744bb349800; >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 154467f4ad033473e5c903a03e7b9bca7df9a0fa | — | cvelist |
| Linux | 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- https://git.kernel.org/stable/c/08e8ab00a6d20d5544c932ee85a297d833895141
- https://git.kernel.org/stable/c/e68b751ec2b15d866967812c57cfdfc1eba6a269
- https://git.kernel.org/stable/c/dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898
- https://git.kernel.org/stable/c/44a79437309e0ee2276ac17aaedc71253af253a8
- https://git.kernel.org/stable/c/cc1615d5aba4f396cf412579928539a2b124c8a0
- https://git.kernel.org/stable/c/01b6f5955e0008af6bc3a181310d2744bb349800
- https://git.kernel.org/stable/c/154467f4ad033473e5c903a03e7b9bca7df9a0fa
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.