CVE-2024-44970

net/mlx5e: SHAMPO, Fix invalid WQ linked list unlink

State
Published
Severity
9.8 Critical
Published
Sep 4, 2024
Updated
Aug 5, 2026
Reserved
Aug 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f97d5c2a453e26071e3b0ec12161de57c4a237c4 to before 7b379353e9144e1f7460ff15f39862012c9d0d78Affected
  • f97d5c2a453e26071e3b0ec12161de57c4a237c4 to before 650e24748e1e0a7ff91d5c72b72a2f2a452b5b76Affected
  • f97d5c2a453e26071e3b0ec12161de57c4a237c4 to before 50d8009a0ac02c3311b23a0066511f8337bd88d9Affected
  • f97d5c2a453e26071e3b0ec12161de57c4a237c4 to before fba8334721e266f92079632598e46e5f89082f30Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.1.105 through 6.1.*Not affected
  • 6.6.46 through 6.6.*Not affected
  • 6.10.5 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.