CVE-2023-52682

f2fs: fix to wait on block writeback for post_read case

State
Published
Severity
Not scored
Published
May 17, 2024
Updated
Jun 1, 2026
Reserved
Mar 7, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix to wait on block writeback for post_read case

If inode is compressed, but not encrypted, it missed to call f2fs_wait_on_block_writeback() to wait for GCed page writeback in IPU write path.

Thread A GC-Thread - f2fs_gc - do_garbage_collect - gc_data_segment - move_data_block - f2fs_submit_page_write migrate normal cluster's block via meta_inode's page cache - f2fs_write_single_data_page - f2fs_do_write_data_page - f2fs_inplace_write_data - f2fs_submit_page_bio

IRQ - f2fs_read_end_io IRQ old data overrides new data due to out-of-order GC and common IO. - f2fs_read_end_io

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to before 2bfe8fdb674f71747553a65f2ef27e14c8880655Affected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to before 9bfd5ea71521d0e522ba581c6ccc5db93759c0c3Affected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to before 4535be48780431753505e74e1b1ad4836a189bc2Affected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to before f904c156d8011d8291ffd5b6b398f3747e294986Affected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to before 55fdc1c24a1d6229fe0ecf31335fb9a2eceaaa00Affected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.75 through 6.1.*Not affected
  • 6.6.14 through 6.6.*Not affected
  • 6.7.2 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.