Menu

Star on GitHub · 3.2k

CVE-2023-52487

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix peer flow lists handling The cited change refactored mlx5e_tc_del_fdb_peer_flow() to only clear DUP flag when li…

Published Mar 11, 2024CWE-476EPSS 0.27%

Overview

CVE-2023-52487 is a medium-severity vulnerability. It was published on March 11, 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:

net/mlx5e: Fix peer flow lists handling

The cited change refactored mlx5e_tc_del_fdb_peer_flow() to only clear DUP

flag when list of peer flows has become empty. However, if any concurrent

user holds a reference to a peer flow (for example, the neighbor update

workqueue task is updating peer flow's parent encap entry concurrently),

then the flow will not be removed from the peer list and, consecutively,

DUP flag will remain set. Since mlx5e_tc_del_fdb_peers_flow() calls

mlx5e_tc_del_fdb_peer_flow() for every possible peer index the algorithm

will try to remove the flow from eswitch instances that it has never peered

with causing either NULL pointer dereference when trying to remove the flow

peer list head of peer_index that was never initialized or a warning if the

list debug config is enabled[0].

Fix the issue by always removing the peer flow from the list even when not

releasing the last reference to it.

[0]:

[

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-2023-52487?

CVE-2023-52487 is a medium-severity vulnerability. It was published on March 11, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2023-52487?

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-2023-52487?

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-2023-52487?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52487 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 MEDIUM CVEs from 2023

View all