CVE Database›CVE-2025-38579

CVE-2025-38579

kernel: f2fs: fix KMSAN uninit-value in extent_info usage

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · August 19, 2025

Updated · October 30, 2026

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.

Statement

This vulnerability poses no risk to Red Hat Enterprise Linux because the Flash-Friendly File System (f2fs) code is not present or enabled in supported Red Hat kernels. Exploitation would require a local user to mount and manipulate an f2fs filesystem. Consequently, Red Hat product offerings are not affected by this flaw.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified