{"id":"CVE-2023-53340","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.","modified":"2026-04-02T09:44:02.639431Z","published":"2025-09-17T14:56:33.917Z","related":["SUSE-SU-2025:03615-1","SUSE-SU-2025:3761-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53340.json","cna_assigner":"Linux"},"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"}],"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"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}