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-35956

5.5 · MEDIUM
Published May 20, 2024 linux CWE-401 EPSS 0.23% (14th pctl)

Overview

CVE-2024-35956 is a medium-severity vulnerability affecting linux linux_kernel. It was published on May 20, 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:

btrfs: qgroup: fix qgroup prealloc rsv leak in subvolume operations

Create subvolume, create snapshot and delete subvolume all use

btrfs_subvolume_reserve_metadata() to reserve metadata for the changes

done to the parent subvolume's fs tree, which cannot be mediated in the

normal way via start_transaction. When quota groups (squota or qgroups)

are enabled, this reserves qgroup metadata of type PREALLOC. Once the

operation is associated to a transaction, we convert PREALLOC to

PERTRANS, which gets cleared in bulk at the end of the transaction.

However, the error paths of these three operations were not implementing

this lifecycle correctly. They unconditionally converted the PREALLOC to

PERTRANS in a generic cleanup step regardless of errors or whether the

operation was fully associated to a transaction or not. This resulted in

error paths occasionally converting this rsv to PERTRANS without calling

record_root_in_tr

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.9.5, < 6.1.120 Affected

Frequently Asked Questions

What is CVE-2024-35956?

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

How severe is CVE-2024-35956?

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-35956?

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-35956?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-35956 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.