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

Shay Drory

·

Published

2024-05-09

·

Updated

2026-05-26

·

CVE-2024-38608

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.5.0
Description The vulnerability is related to the net/mlx5e driver in the Linux kernel. It occurs when the mlx5e suspend function cleans resources only if netif device present() returns true, but mlx5e resume changes the state of netif via mlx5e nic enable only if reg state equals NETREG REGISTERED. This can lead to a NULL pointer dereference and memory leaks in certain cases. The issue arises when mlx5e probe calls mlx5e resume, which in turn calls mlx5e attach netdev and mlx5e nic enable. If register netdev fails, netif device present returns false, and resources are not freed, resulting in a memory leak.
Recommendations To resolve this issue, update the Linux kernel to a version that includes the fix for the net/mlx5e driver. Specifically, ensure that the kernel version is 6.5.0 or later, as this version includes the necessary patches to address the vulnerability. If updating the kernel is not feasible, consider applying the patch for the net/mlx5e driver to the existing kernel version to fix the issue.

Exploit

Fix

DoS

NULL Pointer Dereference

Weakness Enumeration

Related Identifiers

ALSA-2024:5928
ALSA-2024:8856
ALSA-2024:8870
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2025-12647
AZL-48210
AZL-48285
BDU:2025-03040
CESA-2024_8856
CESA-2024_8870
CVE-2024-38608
ECHO-76BC-1CE3-F83A
INFSA-2024_5928
INFSA-2024_8856
INFSA-2024_8870
OESA-2024-2292
OESA-2024-2293
OESA-2024-2295
OESA-2024-2296
OPENSUSE-SU-2024_2372-1
OPENSUSE-SU-2024_2394-1
RHSA-2024:5672
RHSA-2024:5673
RHSA-2024:5928
RHSA-2024:8856
RHSA-2024:8870
RHSA-2024_5928
RHSA-2024_8856
RHSA-2024_8870
RLSA-2024:8856
RLSA-2024:8870
SUSE-SU-2024:2360-1
SUSE-SU-2024:2372-1
SUSE-SU-2024:2381-1
SUSE-SU-2024:2394-1
SUSE-SU-2024:2561-1
SUSE-SU-2024:2571-1
SUSE-SU-2024:2896-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
USN-7513-1
USN-7513-2
USN-7513-3
USN-7513-4
USN-7513-5
USN-7514-1
USN-7515-1
USN-7515-2
USN-7522-1
USN-7523-1
USN-7524-1

Affected Products

Alt Linux
Almalinux
Centos
Debian
Linuxmint
Linux Kernel
Red Hat
Rocky Linux
Suse
Ubuntu