PT-2024-35586 · Linux+7 · Linux Kernel+7
Moshe Shemesh
·
Published
2024-11-07
·
Updated
2025-10-03
·
CVE-2024-53120
CVSS v3.1
5.5
Medium
| Vector | AV: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 versions prior to 6.6.65
Description
A null pointer dereference issue has been resolved in the Linux kernel. The issue occurs in the error flow of the
mlx5 tc ct entry add rule() function, where the zone rule->attr is used without initialization. This can lead to a kernel NULL pointer dereference. The kernel log shows a BUG message with a RIP address of 0010:mlx5 tc ct entry add rule+0x2b1/0x2f0 [mlx5 core]. The call trace includes functions such as mlx5 tc ct block flow offload(), nf flow offload tuple(), and flow offload work handler().Recommendations
To resolve the issue, update to Linux kernel version 6.6.65 or later. As a temporary workaround, consider disabling the
mlx5 tc ct entry add rule() function until a patch is available. Restrict access to the vulnerable module mlx5 core to minimize the risk of exploitation. Avoid using the zone rule->attr variable in the affected API endpoint until the issue is resolved.Exploit
Fix
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu