PT-2024-8509 · Linux+9 · Linux Kernel+9

Published

2024-04-10

·

Updated

2026-05-26

·

CVE-2024-35959

CVSS v3.1

7.0

High

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.8.0-rc3 net next 841a9b5
Description The vulnerability is related to the net/mlx5e component of the Linux kernel. When mlx5e priv init() fails, the cleanup flow calls mlx5e selq cleanup(), which in turn calls mlx5e selq apply() that assures the priv->state lock is held using lockdep is held(). However, the state lock is not acquired in mlx5e selq cleanup(), leading to a potential issue. The kernel log indicates a suspicious RCU usage, and the stack backtrace points to the mlx5e selq apply() function. The vulnerability may allow an attacker to cause a denial of service.
Recommendations To resolve the issue, acquire the state lock in mlx5e selq cleanup() to ensure proper synchronization. As a temporary workaround, consider disabling the mlx5e selq cleanup() function until a patch is available. Restrict access to the vulnerable mlx5e module to minimize the risk of exploitation. Avoid using the priv->state lock variable in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Improper Locking

Weakness Enumeration

Related Identifiers

ALSA-2024:4211
ALSA-2024:4352
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2024-10069
CESA-2024_4211
CESA-2024_4352
CVE-2024-35959
INFSA-2024_4211
INFSA-2024_4352
INFSA-2024_9315
RHSA-2024:4211
RHSA-2024:4352
RHSA-2024:9315
RHSA-2024_4211
RHSA-2024_4352
RHSA-2024_9315
RHSA-2025:2270
RLSA-2024:4211
RLSA-2024:4352
RXSA-2024:4211
SUSE-SU-2024:2008-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2135-1
SUSE-SU-2024:2190-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20249-1
USN-6893-1
USN-6893-2
USN-6893-3
USN-6918-1

Affected Products

Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu