CVE-2024-27034

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

State
Published
Severity
7.8 High
Published
May 1, 2024
Updated
Aug 5, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to before 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416Affected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to before 542c8b3c774a480bfd0804291a12f6f2391b0cd1Affected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to before 75abfd61392b1db391bde6d738a30d685b843286Affected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to before 2b1b14d9fc94b8feae20808684c8af28ec80f45bAffected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to before 52982edfcefd475cc34af663d5c47c0cddaa5739Affected
  • 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to before fd244524c2cf07b5f4c3fe8abd6a99225c76544bAffected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.15.153 through 5.15.*Not affected
  • 6.1.83 through 6.1.*Not affected
  • 6.6.23 through 6.6.*Not affected
  • 6.7.11 through 6.7.*Not affected
  • 6.8.2 through 6.8.*Not affected
  • 6.9 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.