CVE-2023-53340
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.22% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 34f46ae0d4b38e83cfb26fb6f06b5b5efea47fdc before 411e4d6caa7f7169192b8dacc8421ac4fd64a354, from 34f46ae0d4b38e83cfb26fb6f06b5b5efea47fdc before d8b6f175235d7327b4e1b13216859e89496dfbd5, from 34f46ae0d4b38e83cfb26fb6f06b5b5efea47fdc before 2a0a935fb64ee8af253b9c6133bb6702fb152ac2, 5.18
Not affected: before 5.18, from 6.1.31 up to 6.1.*, from 6.3.5 up to 6.3.*, from 6.4 up to *
CVE List
linux linux_kernelfrom 5.18 before 6.1.31, from 6.2 before 6.3.5, 6.4NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-129

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53340 changed 2026-08-05CVE Terms of Use
NVDCVE-2023-53340 changed 2026-06-17Public domain