Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38579

published high CVSS 3.1 · 7.8

f2fs: fix KMSAN uninit-value in extent_info usage

Published
19 Aug 2025, 17:03:02 UTC
Updated
05 Aug 2026, 12:03:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux94afd6d6e5253179c9b891d02081cc8355a11768 to < 08e8ab00a6d20d5544c932ee85a297d833895141 · 94afd6d6e5253179c9b891d02081cc8355a11768 to < e68b751ec2b15d866967812c57cfdfc1eba6a269 · 94afd6d6e5253179c9b891d02081cc8355a11768 to < dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898 · 94afd6d6e5253179c9b891d02081cc8355a11768 to < 44a79437309e0ee2276ac17aaedc71253af253a8 · 94afd6d6e5253179c9b891d02081cc8355a11768 to < cc1615d5aba4f396cf412579928539a2b124c8a0 · 94afd6d6e5253179c9b891d02081cc8355a11768 to < 01b6f5955e0008af6bc3a181310d2744bb349800 · 94afd6d6e5253179c9b891d02081cc8355a11768 to < 154467f4ad033473e5c903a03e7b9bca7df9a0fa · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.190 through 5.15.* (unaffected · semver) · 6.1.148 through 6.1.* (unaffected · semver) · 6.6.102 through 6.6.* (unaffected · semver) · 6.12.42 through 6.12.* (unaffected · semver) · 6.15.10 through 6.15.* (unaffected · semver) · 6.16.1 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.153-1~deb11u1 DLA-4328-1
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1097 Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-aws-5.15-headers-5.15.0-1097 Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal linux-aws-5.15-tools-5.15.0-1097 Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1102 Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1102 Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1102 Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-buildinfo-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1049-nvidia-tegra-rt Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1094-oracle Advisory build 5.15.0-1094.100~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-buildinfo-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-163-generic-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-163-generic-lpae Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-163-lowlatency-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-cloud-tools-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-cloud-tools-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-cloud-tools-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-cloud-tools-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-cloud-tools-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1097 Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1097 Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1049-nvidia-tegra-rt Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1094-oracle Advisory build 5.15.0-1094.100~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-headers-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-163-generic-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-163-generic-lpae Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-163-lowlatency-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1091 Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1091 Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-image-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-5.15.0-163-generic-lpae Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1049-nvidia-tegra-rt Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1094-oracle Advisory build 5.15.0-1094.100~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-image-unsigned-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-163-generic-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-163-lowlatency-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1092 Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1092 Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1092 Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1049-nvidia-tegra-rt Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1094-oracle Advisory build 5.15.0-1094.100~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-modules-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-163-generic-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-163-generic-lpae Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-163-lowlatency-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-extra-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-modules-extra-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-modules-extra-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-modules-extra-5.15.0-1094-oracle Advisory build 5.15.0-1094.100~20.04.1 USN-7909-1
Ubuntu focal linux-modules-extra-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-modules-extra-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-modules-extra-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-modules-extra-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-involflt-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-modules-iwlwifi-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-modules-iwlwifi-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

34

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - f2fs is a local block-device filesystem; the uninitialized `extent_info` is consumed in `do_read_inode()`/`f2fs_init_read_extent_tree()`, reached by ordinary local file access (open/stat/read) on a mounted f2fs volume or by mounting a crafted image. There is no network-facing consumer of this code path. AC:L - The defect is deterministic — every regular-file inode loaded on an f2fs mount with the default read extent cache runs `get_read_extent_info()` over a stack-resident `struct extent_info` whose union bytes are never written, and the attacker both grooms the kernel stack (a preceding syscall leaves chosen values at that frame depth) and triggers the read at will. No race and no condition outside the attacker's control. PR:L - Any unprivileged local user who can open a file on an f2fs filesystem reaches `f2fs_iget()`→`do_read_inode()`→`f2fs_init_read_extent_tree()`; no capability, no CAP_SYS_ADMIN and no mount privilege is checked on this path. f2fs is the default userdata filesystem on Android and is common on embedded/IoT rootfs, so unprivileged app access suffices. UI:N - No victim action is required — the filesystem is already mounted in the normal deployment, and the attacker triggers the uninitialized read itself by touching any regular file. Nothing must be opened, plugged in, or mounted by another user. S:U - The uninitialized data stays inside the kernel's own extent cache and page cache within the same security authority; no VM, hypervisor, IOMMU, or sandbox boundary is crossed. C:H - Uninitialized kernel stack bytes are persisted into the long-lived extent tree (`en->ei`, `et->largest`) and are printed verbatim to the kernel log by `f2fs_err_ratelimited()` in `__insert_extent_tree()`, which formats `ei.age`/`ei.last_blocks` — direct aliases of the never-written union bytes, potentially containing kernel pointers or residual data. Worse, a garbage `c_len` corrupts the `__is_extent_mergeable()` decision so an extent's file-offset→block mapping becomes wrong, causing `f2fs_read_multi_pages()` to fetch and decompress unrelated on-disk blocks (`ei.blk + i - 1`) into this file's page cache, disclosing other files' data to the reader. I:H - The corrupted merge decision and the bogus `nr_cpages` bound derived from the uninitialized `c_len` make the compressed read path read the wrong physical blocks and decompress them into the inode's page cache, so applications silently observe corrupted file contents; the same paths set `SBI_NEED_FSCK` and `FI_COMPRESS_CORRUPT`, corrupting filesystem state that later writeback and fsck act on. A:H - Over-long/overlapping extents produced by the bad merge reach the corrupted-extent branch of `__insert_extent_tree()`, which calls `f2fs_bug_on(sbi, 1)` — a hard `BUG_ON()` panic with `CONFIG_F2FS_CHECK_FS` and a `WARN_ON()` (panic under `panic_on_warn`) otherwise — and the mismatched compressed-block count trips `f2fs_handle_error(sbi, ERROR_FAIL_DECOMPRESSION)` with `-EFSCORRUPTED`/EIO, denying access to file data.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 94afd6d6e5253179c9b891d02081cc8355a11768 to < 08e8ab00a6d20d5544c932ee85a297d833895141 (affected · git)94afd6d6e5253179c9b891d02081cc8355a11768 to < e68b751ec2b15d866967812c57cfdfc1eba6a269 (affected · git)94afd6d6e5253179c9b891d02081cc8355a11768 to < dabfa3952c8e6bfe6414dbf32e8b6c5f349dc898 (affected · git)94afd6d6e5253179c9b891d02081cc8355a11768 to < 44a79437309e0ee2276ac17aaedc71253af253a8 (affected · git)94afd6d6e5253179c9b891d02081cc8355a11768 to < cc1615d5aba4f396cf412579928539a2b124c8a0 (affected · git)94afd6d6e5253179c9b891d02081cc8355a11768 to < 01b6f5955e0008af6bc3a181310d2744bb349800 (affected · git)94afd6d6e5253179c9b891d02081cc8355a11768 to < 154467f4ad033473e5c903a03e7b9bca7df9a0fa (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.190 through 5.15.* (unaffected · semver)6.1.148 through 6.1.* (unaffected · semver)6.6.102 through 6.6.* (unaffected · semver)6.12.42 through 6.12.* (unaffected · semver)6.15.10 through 6.15.* (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

2

Linux · cna

f2fs: fix KMSAN uninit-value in extent_info usage

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
5cde5e42bce245847c23befc849ad74d4aa0706c706c74aaf4dc9a378ab12c2d
Ingested
23 Sep 2026, 08:46:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected