CVE-2024-27034: Linux kernel · f2fs: compress: fix to cover normal cluster write with cp_rwsem
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 5.15.0-1063.69~20.04.1 : patch Linux kernel soon.
Data as of 12 Nov 2026, 18:52 UTC
- Patch
- Available – fixed in 5.15.0-1063.69~20.04.1, 5.15.0-1065.74~20.04.1, 5.15.0-1062.70~20.04.1 +42
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-6816-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6828-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6871-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-ibmpkg:deb/ubuntu/linux-ibm?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released in multiple Linux kernel versions (notably 5.15.0-1063.69~20.04.1 and later). Users should upgrade to one of the fixed kernel versions listed in the established facts to remediate this vulnerability. No additional mitigation steps are required beyond applying the official kernel updates.
Description
CVE-2024-27034 is a vulnerability in the Linux kernel's f2fs filesystem compression code. It occurs when overwriting a compressed cluster with a normal cluster and improperly unlocking cp_rwsem during f2fs_write_raw_pages(), which can lead to data corruption due to non-atomic updates of cluster metadata. This issue has been fixed in several patched versions of the Linux kernel.
References
- ubuntu.com/security/CVE-2024-27034 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-27034 (opens in a new tab)
- git.kernel.org/linus/fd244524c2cf07b5f4c3fe8abd6a99225c76544b (opens in a new tab)
- git.kernel.org/stable/c/7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416 (opens in a new tab)
- git.kernel.org/stable/c/542c8b3c774a480bfd0804291a12f6f2391b0cd1 (opens in a new tab)
- git.kernel.org/stable/c/75abfd61392b1db391bde6d738a30d685b843286 (opens in a new tab)
- git.kernel.org/stable/c/2b1b14d9fc94b8feae20808684c8af28ec80f45b (opens in a new tab)
- git.kernel.org/stable/c/52982edfcefd475cc34af663d5c47c0cddaa5739 (opens in a new tab)
- git.kernel.org/stable/c/fd244524c2cf07b5f4c3fe8abd6a99225c76544b (opens in a new tab)
- ubuntu.com/security/notices/USN-6816-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6828-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-4 (opens in a new tab)