CVE-2023-53340

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.4:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.4:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.4:rc3:*:*:*:*:*:*

History

11 Dec 2025, 12:52

Type Values Removed Values Added
First Time Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:o:linux:linux_kernel:6.4:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.4:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.4:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/2a0a935fb64ee8af253b9c6133bb6702fb152ac2 - () https://git.kernel.org/stable/c/2a0a935fb64ee8af253b9c6133bb6702fb152ac2 - Patch
References () https://git.kernel.org/stable/c/411e4d6caa7f7169192b8dacc8421ac4fd64a354 - () https://git.kernel.org/stable/c/411e4d6caa7f7169192b8dacc8421ac4fd64a354 - Patch
References () https://git.kernel.org/stable/c/d8b6f175235d7327b4e1b13216859e89496dfbd5 - () https://git.kernel.org/stable/c/d8b6f175235d7327b4e1b13216859e89496dfbd5 - Patch
CWE CWE-129

17 Sep 2025, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-17 15:15

Updated : 2025-12-11 12:52


NVD link : CVE-2023-53340

Mitre link : CVE-2023-53340

CVE.ORG link : CVE-2023-53340


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-129

Improper Validation of Array Index