CVE-2024-42273
kernel: f2fs: assign CURSEG_ALL_DATA_ATGC if blkaddr is valid
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 17, 2024
Updated · August 5, 2026
Description
A flaw was found in the F2FS file system in the Linux Kernel due to incorrect handling of compression and garbage collection. The CURSEG_ALL_DATA_ATGC flag was mistakenly assigned to COMPR_ADDR for pages marked with the garbage collection flag (gcing). This led to an assertion failure (BUG_ON) at fs/f2fs/segment.c:3589. This issue occurs during file operations involving compression and truncation. The fix ensures proper flag management, preventing the BUG_ON and maintaining file system stability.
Statement
Red Hat Enterprise Linux is not impacted by this CVE, as this vulnerability does not affect the specific versions or configurations of the Linux kernel used in its distributions. This ensures that users of Red Hat Enterprise Linux are not exposed to the potential risks associated with this issue and no further action or mitigation is necessary for systems running this operating system.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')