Skip to main content
← All vulnerabilities
CVE-2024-34027

f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.9.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

In the Linux kernel, the following vulnerability has been resolved: f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock It needs to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock to avoid racing with checkpoint, otherwise, filesystem metadata including blkaddr in dnode, inode fields and .total_valid_block_count may be corrupted after SPO case.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From ef8d563f184e1112651f2cbde383d43e599334e8 · fixed in a6e1f7744e9b84f86a629a76024bba8468aa153b; From ef8d563f184e1112651f2cbde383d43e599334e8 · fixed in b5bac43875aa27ec032dbbb86173baae6dce6182; From ef8d563f184e1112651f2cbde383d43e599334e8 · fixed in 5d47d63883735718825ca2efc4fca6915469774f; From ef8d563f184e1112651f2cbde383d43e599334e8 · fixed in 329edb7c9e3b6ca27e6ca67ab1cdda1740fb3a2b; From ef8d563f184e1112651f2cbde383d43e599334e8 · fixed in 69136304fd144144a4828c7b7b149d0f80321ba4; From ef8d563f184e1112651f2cbde383d43e599334e8 · fixed in 0a4ed2d97cb6d044196cc3e726b6699222b41019

  • Linux Linux

    5.8

  • KernelLinux

    From 5.8.0 · fixed in 5.10.219; From 5.11.0 · fixed in 5.15.161; From 5.16.0 · fixed in 6.1.93; From 6.2.0 · fixed in 6.6.33; From 6.7.0 · fixed in 6.9.4

References 6

git.kernel.org