f2fs: fix to wait on block writeback for post_read case (Linux Linux)

CVE-2023-52682
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4c8ff7095bef64fc47e996a938f7d57f9e077da3 < 2bfe8fdb674f71747553a65f2ef27e14c8880655 ; affected 4c8ff7095bef64fc47e996a938f7d57f9e077da3 < 9bfd5ea71521d0e522ba581c6ccc5db93759c0c3 ; affected 4c8ff7095bef64fc47e996a938f7d57f9e077da3 < 4535be48780431753505e74e1b1ad4836a189bc2 ; affected 4c8ff7095bef64fc47e996a938f7d57f9e077da3 < f904c156d8011d8291ffd5b6b398f3747e294986 ; affected 4c8ff7095bef64fc47e996a938f7d57f9e077da3 < 55fdc1c24a1d6229fe0ecf31335fb9a2eceaaa00
Linux · Linuxaffected 5.6 ; unaffected 0 < 5.6 ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.75 ≤ 6.1.* ; unaffected 6.6.14 ≤ 6.6.* ; unaffected 6.7.2 ≤ 6.7.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD