CVE-2023-53340
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 package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 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_kernel | from 5.18 before 6.1.31, from 6.2 before 6.3.5, 6.4 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53340 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2023-53340 changed 2026-06-17 | Public domain |