CVE-2023-53340

published 17 Sep 2025 · updated 5 Aug 2026

net/mlx5: Collect command failures data only for known commands

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2a0a935fb64ee8af253b9c6133bb6702fb152ac2, Kernel 411e4d6caa7f7169192b8dacc8421ac4fd64a354 and Kernel d8b6f175235d7327b4e1b13216859e89496dfbd5.

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Collect command failures data only for known commands DEVX can issue a general command, which is not used by mlx5 driver. In case such command is failed, mlx5 is trying to collect the failure data, However, mlx5 doesn't create a storage for this command, since mlx5 doesn't use it. This lead to array-index-out-of-bounds error. Fix it by checking whether the command is known before collecting the failure data.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.18, >=34f46ae0d4b38e83cfb26fb6f06b5b5efea47fdc <2a0a935fb64ee8af253b9c6133bb6702fb152ac2, >=34f46ae0d4b38e83cfb26fb6f06b5b5efea47fdc <411e4d6caa7f7169192b8dacc8421ac4fd64a354, >=34f46ae0d4b38e83cfb26fb6f06b5b5efea47fdc <d8b6f175235d7327b4e1b13216859e89496dfbd52a0a935fb64ee8af253b9c6133bb6702fb152ac2, 411e4d6caa7f7169192b8dacc8421ac4fd64a354, d8b6f175235d7327b4e1b13216859e89496dfbd5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-53340 severity on Zeptric[![CVE-2023-53340](https://zeptric.io/badge/cve/CVE-2023-53340.svg)](https://zeptric.io/cve/CVE-2023-53340)