CVE-2023-53340: net/mlx5: Collect command failures data only for known commands

Published Sep 17, 2025
·
Updated

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 Software

6 affected components
Linux Linux kernel
Linux Linux kernel>=5.18<6.1.31
Linux Linux kernel>=6.2<6.3.5
Linux Linux kernel=6.4-rc1
Linux Linux kernel=6.4-rc2
Linux Linux kernel=6.4-rc3

Event History

Sep 17, 2025
CVE Published
via MITRE·02:56 PM
Data Sourced
via MITRE·02:56 PM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-53340?

CVE-2023-53340 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2023-53340?

To fix CVE-2023-53340, you should update your Linux kernel to the latest version that includes the security patch.

3

What software is affected by CVE-2023-53340?

CVE-2023-53340 affects the Linux kernel, particularly installations using the mlx5 driver.

4

Can CVE-2023-53340 lead to exploitation?

Yes, CVE-2023-53340 could lead to information leakage or system instability if exploited.

5

When was CVE-2023-53340 published?

CVE-2023-53340 was published on November 15, 2023.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203