PT-2024-35587 · Linux+8 · Linux Kernel+8

Published

2024-11-07

·

Updated

2025-10-03

·

CVE-2024-53121

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 versions prior to 6.6.65
Description A vulnerability in the Linux kernel has been resolved, specifically in the net/mlx5 component. The issue arises from a two-step process for deleting FTEs (Flow Table Entries), which can lead to a race condition if a rule with the same match value is added simultaneously. This can cause the hardware deletion function to be set to NULL prematurely, resulting in a panic during subsequent rule deletions. To prevent this, the active flag of the FTE should be checked under a lock, preventing the fs core layer from attaching a new steering rule to an FTE that is in the process of deletion.
Recommendations To resolve the issue, update the Linux kernel to version 6.6.65 or later. As a temporary workaround, consider disabling the mlx5 del flow rules function until a patch is available. Restrict access to the vulnerable net/mlx5 module to minimize the risk of exploitation. Avoid using the mlx5e tc rule unoffload function in the affected API endpoint until the issue is resolved.

Exploit

Fix

Memory Leak

Race Condition

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

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-16040
ALT-PU-2024-17211
ALT-PU-2024-17888
ALT-PU-2025-12647
AZL-54243
AZL-54245
BDU:2025-03324
CVE-2024-53121
DLA-4008-1
DLA-4075-1
INFSA-2025_6966
MGASA-2024-0392
MGASA-2024-0393
OESA-2025-1093
OESA-2025-1097
OPENSUSE-SU-2024_4314-1
OPENSUSE-SU-2024_4316-1
OPENSUSE-SU-2025_0556-1
OPENSUSE-SU-2025_0577-1
RHSA-2025:6966
RHSA-2025_6966
SUSE-SU-2024:4314-1
SUSE-SU-2024:4316-1
SUSE-SU-2024:4318-1
SUSE-SU-2025:0289-1
SUSE-SU-2025:0556-1
SUSE-SU-2025:0577-1
SUSE-SU-2025:0577-2
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
SUSE-SU-2025_0577-1
SUSE-SU-2025_0577-2
USN-7276-1
USN-7277-1
USN-7310-1
USN-7387-1
USN-7387-2
USN-7387-3
USN-7388-1
USN-7389-1
USN-7390-1
USN-7391-1
USN-7392-1
USN-7392-2
USN-7392-3
USN-7392-4
USN-7393-1
USN-7401-1
USN-7407-1
USN-7413-1
USN-7421-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7458-1
USN-7459-1
USN-7459-2
USN-7463-1
USN-7468-1
USN-7523-1
USN-7524-1
USN-7539-1
USN-7540-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu