CVE-2024-44970

medium

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: SHAMPO, Fix invalid WQ linked list unlink When all the strides in a WQE have been consumed, the WQE is unlinked from the WQ linked list (mlx5_wq_ll_pop()). For SHAMPO, it is possible to receive CQEs with 0 consumed strides for the same WQE even after the WQE is fully consumed and unlinked. This triggers an additional unlink for the same wqe which corrupts the linked list. Fix this scenario by accepting 0 sized consumed strides without unlinking the WQE again.

References

https://git.kernel.org/stable/c/fba8334721e266f92079632598e46e5f89082f30

https://git.kernel.org/stable/c/7b379353e9144e1f7460ff15f39862012c9d0d78

https://git.kernel.org/stable/c/650e24748e1e0a7ff91d5c72b72a2f2a452b5b76

https://git.kernel.org/stable/c/50d8009a0ac02c3311b23a0066511f8337bd88d9

Details

Source: Mitre, NVD

Published: 2024-09-04

Updated: 2024-10-03

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium