# CVE-2025-38579: f2fs: fix KMSAN uninit-value in extent_info usage

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-08-19T17:03:02.308Z
- Modified: 2026-08-05T12:03:06.641Z
- Weaknesses: CWE-908
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 94afd6d6e5253179c9b891d02081cc8355a11768 before 08e8ab00a6d20d5544c932ee85a297d833895141; from 94afd6d6e5253179c9b891d02081cc8355a11768 before e68b751ec2b15d866967812c57cfdfc1eba6a269; from 94afd6d6e5253179c9b891d02081cc8355a11768 before dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898; from 94afd6d6e5253179c9b891d02081cc8355a11768 before 44a79437309e0ee2276ac17aaedc71253af253a8; from 94afd6d6e5253179c9b891d02081cc8355a11768 before cc1615d5aba4f396cf412579928539a2b124c8a0; from 94afd6d6e5253179c9b891d02081cc8355a11768 before 01b6f5955e0008af6bc3a181310d2744bb349800; from 94afd6d6e5253179c9b891d02081cc8355a11768 before 154467f4ad033473e5c903a03e7b9bca7df9a0fa; 5.15 (not affected: before 5.15; from 5.15.190 up to 5.15.*; from 6.1.148 up to 6.1.*; from 6.6.102 up to 6.6.*; from 6.12.42 up to 6.12.*; from 6.15.10 up to 6.15.*; from 6.16.1 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 5.15 before 5.15.190; from 5.16 before 6.1.148; from 6.2 before 6.6.102; from 6.7 before 6.12.42; from 6.13 before 6.15.10; from 6.16 before 6.16.1
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-38579](https://www.cve.org/CVERecord?id=CVE-2025-38579), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-38579](https://nvd.nist.gov/vuln/detail/CVE-2025-38579), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-38579 · Whole record: https://cve.day/CVE-2025-38579.json · Rebuilt by cve.day 2026-11-25T22:59:02.723Z
