Linux
f2fs: fix KMSAN uninit-value in extent_info usage
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 08e8ab00a6d20d5544c932ee85a297d833895141
- >= 94afd6d6e5253179c9b891d02081cc8355a11768, < e68b751ec2b15d866967812c57cfdfc1eba6a269
- >= 94afd6d6e5253179c9b891d02081cc8355a11768, < dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898
- >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 44a79437309e0ee2276ac17aaedc71253af253a8
- >= 94afd6d6e5253179c9b891d02081cc8355a11768, < cc1615d5aba4f396cf412579928539a2b124c8a0
- >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 01b6f5955e0008af6bc3a181310d2744bb349800
- >= 94afd6d6e5253179c9b891d02081cc8355a11768, < 154467f4ad033473e5c903a03e7b9bca7df9a0fa
Fixed in 08e8ab00a6d20d5544c932ee85a297d833895141, e68b751ec2b15d866967812c57cfdfc1eba6a269, dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898, 44a79437309e0ee2276ac17aaedc71253af253a8, cc1615d5aba4f396cf412579928539a2b124c8a0, 01b6f5955e0008af6bc3a181310d2744bb349800, 154467f4ad033473e5c903a03e7b9bca7df9a0fa
- 5.15
Fixed in 0, 5.15.190, 6.1.148, 6.6.102, 6.12.42, 6.15.10, 6.16.1, 6.17
Mitigation
Upgrade Linux to 08e8ab00a6d20d5544c932ee85a297d833895141 or e68b751ec2b15d866967812c57cfdfc1eba6a269 or dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898 or 44a79437309e0ee2276ac17aaedc71253af253a8 or cc1615d5aba4f396cf412579928539a2b124c8a0 or 01b6f5955e0008af6bc3a181310d2744bb349800 or 154467f4ad033473e5c903a03e7b9bca7df9a0fa or later.
Upgrade Linux to 0 or 5.15.190 or 6.1.148 or 6.6.102 or 6.12.42 or 6.15.10 or 6.16.1 or 6.17 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.