Menu

Star on GitHub · 3.2k

CVE-2024-35960

9.1 · CRITICAL

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Properly link new fs rules into the tree Previously, add_rule_fg would only add newly created rules from the handle i…

Published May 20, 2024CWE-476EPSS 1.41%

Overview

CVE-2024-35960 is a critical-severity vulnerability. It was published on May 20, 2024 and has a CVSS 3.1 base score of 9.1 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.1, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

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

net/mlx5: Properly link new fs rules into the tree

Previously, add_rule_fg would only add newly created rules from the

handle into the tree when they had a refcount of 1. On the other hand,

create_flow_handle tries hard to find and reference already existing

identical rules instead of creating new ones.

These two behaviors can result in a situation where create_flow_handle

1) creates a new rule and references it, then

2) in a subsequent step during the same handle creation references it

again,

resulting in a rule with a refcount of 2 that is not linked into the

tree, will have a NULL parent and root and will result in a crash when

the flow group is deleted because del_sw_hw_rule, invoked on rule

deletion, assumes node->parent is != NULL.

This happened in the wild, due to another bug related to incorrect

handling of duplicate pkt_reformat ids, which lead to the code in

create_flow_handle incorrectly referencing a

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2024-35960?

CVE-2024-35960 is a critical-severity vulnerability. It was published on May 20, 2024 and has a CVSS 3.1 base score of 9.1 (CRITICAL).

How severe is CVE-2024-35960?

This vulnerability has a CVSS 3.1 base score of 9.1, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Check the references section for vendor advisories, patches, and mitigation guidance. 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-35960?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-35960 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related CRITICAL CVEs from 2024

View all