Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-27034

f2fs: compress: fix to cover normal cluster write with cp_rwsem

Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: compress: fix to cover normal cluster write with cp_rwsem When we overwrite compressed cluster w/ normal cluster, we should not unlock cp_rwsem during f2fs_write_raw_pages(), otherwise data will be corrupted if partial blocks were persisted before CP & SPOR, due to cluster metadata wasn't updated atomically.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416affected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 542c8b3c774a480bfd0804291a12f6f2391b0cd1affected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 75abfd61392b1db391bde6d738a30d685b843286affected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 2b1b14d9fc94b8feae20808684c8af28ec80f45baffected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 52982edfcefd475cc34af663d5c47c0cddaa5739affected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < fd244524c2cf07b5f4c3fe8abd6a99225c76544baffected

Linux Linux

Default version status: affected

  • 5.6affected
  • 0 to < 5.6unaffected
  • 5.15.153 to ≤ 5.15.*unaffected
  • 6.1.83 to ≤ 6.1.*unaffected
  • 6.6.23 to ≤ 6.6.*unaffected
  • 6.7.11 to ≤ 6.7.*unaffected
  • 6.8.2 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References