CVE-2023-53340
HighIn 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 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-129CVE-2023-53340 is classified as CWE-129
See CWE-129 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
5.18
and later are affected. Fixed in
6.1.31,
6.3.5,
6.4
and their respective stable series.
References
The following references provide additional information about CVE-2023-53340 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2a0a935fb64ee8af253b9c6133bb6702fb152ac2
-
PatchKernel patch commithttps://git.kernel.org/stable/c/411e4d6caa7f7169192b8dacc8421ac4fd64a354
-
PatchKernel patch commithttps://git.kernel.org/stable/c/d8b6f175235d7327b4e1b13216859e89496dfbd5
Frequently asked questions
-
What is CVE-2023-53340?
CVE-2023-53340 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 . It affects Linux kernel versions from 5.18 onward and has been patched in 6.1.31, 6.3.5 and 6.4. CVE-2023-53340 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2023-53340?
CVE-2023-53340 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2023-53340?
Yes — CVE-2023-53340 has been patched. Fixed versions include 6.1.31, 6.3.5 and 6.4. If you are running Linux kernel 5.18 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-53340 actively exploited?
No — CVE-2023-53340 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.