CVE-2024-26869

MEDIUM

Linux Kernel 4.19-4.19, 6.6-6.6.23, 6.7-6.7.11, 6.8-6.8.2 - Race Condition in F2FS Meta Inode Page Truncation

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to truncate meta inode pages forcely Below race case can cause data corruption: Thread A GC thread - gc_data_segment - ra_data_block - locked meta_inode page - f2fs_inplace_write_data - invalidate_mapping_pages : fail to invalidate meta_inode page due to lock failure or dirty|writeback status - f2fs_submit_page_bio : write last dirty data to old blkaddr - move_data_block - load old data from meta_inode page - f2fs_submit_page_write : write old data to new blkaddr Because invalidate_mapping_pages() will skip invalidating page which has unclear status including locked, dirty, writeback and so on, so we need to use truncate_inode_pages_range() instead of invalidate_mapping_pages() to make sure meta_inode page will be dropped.

Scores

CVSS v3 4.7
EPSS 0.0017
EPSS Percentile 6.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-362
Status published
Products (14)
linux/Kernel 4.19.0 - 6.6.23linux
linux/Kernel 6.7.0 - 6.7.11linux
linux/Kernel 6.8.0 - 6.8.2linux
Linux/Linux < 4.19
Linux/Linux 4.19
Linux/Linux 6.6.23 - 6.6.*
Linux/Linux 6.7.11 - 6.7.*
Linux/Linux 6.8.2 - 6.8.*
Linux/Linux 6.9
Linux/Linux 6aa58d8ad20a3323f42274c25820a6f54192422d - 04226d8e3c4028dc451e9d8777356ec0f7919253
... and 4 more
Published Apr 17, 2024
Tracked Since Feb 18, 2026