CVE-2023-53340: net/mlx5: Collect command failures data only for known commands
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
Event History
Frequently Asked Questions
What is the severity of CVE-2023-53340?
CVE-2023-53340 is classified as a medium severity vulnerability in the Linux kernel.
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.
What software is affected by CVE-2023-53340?
CVE-2023-53340 affects the Linux kernel, particularly installations using the mlx5 driver.
Can CVE-2023-53340 lead to exploitation?
Yes, CVE-2023-53340 could lead to information leakage or system instability if exploited.
When was CVE-2023-53340 published?
CVE-2023-53340 was published on November 15, 2023.