{"id":"CVE-2025-38579","aliases":["CVE-2025-38579"],"related":[],"kind":"vulnerability","state":"published","title":"f2fs: fix KMSAN uninit-value in extent_info usage","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix KMSAN uninit-value in extent_info usage\n\nKMSAN reported a use of uninitialized value in `__is_extent_mergeable()`\n and `__is_back_mergeable()` via the read extent tree path.\n\nThe root cause is that `get_read_extent_info()` only initializes three\nfields (`fofs`, `blk`, `len`) of `struct extent_info`, leaving the\nremaining fields uninitialized. This leads to undefined behavior\nwhen those fields are accessed later, especially during\nextent merging.\n\nFix it by zero-initializing the `extent_info` struct before population.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix KMSAN uninit-value in extent_info usage\n\nKMSAN reported a use of uninitialized value in `__is_extent_mergeable()`\n and `__is_back_mergeable()` via the read extent tree path.\n\nThe root cause is that `get_read_extent_info()` only initializes three\nfields (`fofs`, `blk`, `len`) of `struct extent_info`, leaving the\nremaining fields uninitialized. This leads to undefined behavior\nwhen those fields are accessed later, especially during\nextent merging.\n\nFix it by zero-initializing the `extent_info` struct before population.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-08-19T17:03:02.308Z","modified":"2026-08-05T12:03:06.641Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"type":"git","introduced":"94afd6d6e5253179c9b891d02081cc8355a11768","fixed":"08e8ab00a6d20d5544c932ee85a297d833895141","status":"affected"},{"type":"git","introduced":"94afd6d6e5253179c9b891d02081cc8355a11768","fixed":"e68b751ec2b15d866967812c57cfdfc1eba6a269","status":"affected"},{"type":"git","introduced":"94afd6d6e5253179c9b891d02081cc8355a11768","fixed":"dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898","status":"affected"},{"type":"git","introduced":"94afd6d6e5253179c9b891d02081cc8355a11768","fixed":"44a79437309e0ee2276ac17aaedc71253af253a8","status":"affected"},{"type":"git","introduced":"94afd6d6e5253179c9b891d02081cc8355a11768","fixed":"cc1615d5aba4f396cf412579928539a2b124c8a0","status":"affected"},{"type":"git","introduced":"94afd6d6e5253179c9b891d02081cc8355a11768","fixed":"01b6f5955e0008af6bc3a181310d2744bb349800","status":"affected"},{"type":"git","introduced":"94afd6d6e5253179c9b891d02081cc8355a11768","fixed":"154467f4ad033473e5c903a03e7b9bca7df9a0fa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.148","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.102","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.42","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.10","lastAffected":"6.15.*","status":"unaffected"},{"type":"semver","introduced":"6.16.1","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.148"},{"status":"affected","introduced":"6.2","fixed":"6.6.102"},{"status":"affected","introduced":"6.7","fixed":"6.12.42"},{"status":"affected","introduced":"6.13","fixed":"6.15.10"},{"status":"affected","introduced":"6.16","fixed":"6.16.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/08e8ab00a6d20d5544c932ee85a297d833895141","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e68b751ec2b15d866967812c57cfdfc1eba6a269","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/44a79437309e0ee2276ac17aaedc71253af253a8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc1615d5aba4f396cf412579928539a2b124c8a0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01b6f5955e0008af6bc3a181310d2744bb349800","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/154467f4ad033473e5c903a03e7b9bca7df9a0fa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38579","url":"https://www.cve.org/CVERecord?id=CVE-2025-38579","licence":"CVE Terms of Use","modified":"2026-08-05T12:03:06.641Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38579","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38579","licence":"Public domain","modified":"2026-07-30T06:23:28.233Z"}],"updatedAt":"2026-11-25T22:59:02.723Z","epss":{"score":0.00201,"percentile":0.10596,"date":"2026-12-01T12:00:22.000Z"}}