CVE-2024-43864
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-416CVE-2024-43864 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.3
and later are affected. Fixed in
6.6.45,
6.10.4,
6.11
and their respective stable series.
References
The following references provide additional information about CVE-2024-43864 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/025f2b85a5e5a46df14ecf162c3c80a957a36d0b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/89064d09c56b44c668509bf793c410484f63f5ad
-
PatchKernel patch commithttps://git.kernel.org/stable/c/daab2cc17b6b6ab158566bba037e9551fd432b59
Frequently asked questions
-
What is CVE-2024-43864?
CVE-2024-43864 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 6.3 onward and has been patched in 6.6.45, 6.10.4 and 6.11. CVE-2024-43864 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-43864?
CVE-2024-43864 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-43864?
Yes — CVE-2024-43864 has been patched. Fixed versions include 6.6.45, 6.10.4 and 6.11. If you are running Linux kernel 6.3 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-43864 actively exploited?
No — CVE-2024-43864 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →