CVE-2024-44970 net/mlx5e: SHAMPO, Fix invalid WQ linked list unlink
A linked list corruption in the Linux kernel mlx5e driver allows attackers to cause denial of service or potentially execute code via crafted network packets.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-44970?
CVE-2024-44970 is a critical memory corruption vulnerability in Linux kernel, published on 4 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2024-44970?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-44970?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-44970 being exploited?
There is no known exploitation of CVE-2024-44970 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-49875, BELL-CVE-2024-44970, DEBIAN-CVE-2024-44970, GHSA-4qww-pqq9-xrw5, ROOT-OS-UBUNTU-2204-CVE-2024-44970, UBUNTU-CVE-2024-44970.