Skip to main content
← All vulnerabilities
CVE-2024-26869

f2fs: fix to truncate meta inode pages forcely

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.23, 6.7.11, 6.8.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    4.19

  • KernelLinux

    From 4.19.0 · fixed in 6.6.23; From 6.7.0 · fixed in 6.7.11; From 6.8.0 · fixed in 6.8.2

References 5

git.kernel.org