Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2024-38608
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-38608 affects the Linux kernel's network driver component, specifically in the net/mlx5e subsystem. The vulnerability was discovered in the netif state handling where mlx5e_suspend only cleans resources if netif_device_present() returns true, while mlx5e_resume changes the state of netif via mlx5e_nic_enable only if reg_state == NETREG_REGISTERED. This inconsistency was identified in June 2024 and affects Linux kernel versions from 4.12 up to (excluding) 6.9.3 (NVD).

Technical details

The vulnerability stems from a mismatch in state handling conditions between suspend and resume operations in the mlx5e network driver. When mlx5e_probe is called followed by _mlx5e_resume and mlx5e_attach_netdev, the mlx5e_nic_enable function doesn't call netif_device_attach() when the netdev is not registered. If register_netdev subsequently fails, _mlx5e_suspend won't free resources because netif_device_present returns false, leading to both a NULL pointer dereference and memory leaks. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD, Kernel Patch).

Impact

The vulnerability can result in a NULL pointer dereference causing kernel crashes and memory leaks. This primarily affects system stability and availability, with no direct impact on confidentiality or integrity. The issue occurs during device initialization and can be triggered during system operations involving the affected network driver (NVD).

Exploitability

The vulnerability requires local access with low privileges to exploit. It can be triggered through normal system operations involving the mlx5e network driver, particularly during device initialization or when manipulating network interfaces. The vulnerability has been confirmed to be exploitable in real-world scenarios, as demonstrated by the provided crash dump in the original report (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that modifies the _mlx5e_suspend function to handle resource cleanup properly in all cases. The fix introduces a new parameter 'pre_netdev_reg' to ensure resources are cleaned up regardless of the netif_device_present state. Users are advised to update their Linux kernel to version 6.9.3 or later, or apply the relevant backported patches (Kernel Patch).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Affected

bullseye

linux

Affected

sid

linux: 6.9.7-1

Fixed

trixie

linux: 6.9.7-1

Fixed

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-7.0
NoYesSep 17, 2026
CVE-2026-93188NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-fips
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-nvidia
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management