CVE-2024-27034: Vulnerability in linux-libc-dev package - f2fs: compress: fix to cover normal cluster write with cp_rwsem

linux Updated 02 Oct 2025

Summary

01/05/2024
No i
Unrated
Not published

CVE-2024-27034: 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 du... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling programs that use the Linux kernel interfaces. It is an essential component for building and running applications on Linux systems. The vulnerability affects version 6.1.90-1 of the linux-libc-dev package.

Vulnerability Detail

The vulnerability in the linux-libc-dev package is related to the f2fs (Flash-Friendly File System) module in the Linux kernel. The issue arises when overwriting a compressed cluster with a normal cluster. During the f2fs_write_raw_pages() function, the cp_rwsem (checkpoint read-write semaphore) is unlocked, which can lead to data corruption if partial blocks were persisted before the checkpoint and SPOR (Sudden Power-Off Recovery). This occurs because the cluster metadata is not updated atomically. The vulnerability has a CVSS score of 5.5, indicating a medium severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by following best practices for system security, such as implementing proper access controls, regularly updating software, and monitoring for any suspicious activity.

Conclusion

The linux-libc-dev package is vulnerable to a medium severity issue related to the f2fs module in the Linux kernel. It is recommended to update the package to a version that includes the fix for the f2fs compress vulnerability. Regularly updating packages and following best practices for system security can help mitigate the risk of such vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The linux-libc-dev package provides header files and libraries for compiling programs that use the Linux kernel interfaces. It is an essential component for building and running applications on Linux systems.

f2fs (Flash-Friendly File System) is a file system designed for NAND-based flash storage devices. It is optimized for flash memory characteristics and aims to provide high performance and reliability.

The vulnerability can lead to data corruption if partial blocks were persisted before the checkpoint and SPOR. It could potentially result in the loss or manipulation of data stored on the affected system.

The CVSS score of this vulnerability is 5.5, indicating a medium severity level.

Users can update the linux-libc-dev package by obtaining the latest version from the official Debian repositories or through the package management system of their Linux distribution.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback