PT-2024-30721 · Linux+4 · Linux Kernel+4

Published

2024-07-31

·

Updated

2025-02-04

·

CVE-2024-43864

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified) Upstream kernel versions prior to 6.6.50
Description The issue is related to the net/mlx5e module in the Linux kernel, where a vulnerability has been resolved by fixing CT entry update leaks of modify header context. When updating a CT entry, a new modify header is allocated to replace the old one. However, if the allocation fails, the modify header becomes an error pointer, triggering a panic when deallocated. The old modify header point is copied to old attr, and when the old attr is freed, the old modify header is lost. The fix restores the old attr to attr when the allocation of a new modify header context fails, ensuring the correct modify header context is freed when the CT entry is freed.
Recommendations Update to upstream kernel version 6.6.50 or later to resolve the issue. As a temporary workaround, consider disabling the net/mlx5e module until a patch is available. Restrict access to the CT entry update functionality to minimize the risk of exploitation.

Exploit

Fix

Use After Free

Memory Leak

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-01713
CVE-2024-43864
MGASA-2024-0309
MGASA-2024-0310
OESA-2024-2076
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3383-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-7154-1
USN-7154-2
USN-7155-1
USN-7156-1
USN-7196-1

Affected Products

Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu