CVE-2025-38579

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

09 Jan 2026, 13:57

Type Values Removed Values Added
CPE cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux
Debian
Debian debian Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/01b6f5955e0008af6bc3a181310d2744bb349800 - () https://git.kernel.org/stable/c/01b6f5955e0008af6bc3a181310d2744bb349800 - Patch
References () https://git.kernel.org/stable/c/08e8ab00a6d20d5544c932ee85a297d833895141 - () https://git.kernel.org/stable/c/08e8ab00a6d20d5544c932ee85a297d833895141 - Patch
References () https://git.kernel.org/stable/c/154467f4ad033473e5c903a03e7b9bca7df9a0fa - () https://git.kernel.org/stable/c/154467f4ad033473e5c903a03e7b9bca7df9a0fa - Patch
References () https://git.kernel.org/stable/c/44a79437309e0ee2276ac17aaedc71253af253a8 - () https://git.kernel.org/stable/c/44a79437309e0ee2276ac17aaedc71253af253a8 - Patch
References () https://git.kernel.org/stable/c/cc1615d5aba4f396cf412579928539a2b124c8a0 - () https://git.kernel.org/stable/c/cc1615d5aba4f396cf412579928539a2b124c8a0 - Patch
References () https://git.kernel.org/stable/c/dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898 - () https://git.kernel.org/stable/c/dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898 - Patch
References () https://git.kernel.org/stable/c/e68b751ec2b15d866967812c57cfdfc1eba6a269 - () https://git.kernel.org/stable/c/e68b751ec2b15d866967812c57cfdfc1eba6a269 - Patch
References () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - Third Party Advisory, Mailing List
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CWE CWE-908

03 Nov 2025, 18:16

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html -

28 Aug 2025, 15:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/08e8ab00a6d20d5544c932ee85a297d833895141 -

20 Aug 2025, 14:40

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: f2fs: corrección del valor no inicializado de KMSAN en el uso de extent_info. KMSAN informó del uso de un valor no inicializado en `__is_extent_mergeable()` y `__is_back_mergeable()` mediante la ruta de lectura del árbol de extensiones. La causa principal es que `get_read_extent_info()` solo inicializa tres campos (`fofs`, `blk`, `len`) de `struct extent_info`, dejando los campos restantes sin inicializar. Esto provoca un comportamiento indefinido al acceder a dichos campos posteriormente, especialmente durante la fusión de extensiones. Para solucionarlo, inicialice a cero la estructura `extent_info` antes de rellenarla.

19 Aug 2025, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-19 17:15

Updated : 2026-01-09 13:57


NVD link : CVE-2025-38579

Mitre link : CVE-2025-38579

CVE.ORG link : CVE-2025-38579


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-908

Use of Uninitialized Resource