PT-2024-29157 · Linux+6 · Linux Kernel+6

Published

2024-06-04

·

Updated

2025-09-29

·

CVE-2024-40940

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to the deletion of tainted pointers in the Linux kernel, specifically in the mlx5 lag create port sel table() function when flow rule creation fails. Instead of deleting previously created rules, the tainted pointer is deleted multiple times. This bug is fixed by using correct flow rules pointers. The issue was found by the Linux Verification Center (linuxtesting.org) with SVACE.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

RCE

Double Free

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
BDU:2025-03401
CVE-2024-40940
DLA-4008-1
DSA-5731-1
INFSA-2024_9315
OESA-2024-2076
OPENSUSE-SU-2024_2947-1
RHSA-2024:9315
RHSA-2024_9315
SUSE-SU-2024:2802-1
SUSE-SU-2024:2894-1
SUSE-SU-2024:2896-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2947-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
USN-6999-1
USN-6999-2
USN-7004-1
USN-7005-1
USN-7005-2
USN-7008-1
USN-7029-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu