CVE-2025-38579
f2fs: fix KMSAN uninit-value in extent_info usage
Reported by linux · Published August 19, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.16.1, 6.15.10, 6.12.42, 6.6.102, 6.1.148, 5.15.190 |
| Linux | Linux | 154467f4ad033473e5c903a03e7b9bca7df9a0fa |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 94afd6d6e5253179c9b891d02081cc8355a11768, 94afd6d6e5253179c9b891d02081cc8355a11768, 94afd6d6e5253179c9b891d02081cc8355a11768 |
| Linux | Linux | 5.15, 0, 5.15.190 |
| Linux | Linux | 6.6.102, 5.15.190, 6.1.148 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
Timeline
- Aug 19, 2025 CVE Published
- Aug 20, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (13 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (180 in total, the first dated here)
- Mar 29, 2026 Security Advisory (204 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38579
vulnetix vdb fixes CVE-2025-38579
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38579/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart