Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-35844

5.5 · MEDIUM
Published May 17, 2024 linux EPSS 0.24% (15th pctl)

Overview

CVE-2024-35844 is a medium-severity vulnerability affecting linux linux_kernel. It was published on May 17, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

f2fs: compress: fix reserve_cblocks counting error when out of space

When a file only needs one direct_node, performing the following

operations will cause the file to be unrepairable:

unisoc # ./f2fs_io compress test.apk

unisoc #df -h | grep dm-48

/dev/block/dm-48 112G 112G 1.2M 100% /data

unisoc # ./f2fs_io release_cblocks test.apk

924

unisoc # df -h | grep dm-48

/dev/block/dm-48 112G 112G 4.8M 100% /data

unisoc # dd if=/dev/random of=file4 bs=1M count=3

3145728 bytes (3.0 M) copied, 0.025 s, 120 M/s

unisoc # df -h | grep dm-48

/dev/block/dm-48 112G 112G 1.8M 100% /data

unisoc # ./f2fs_io reserve_cblocks test.apk

F2FS_IOC_RESERVE_COMPRESS_BLOCKS failed: No space left on device

adb reboot

unisoc # df -h | grep dm-48

/dev/block/dm-48 112G 112G 11M 100% /data

unisoc # ./f2fs_io reserve_cblocks test.apk

0

This is because the file has only one direct_node. After returning

to -ENOSPC, reserved_blocks

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.8, < 5.15.153 Affected

Frequently Asked Questions

What is CVE-2024-35844?

CVE-2024-35844 is a medium-severity vulnerability affecting linux linux_kernel. It was published on May 17, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-35844?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-35844?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-35844?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-35844 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.