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

CVE-2024-44970
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.56 % · percentile 47 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected f97d5c2a453e26071e3b0ec12161de57c4a237c4 < 7b379353e9144e1f7460ff15f39862012c9d0d78 ; affected f97d5c2a453e26071e3b0ec12161de57c4a237c4 < 650e24748e1e0a7ff91d5c72b72a2f2a452b5b76 ; affected f97d5c2a453e26071e3b0ec12161de57c4a237c4 < 50d8009a0ac02c3311b23a0066511f8337bd88d9 ; affected f97d5c2a453e26071e3b0ec12161de57c4a237c4 < fba8334721e266f92079632598e46e5f89082f30
Linux · Linuxaffected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.105 ≤ 6.1.* ; unaffected 6.6.46 ≤ 6.6.* ; unaffected 6.10.5 ≤ 6.10.* ; unaffected 6.11 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD