CVE-2025-38579
f2fs: fix KMSAN uninit-value in extent_info usage
Check your servers for CVE-2025-38579
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38579 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 94afd6d6e5253179c9b891d02081cc8355a11768, before 08e8ab00a6d20d5544c932ee85a297d833895141 affected from 94afd6d6e5253179c9b891d02081cc8355a11768, before e68b751ec2b15d866967812c57cfdfc1eba6a269 affected from 94afd6d6e5253179c9b891d02081cc8355a11768, before dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898 affected from 94afd6d6e5253179c9b891d02081cc8355a11768, before 44a79437309e0ee2276ac17aaedc71253af253a8 affected from 94afd6d6e5253179c9b891d02081cc8355a11768, before cc1615d5aba4f396cf412579928539a2b124c8a0 affected from 94afd6d6e5253179c9b891d02081cc8355a11768, before 01b6f5955e0008af6bc3a181310d2744bb349800 affected from 94afd6d6e5253179c9b891d02081cc8355a11768, before 154467f4ad033473e5c903a03e7b9bca7df9a0fa
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.15.190 up to and including 5.15.* unaffected from 6.1.148 up to and including 6.1.* unaffected from 6.6.102 up to and including 6.6.* unaffected from 6.12.42 up to and including 6.12.* unaffected from 6.15.10 up to and including 6.15.* unaffected from 6.16.1 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38579 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38579
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38579
trivy image --scanners vuln IMAGE | grep CVE-2025-38579
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/08e8ab00a6d20d5544c932ee85a297d833895141 git.kernel.org
- https://git.kernel.org/stable/c/e68b751ec2b15d866967812c57cfdfc1eba6a269 git.kernel.org
- https://git.kernel.org/stable/c/dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898 git.kernel.org
- https://git.kernel.org/stable/c/44a79437309e0ee2276ac17aaedc71253af253a8 git.kernel.org
- https://git.kernel.org/stable/c/cc1615d5aba4f396cf412579928539a2b124c8a0 git.kernel.org
- https://git.kernel.org/stable/c/01b6f5955e0008af6bc3a181310d2744bb349800 git.kernel.org
- https://git.kernel.org/stable/c/154467f4ad033473e5c903a03e7b9bca7df9a0fa git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
Source: the record CVE-2025-38579 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse