CVE-2024-43864CWE-416

CVE-2024-43864

Critical · published August 21, 2024

CVSS v3.1
9.8
EPSS
0%
Percentile
39.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00466 · 39.4th percentile
Weakness
CWE-416 · Use After Free
Published
2024-08-21T04:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 6.3, < 6.6.456.6.45
linux/linux_kernel≥ 6.7, < 6.10.46.10.4
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 20 AUG 23:45Z
    net/mlx5e: Fix CT entry update leaks of modify header context
    cvelistv5