CVE-2024-45019

5.5 MEDIUM

📋 TL;DR

This CVE describes a race condition vulnerability in the Linux kernel's mlx5e network driver where the state lock wasn't properly acquired during tx timeout reporter operations. This could lead to system instability or denial of service. Systems using Mellanox network adapters with affected Linux kernel versions are vulnerable.

💻 Affected Systems

Products:
  • Linux kernel mlx5e driver
Versions: Linux kernel versions containing the vulnerable commit up to the fix commit
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Requires Mellanox network adapters and the mlx5e driver to be active. Systems without Mellanox hardware are not affected.

📦 What is this software?

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

⚠️ Risk & Real-World Impact

🔴

Worst Case

System crash or kernel panic leading to complete denial of service, potentially requiring physical reboot of affected servers.

🟠

Likely Case

Network interface instability, packet loss, or temporary network connectivity issues requiring driver reload or interface restart.

🟢

If Mitigated

Minor performance impact during network stress conditions with proper monitoring in place.

🌐 Internet-Facing: MEDIUM - Could affect network-facing services if exploited, but requires specific hardware and conditions.
🏢 Internal Only: MEDIUM - Affects internal network infrastructure and servers using Mellanox adapters.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: HIGH - Requires specific hardware and race condition triggering

Exploitation requires local access and ability to trigger network timeout conditions on Mellanox interfaces.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Linux kernel with commit 03d3734bd692affe4d0e9c9d638f491aaf37411b or later

Vendor Advisory: https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

Restart Required: Yes

Instructions:

1. Update Linux kernel to version containing the fix commit. 2. Reboot system to load new kernel. 3. Verify mlx5e driver is functioning correctly.

🔧 Temporary Workarounds

Disable mlx5e driver

linux

Temporarily disable the affected network driver if Mellanox adapters are not critical

modprobe -r mlx5_core
echo 'blacklist mlx5_core' > /etc/modprobe.d/blacklist-mlx5.conf

Network interface monitoring

linux

Monitor network interfaces for timeout events and restart interfaces if issues occur

# Monitor for tx timeout events in dmesg
dmesg | grep -i 'tx timeout'
# Restart interface if needed
ifdown ethX && ifup ethX

🧯 If You Can't Patch

  • Implement strict network monitoring for tx timeout events and interface errors
  • Consider replacing Mellanox adapters with alternative hardware if patching is not possible

🔍 How to Verify

Check if Vulnerable:

Check kernel version and if mlx5e driver is loaded: 'uname -r' and 'lsmod | grep mlx5'

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version contains fix commit and monitor dmesg for tx timeout stability

📡 Detection & Monitoring

Log Indicators:

  • Kernel messages about tx timeouts
  • mlx5e driver error messages
  • Network interface resets in system logs

Network Indicators:

  • Sudden network interface drops
  • Increased packet loss on Mellanox interfaces
  • Interface state flapping

SIEM Query:

source="kernel" AND ("tx timeout" OR "mlx5e" OR "network interface down")

🔗 References

📤 Share & Export