{"id":"CVE-2023-53340","aliases":["CVE-2023-53340"],"related":[],"kind":"vulnerability","state":"published","title":"net/mlx5: Collect command failures data only for known commands","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-09-17T14:56:33.917Z","modified":"2026-08-05T09:13:36.548Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-129"],"affected":[{"ranges":[{"type":"git","introduced":"34f46ae0d4b38e83cfb26fb6f06b5b5efea47fdc","fixed":"411e4d6caa7f7169192b8dacc8421ac4fd64a354","status":"affected"},{"type":"git","introduced":"34f46ae0d4b38e83cfb26fb6f06b5b5efea47fdc","fixed":"d8b6f175235d7327b4e1b13216859e89496dfbd5","status":"affected"},{"type":"git","introduced":"34f46ae0d4b38e83cfb26fb6f06b5b5efea47fdc","fixed":"2a0a935fb64ee8af253b9c6133bb6702fb152ac2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.1.31","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.5","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.18","fixed":"6.1.31"},{"status":"affected","introduced":"6.2","fixed":"6.3.5"},{"status":"affected","version":"6.4"},{"status":"affected","version":"6.4"},{"status":"affected","version":"6.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/411e4d6caa7f7169192b8dacc8421ac4fd64a354","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d8b6f175235d7327b4e1b13216859e89496dfbd5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a0a935fb64ee8af253b9c6133bb6702fb152ac2","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-01-14T18:38:29.430Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53340","url":"https://www.cve.org/CVERecord?id=CVE-2023-53340","licence":"CVE Terms of Use","modified":"2026-08-05T09:13:36.548Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53340","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53340","licence":"Public domain","modified":"2026-06-17T06:44:56.413Z"}],"updatedAt":"2026-11-25T22:58:34.839Z","epss":{"score":0.00225,"percentile":0.14083,"date":"2026-12-01T12:00:22.000Z"}}