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

7.8 · HIGH
Published Dec 2, 2024 linux CWE-362 EPSS 0.21% (10th pctl)

Overview

CVE-2024-53121 is a high-severity vulnerability affecting linux linux_kernel. It was published on December 2, 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:

net/mlx5: fs, lock FTE when checking if active

The referenced commits introduced a two-step process for deleting FTEs:

- Lock the FTE, delete it from hardware, set the hardware deletion function

to NULL and unlock the FTE.

- Lock the parent flow group, delete the software copy of the FTE, and

remove it from the xarray.

However, this approach encounters a race condition if a rule with the same

match value is added simultaneously. In this scenario, fs_core may set the

hardware deletion function to NULL prematurely, causing a panic during

subsequent rule deletions.

To prevent this, ensure the active flag of the FTE is checked under a lock,

which will prevent the fs_core layer from attaching a new steering rule to

an FTE that is in the process of deletion.

[ 438.967589] MOSHE: 2496 mlx5_del_flow_rules del_hw_func

[ 438.968205] ------------[ cut here ]------------

[ 438.968654] refcount_t: decrement hit 0; leak

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, < 6.1.119 Affected

Frequently Asked Questions

What is CVE-2024-53121?

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

How severe is CVE-2024-53121?

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

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

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