CVE-2024-36003

5.5 MEDIUM

📋 TL;DR

This CVE describes a deadlock vulnerability in the Linux kernel's ice driver when handling Virtual Function (VF) resets with Link Aggregation (LAG) enabled. The vulnerability occurs due to inconsistent lock acquisition order between ice_reset_vf() and ice_vc_cfg_qs_msg(), potentially causing system hangs or denial of service. Systems using Intel Ethernet Controller E810 series with SR-IOV and LAG configurations are affected.

💻 Affected Systems

Products:
  • Linux kernel with Intel ice driver
Versions: Linux kernel versions containing commit 9f74a3dfcf83 up to fixes in stable releases
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ✅ No
Notes: Requires Intel E810 Ethernet Controller with SR-IOV enabled and LAG configuration. Not vulnerable in default configurations without these features.

📦 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 →

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

Complete system deadlock requiring hard reboot, causing extended service disruption and potential data loss in virtualized environments.

🟠

Likely Case

System hangs or kernel panics when creating/removing VFs with LAG enabled, leading to denial of service for affected network interfaces.

🟢

If Mitigated

Minor performance impact during VF operations if proper locking order is enforced.

🌐 Internet-Facing: LOW - This is a local kernel deadlock issue requiring privileged access to trigger via VF operations.
🏢 Internal Only: MEDIUM - Virtualization administrators or automated management tools could inadvertently trigger this during normal VF lifecycle operations.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: NO
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires privileged access to create/remove VFs. The deadlock is reliably triggered by specific sequences of VF operations with LAG enabled.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Linux kernel stable releases containing fixes: 740717774dc3, 96fdd1f6b4ed, de8631d8c9df

Vendor Advisory: https://git.kernel.org/stable/c/740717774dc37338404d10726967d582414f638c

Restart Required: Yes

Instructions:

1. Update to patched kernel version from your distribution's repositories
2. Rebuild kernel if using custom builds
3. Reboot system to load new kernel
4. Verify ice driver version matches patched kernel

🔧 Temporary Workarounds

Disable LAG configuration

linux

Temporarily disable Link Aggregation on affected interfaces to avoid the deadlock condition

# Check current LAG configuration
ip link show
# Remove from bond/LAG configuration
ip link set dev <interface> nomaster

Limit VF operations

linux

Avoid creating/removing multiple VFs simultaneously and implement delays between operations

# Script VF operations with delays
sleep 2
# between VF create/remove commands

🧯 If You Can't Patch

  • Disable SR-IOV functionality on affected network interfaces
  • Implement monitoring for kernel deadlocks and automated recovery procedures

🔍 How to Verify

Check if Vulnerable:

Check kernel version and if ice driver is loaded with LAG enabled: 'uname -r' and 'lsmod | grep ice' and 'ip link show' for bond interfaces

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes fix commits and test VF creation/removal with LAG enabled without triggering deadlock

📡 Detection & Monitoring

Log Indicators:

  • Kernel deadlock warnings in dmesg
  • 'possible circular locking dependency detected' messages
  • Ice driver error messages related to VF operations

Network Indicators:

  • Sudden loss of network connectivity on bonded interfaces
  • VF network interfaces becoming unresponsive

SIEM Query:

source="kernel" AND "possible circular locking" AND "ice_reset_vf"

🔗 References

📤 Share & Export