CVE-2023-53340

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53340
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53340.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53340
Downstream
Related
Published
2025-09-17T14:56:33.917Z
Modified
2025-11-28T02:34:47.043697Z
Summary
net/mlx5: Collect command failures data only for known commands
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53340.json"
}
References

Affected packages

Git / 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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
6.1.31
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.3.5