CVE-2025-38579 Details
Description
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.
A vulnerability in the Linux kernel's F2FS file system has been addressed, concerning the improper management of extent information which could lead to undefined behavior. The issue arose because the function 'get_read_extent_info()' only initialized three fields of the 'extent_info' structure, leaving other fields uninitialized. This lack of proper initialization was problematic when the uninitialized fields were accessed later, particularly during the merging of extents. The vulnerability was identified by KMSAN, which reported the use of an uninitialized value in the extent merging process. The issue has been fixed by ensuring that the 'extent_info' structure is zero-initialized before it is populated with data.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux kernel's official website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/01b6f5955e0008af6bc3a181310d2744bb349800 | kernel.org | Patch |
| https://git.kernel.org/stable/c/08e8ab00a6d20d5544c932ee85a297d833895141 | kernel.org | Patch |
| https://git.kernel.org/stable/c/154467f4ad033473e5c903a03e7b9bca7df9a0fa | kernel.org | Patch |
| https://git.kernel.org/stable/c/44a79437309e0ee2276ac17aaedc71253af253a8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/cc1615d5aba4f396cf412579928539a2b124c8a0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e68b751ec2b15d866967812c57cfdfc1eba6a269 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-908 | Use of Uninitialized Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15, < 5.15.190 >= 5.16, < 6.1.148 >= 6.2, < 6.6.102 >= 6.7, < 6.12.42 >= 6.13, < 6.15.10 >= 6.16, < 6.16.1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 9, 2026 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 28, 2025 | CVE Modified | kernel.org |
| Aug 19, 2025 | New CVE Received | kernel.org |