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

5.5 · MEDIUM
Published May 17, 2024 linux CWE-401 EPSS 0.26% (17th pctl)

Overview

CVE-2024-35852 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:

mlxsw: spectrum_acl_tcam: Fix memory leak when canceling rehash work

The rehash delayed work is rescheduled with a delay if the number of

credits at end of the work is not negative as supposedly it means that

the migration ended. Otherwise, it is rescheduled immediately.

After "mlxsw: spectrum_acl_tcam: Fix possible use-after-free during

rehash" the above is no longer accurate as a non-negative number of

credits is no longer indicative of the migration being done. It can also

happen if the work encountered an error in which case the migration will

resume the next time the work is scheduled.

The significance of the above is that it is possible for the work to be

pending and associated with hints that were allocated when the migration

started. This leads to the hints being leaked [1] when the work is

canceled while pending as part of ACL region dismantle.

Fix by freeing the hints if hints are associated with a work

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

CVE-2024-35852 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-35852?

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

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

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