CVE-2024-27034: f2fs: compress: fix to cover normal cluster write with cp_rwsem

Published May 1, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

When we overwrite compressed cluster w/ normal cluster, we should not unlock cprwsem during f2fswriterawpages(), otherwise data will be corrupted if partial blocks were persisted before CP & SPOR, due to cluster metadata wasn't updated atomically.

Affected Software

6 affected componentsFixes available
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-1
Linux Linux kernel>=5.6<5.15.153
Linux Linux kernel>=5.16<6.1.83
Linux Linux kernel>=6.2<6.6.23
Linux Linux kernel>=6.7<6.7.11
Linux Linux kernel>=6.8<6.8.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1

Event History

May 1, 2024
CVE Published
via MITRE·12:53 PM
Data Sourced
via MITRE·12:53 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
Description
Data Sourced
via NVD·01:15 PM
RemedySeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:11 AM
Description
May 6, 2025
Data Sourced
via Ubuntu·02:24 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-27034?

CVE-2024-27034 is considered a high severity vulnerability due to potential data corruption.

2

How do I fix CVE-2024-27034?

To fix CVE-2024-27034, update your Linux kernel to one of the patched versions: 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1.

3

What versions of the Linux kernel are affected by CVE-2024-27034?

CVE-2024-27034 affects Linux kernel versions up to and including 5.10.226-1.

4

What does CVE-2024-27034 affect in the Linux kernel?

CVE-2024-27034 affects the f2fs compressed cluster write functionality, potentially leading to data corruption.

5

Is CVE-2024-27034 present in my Debian installation?

If you're running Debian with a Linux kernel version up to 5.10.226-1, you may be vulnerable to CVE-2024-27034.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203