CVE Database›CVE-2023-54148

CVE-2023-54148

kernel: net/mlx5e: Move representor neigh cleanup to profile cleanup_tx

Loading…

Severity

Moderate

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · December 24, 2025

Updated · June 30, 2026

Description

A flaw was identified in the Linux kernel’s Mellanox mlx5 Ethernet driver (net/mlx5e) related to the cleanup order of neighbour information when handling offloaded IP tunnel encapsulation rules in ECMP (Equal-Cost Multipath) mode. In certain scenarios — such as unloading the eswitch device while an offloaded ECMP rule is still active — the representor neighbour data for the peer uplink may be cleaned up prematurely in the profile->disable callback before the intended profile->cleanup_tx callback. This premature cleanup can result in a use-after-free condition when subsequent code attempts to access the freed neighbour data, potentially leading to kernel faults

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-416 · Use After Free