{"schema_version":"1.9.0","id":"CVE-2023-53340","published":"2025-09-17T14:56:33.917Z","modified":"2026-08-12T03:51:36.524254114Z","related":["SUSE-SU-2025:03615-1","SUSE-SU-2025:3761-1"],"summary":"net/mlx5: Collect command failures data only for known commands","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: Collect command failures data only for known commands\n\nDEVX can issue a general command, which is not used by mlx5 driver.\nIn case such command is failed, mlx5 is trying to collect the failure\ndata, However, mlx5 doesn't create a storage for this command, since\nmlx5 doesn't use it. This lead to array-index-out-of-bounds error.\n\nFix it by checking whether the command is known before collecting the\nfailure data.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"34f46ae0d4b38e83cfb26fb6f06b5b5efea47fdc"},{"fixed":"411e4d6caa7f7169192b8dacc8421ac4fd64a354"},{"fixed":"d8b6f175235d7327b4e1b13216859e89496dfbd5"},{"fixed":"2a0a935fb64ee8af253b9c6133bb6702fb152ac2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53340.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.18.0"},{"fixed":"6.1.31"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53340.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2a0a935fb64ee8af253b9c6133bb6702fb152ac2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/411e4d6caa7f7169192b8dacc8421ac4fd64a354"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8b6f175235d7327b4e1b13216859e89496dfbd5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53340.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53340"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53340.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}