{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38579","id":"CVE-2025-38579","title":"f2fs: fix KMSAN uninit-value in extent_info usage","description":"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\nremainin","descriptionLong":"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.","published":"2025-08-19T17:03:02.308Z","updated":"2026-10-28T02:31:09.095981726Z","reserved":"2025-04-16T04:51:24.026Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"94afd6d6e5253179c9b891d02081cc8355a11768","lessThan":"08e8ab00a6d20d5544c932ee85a297d833895141","status":"affected","versionType":"git"},{"version":"94afd6d6e5253179c9b891d02081cc8355a11768","lessThan":"e68b751ec2b15d866967812c57cfdfc1eba6a269","status":"affected","versionType":"git"},{"version":"94afd6d6e5253179c9b891d02081cc8355a11768","lessThan":"dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898","status":"affected","versionType":"git"},{"version":"94afd6d6e5253179c9b891d02081cc8355a11768","lessThan":"44a79437309e0ee2276ac17aaedc71253af253a8","status":"affected","versionType":"git"},{"version":"94afd6d6e5253179c9b891d02081cc8355a11768","lessThan":"cc1615d5aba4f396cf412579928539a2b124c8a0","status":"affected","versionType":"git"},{"version":"94afd6d6e5253179c9b891d02081cc8355a11768","lessThan":"01b6f5955e0008af6bc3a181310d2744bb349800","status":"affected","versionType":"git"},{"version":"94afd6d6e5253179c9b891d02081cc8355a11768","lessThan":"154467f4ad033473e5c903a03e7b9bca7df9a0fa","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.15.190","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.148","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.102","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.42","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.10","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16.1","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-908"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/08e8ab00a6d20d5544c932ee85a297d833895141","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e68b751ec2b15d866967812c57cfdfc1eba6a269","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/44a79437309e0ee2276ac17aaedc71253af253a8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cc1615d5aba4f396cf412579928539a2b124c8a0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/01b6f5955e0008af6bc3a181310d2744bb349800","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/154467f4ad033473e5c903a03e7b9bca7df9a0fa","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38579.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38579","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00187,"epssPercentile":0.08429,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38579","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38579","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38579","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38579","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}