{"id":"CVE-2025-38579","summary":"f2fs: fix KMSAN uninit-value in extent_info usage","details":"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.","modified":"2026-04-16T04:43:39.745630137Z","published":"2025-08-19T17:03:02.308Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38579.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01b6f5955e0008af6bc3a181310d2744bb349800"},{"type":"WEB","url":"https://git.kernel.org/stable/c/08e8ab00a6d20d5544c932ee85a297d833895141"},{"type":"WEB","url":"https://git.kernel.org/stable/c/154467f4ad033473e5c903a03e7b9bca7df9a0fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/44a79437309e0ee2276ac17aaedc71253af253a8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc1615d5aba4f396cf412579928539a2b124c8a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e68b751ec2b15d866967812c57cfdfc1eba6a269"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38579.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38579"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"94afd6d6e5253179c9b891d02081cc8355a11768"},{"fixed":"08e8ab00a6d20d5544c932ee85a297d833895141"},{"fixed":"e68b751ec2b15d866967812c57cfdfc1eba6a269"},{"fixed":"dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898"},{"fixed":"44a79437309e0ee2276ac17aaedc71253af253a8"},{"fixed":"cc1615d5aba4f396cf412579928539a2b124c8a0"},{"fixed":"01b6f5955e0008af6bc3a181310d2744bb349800"},{"fixed":"154467f4ad033473e5c903a03e7b9bca7df9a0fa"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38579.json"}}],"schema_version":"1.7.5"}