Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.18, < 6.1.31 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/2a0a935fb64ee8af253b9c6133bb6702fb152ac2Patch
- https://git.kernel.org/stable/c/411e4d6caa7f7169192b8dacc8421ac4fd64a354Patch
- https://git.kernel.org/stable/c/d8b6f175235d7327b4e1b13216859e89496dfbd5Patch
FAQ
What is CVE-2023-53340?
CVE-2023-53340 is a vulnerability with a CVSS score of 7.8 (HIGH). 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...
How severe is CVE-2023-53340?
CVE-2023-53340 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-53340?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.