CVE-2024-43864

MEDIUM

Linux Kernel 6.3-6.6.45, 6.7-6.10.4, 6.11 - Use-After-Free in CT Entry Update

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0021
EPSS Percentile 10.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (12)
linux/Kernel 6.3.0 - 6.6.45linux
linux/Kernel 6.7.0 - 6.10.4linux
Linux/Linux < 6.3
Linux/Linux 6.10.4 - 6.10.*
Linux/Linux 6.11
Linux/Linux 6.3
Linux/Linux 6.6.45 - 6.6.*
Linux/Linux 94ceffb48eac7692677d8093dcde6965b70c4b35 - 025f2b85a5e5a46df14ecf162c3c80a957a36d0b
Linux/Linux 94ceffb48eac7692677d8093dcde6965b70c4b35 - 89064d09c56b44c668509bf793c410484f63f5ad
Linux/Linux 94ceffb48eac7692677d8093dcde6965b70c4b35 - daab2cc17b6b6ab158566bba037e9551fd432b59
... and 2 more
Published Aug 21, 2024
Tracked Since Feb 18, 2026