CVE-2025-38579 json
f2fs: fix KMSAN uninit-value in extent_info usage
published 2025-08-19 14 mo ago modified 2026-08-05 3 mo ago also EUVD-2025-26097
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.15.190, 6.1.148, 6.6.102, 6.12.42, 6.15.10, 6.16.1, 6.17
- linux Debian 12 6.1.148-1
- linux Debian 13 6.12.43-1
- linux Debian 14 6.16.3-1
debian advisories DEBIAN-CVE-2025-38579
- linux Ubuntu 22.04 LTS 5.15.0-163.173
- linux Ubuntu 24.04 LTS 6.8.0-100.100
- linux-aws Ubuntu 22.04 LTS 5.15.0-1097.104
- linux-aws Ubuntu 24.04 LTS 6.8.0-1046.49
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1097.106
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1047.50
- linux-gke Ubuntu 22.04 LTS 5.15.0-1093.99
- linux-gke Ubuntu 24.04 LTS 6.8.0-1043.48
ubuntu advisories UBUNTU-CVE-2025-38579
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/08e8ab00a6d20d5544c932ee85a297d833895141 commit
- git.kernel.org/stable/c/e68b751ec2b15d866967812c57cfdfc1eba6a269 commit
- git.kernel.org/stable/c/dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898 commit
- git.kernel.org/stable/c/44a79437309e0ee2276ac17aaedc71253af253a8 commit
- git.kernel.org/stable/c/cc1615d5aba4f396cf412579928539a2b124c8a0 commit
- git.kernel.org/stable/c/01b6f5955e0008af6bc3a181310d2744bb349800 commit
- git.kernel.org/stable/c/154467f4ad033473e5c903a03e7b9bca7df9a0fa commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-38579 updated
kernel: f2fs: fix KMSAN uninit-value in extent_info usage
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-908 Use of Uninitialized Resource
- Technology feeds
References
-
git.kernel.org
/stable/c/08e8ab00a6d20d5544c932ee85a297d833895141
patch
-
git.kernel.org
/stable/c/e68b751ec2b15d866967812c57cfdfc1eba6a269
patch
-
git.kernel.org
/stable/c/dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898
patch
-
git.kernel.org
/stable/c/44a79437309e0ee2276ac17aaedc71253af253a8
patch
-
git.kernel.org
/stable/c/cc1615d5aba4f396cf412579928539a2b124c8a0
patch
-
git.kernel.org
/stable/c/01b6f5955e0008af6bc3a181310d2744bb349800
patch
-
git.kernel.org
/stable/c/154467f4ad033473e5c903a03e7b9bca7df9a0fa
patch
-
lists.debian.org
/debian-lts-announce/2025/10/msg00008.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2025-38579
- NVD CVE-2025-38579
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.