# CVE-2024-34027: f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-06-24T13:56:49.389Z
- Modified: 2026-10-15T01:17:45.480Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from ef8d563f184e1112651f2cbde383d43e599334e8 before a6e1f7744e9b84f86a629a76024bba8468aa153b; from ef8d563f184e1112651f2cbde383d43e599334e8 before b5bac43875aa27ec032dbbb86173baae6dce6182; from ef8d563f184e1112651f2cbde383d43e599334e8 before 5d47d63883735718825ca2efc4fca6915469774f; from ef8d563f184e1112651f2cbde383d43e599334e8 before 329edb7c9e3b6ca27e6ca67ab1cdda1740fb3a2b; from ef8d563f184e1112651f2cbde383d43e599334e8 before 69136304fd144144a4828c7b7b149d0f80321ba4; from ef8d563f184e1112651f2cbde383d43e599334e8 before 0a4ed2d97cb6d044196cc3e726b6699222b41019; 5.8 (not affected: before 5.8; from 5.10.219 up to 5.10.*; from 5.15.161 up to 5.15.*; from 6.1.93 up to 6.1.*; from 6.6.33 up to 6.6.*; from 6.9.4 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from c75488fb4d82 before a6e1f7744e9b; from c75488fb4d82 before b5bac43875aa; from c75488fb4d82 before 5d47d6388373; from c75488fb4d82 before 329edb7c9e3b; from c75488fb4d82 before 69136304fd14; from c75488fb4d82 before 0a4ed2d97cb6; 5.8; before 5.8; from 5.10.219 up to 5.10*; from 6.1.93 up to 6.1*; from 6.6.33 up to 6.6*; from 6.94 up to 6.9*; and 7 more

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/a6e1f7744e9b84f86a629a76024bba8468aa153b> (patch)
- <https://git.kernel.org/stable/c/b5bac43875aa27ec032dbbb86173baae6dce6182> (patch)
- <https://git.kernel.org/stable/c/5d47d63883735718825ca2efc4fca6915469774f> (patch)
- <https://git.kernel.org/stable/c/329edb7c9e3b6ca27e6ca67ab1cdda1740fb3a2b> (patch)
- <https://git.kernel.org/stable/c/69136304fd144144a4828c7b7b149d0f80321ba4> (patch)
- <https://git.kernel.org/stable/c/0a4ed2d97cb6d044196cc3e726b6699222b41019> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-34027](https://www.cve.org/CVERecord?id=CVE-2024-34027), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-34027](https://nvd.nist.gov/vuln/detail/CVE-2024-34027), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-34027 · Whole record: https://cve.day/CVE-2024-34027.json · Rebuilt by cve.day 2026-11-25T22:58:42.162Z
