CVE-2024-43864: net/mlx5e: Fix CT entry update leaks of modify header context
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: Fix CT entry update leaks of modify header context
The cited commit allocates a new modify header to replace the old one when updating CT entry. But if failed to allocate a new one, eg. exceed the max number firmware can support, modify header will be an error pointer that will trigger a panic when deallocating it. And the old modify header point is copied to old attr. When the old attr is freed, the old modify header is lost.
Fix it by restoring the old attr to attr when failed to allocate a new modify header context. So when the CT entry is freed, the right modify header context will be freed. And the panic of accessing error pointer is also fixed.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-43864?
CVE-2024-43864 is classified as a low severity vulnerability in the Linux kernel.
How do I fix CVE-2024-43864?
To fix CVE-2024-43864, update your Linux kernel to versions 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.16-1.
Which systems are affected by CVE-2024-43864?
CVE-2024-43864 affects specific Debian Linux kernel packages that include versions 5.10 and 6.x.
What does CVE-2024-43864 exploit?
CVE-2024-43864 exploits a leak in the context of modifying header entries during connection tracking updates.
What are the potential impacts of CVE-2024-43864?
The potential impacts of CVE-2024-43864 include the possibility of information leakage from the modify header context.