CVE-2024-38608

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
19/06/2024
Last modified:
27/08/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> net/mlx5e: Fix netif state handling<br /> <br /> mlx5e_suspend cleans resources only if netif_device_present() returns<br /> true. However, mlx5e_resume changes the state of netif, via<br /> mlx5e_nic_enable, only if reg_state == NETREG_REGISTERED.<br /> In the below case, the above leads to NULL-ptr Oops[1] and memory<br /> leaks:<br /> <br /> mlx5e_probe<br /> _mlx5e_resume<br /> mlx5e_attach_netdev<br /> mlx5e_nic_enable

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.12 (including) 6.9.3 (excluding)