CVE-2023-52682
JSON

7.1high

f2fs: fix to wait on block writeback for post_read case

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
0.32% (higher than 17% of CVEs)
Published
Last changed
Assigned by
Linux

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

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4c8ff7095bef64fc47e996a938f7d57f9e077da3 before 2bfe8fdb674f71747553a65f2ef27e14c8880655, from 4c8ff7095bef64fc47e996a938f7d57f9e077da3 before 9bfd5ea71521d0e522ba581c6ccc5db93759c0c3, from 4c8ff7095bef64fc47e996a938f7d57f9e077da3 before 4535be48780431753505e74e1b1ad4836a189bc2, from 4c8ff7095bef64fc47e996a938f7d57f9e077da3 before f904c156d8011d8291ffd5b6b398f3747e294986, from 4c8ff7095bef64fc47e996a938f7d57f9e077da3 before 55fdc1c24a1d6229fe0ecf31335fb9a2eceaaa00, 5.6
Not affected: before 5.6, from 5.15.209 up to 5.15.*, from 6.1.75 up to 6.1.*, from 6.6.14 up to 6.6.*, from 6.7.2 up to 6.7.*, from 6.8 up to *
CVE List
linux linux_kernelfrom 5.6 before 6.1.75, from 6.2 before 6.6.14, from 6.7 before 6.7.2NVD

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: f2fs: corrección para esperar en la reescritura del bloque para el caso post_read. Si el inodo está comprimido, pero no encriptado, no llamó a f2fs_wait_on_block_writeback() para esperar la reescritura de la página GCed en la ruta de escritura de la IPU. Subproceso A GC-Thread - f2fs_gc - do_garbage_collect - gc_data_segment - move_data_block - f2fs_submit_page_write migra el bloque del clúster normal a través del caché de página de meta_inode - f2fs_write_single_data_page - f2fs_do_write_data_page - f2fs_inplace_write_data - f2fs_submit_page_bio IRQ - fs_read_end_io Los datos antiguos de IRQ anulan los datos nuevos debido a GC desordenado y común OÍ. - f2fs_read_end_io

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52682 changed 2026-06-01CVE Terms of Use
NVDCVE-2023-52682 changed 2026-06-17Public domain