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

7.8 · HIGH
Published May 17, 2024 linux CWE-416 EPSS 0.57% (45th pctl)

Overview

CVE-2024-35854 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 17, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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:

mlxsw: spectrum_acl_tcam: Fix possible use-after-free during rehash

The rehash delayed work migrates filters from one region to another

according to the number of available credits.

The migrated from region is destroyed at the end of the work if the

number of credits is non-negative as the assumption is that this is

indicative of migration being complete. This assumption is incorrect as

a non-negative number of credits can also be the result of a failed

migration.

The destruction of a region that still has filters referencing it can

result in a use-after-free [1].

Fix by not destroying the region if migration failed.

[1]

BUG: KASAN: slab-use-after-free in mlxsw_sp_acl_ctcam_region_entry_remove+0x21d/0x230

Read of size 8 at addr ffff8881735319e8 by task kworker/0:31/3858

CPU: 0 PID: 3858 Comm: kworker/0:31 Tainted: G W 6.9.0-rc2-custom-00782-gf2275c2157d8 #5

Hardware name: Mellanox Technologies Lt

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.1, < 5.4.275 Affected

Frequently Asked Questions

What is CVE-2024-35854?

CVE-2024-35854 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 17, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-35854?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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-35854?

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

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