PT-2025-38197 · Linux+3 · Linux Kernel+3

Published

2023-03-20

·

Updated

2026-04-20

·

CVE-2023-53347

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A flaw exists in the Linux kernel's net/mlx5 component related to the handling of E-switch pairing during uplink un/load APIs. Specifically, when transitioning a device from switchdev mode to legacy mode, the E-switch is unpaired before the uplink vport is unloaded. Conversely, during device removal or reload, the uplink vport is unloaded before the E-switch is unpaired. This sequence can lead to a kernel-oops when using VF LAG, where tc fdb flows are duplicated, and a pointer to the duplicated flow is maintained instead of the peer flow. During module unload, if the peer device is removed first, the peer net-dev is destroyed, leading to a null pointer dereference when attempting to unpair from the original device. The vulnerable function is mlx5e tc del fdb flow.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Weakness Enumeration

Related Identifiers

AZL-71900
BDU:2026-03589
CVE-2023-53347
SUSE-SU-2025:03615-1
SUSE-SU-2025:3761-1

Affected Products

Debian
Linux Kernel
Suse
Mlx5