What’s Vulnerable › Vulnerabilities
CVE-2023-53340: net/mlx5: Collect command failures data only for known commands
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-17 · updated 2026-06-17
- Weakness: CWE-129
Description
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 products
- Linux kernel: from 5.18 before 6.1.31; from 6.2 before 6.3.5; 6.4-rc1, 6.4-rc2, 6.4-rc3 — fixed in 6.1.31, 6.3.5
How to fix
Upgrade to a fixed version: Linux kernel 6.1.31, 6.3.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2a0a935fb64ee8af253b9c6133bb6702fb152ac2
- https://git.kernel.org/stable/c/411e4d6caa7f7169192b8dacc8421ac4fd64a354
- https://git.kernel.org/stable/c/d8b6f175235d7327b4e1b13216859e89496dfbd5
Get alerted when CVE-2023-53340 or the next vulnerability affects your stack