Junglewise Threat Intelligence

CVE-2024-36004: Linux Kernel i40e workqueue dependency conflict in Intel Ethernet driver

CVE-2024-36004 · Severity: medium · CVSS 5.5 · Published 2024-05-20

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's Intel i40e network driver. This issue occurs when certain network drivers are used together, potentially causing the system to trigger a kernel warning or experience instability during specific network operations. This could lead to a service disruption or system crash, affecting the availability of the server.

Technical details

A vulnerability exists in the Linux kernel i40e driver due to an incorrect workqueue flag configuration. The i40e driver workqueue was allocated with the WQ_MEM_RECLAIM flag, while the dependent i40iw driver workqueue was not. This mismatch triggers a 'check_flush_dependency' warning when the i40e service task attempts to flush the i40iw workqueue during device closure or SRIOV testing. An attacker with local access could potentially trigger this condition to cause a kernel panic or system hang (Denial of Service). The fix involves removing the WQ_MEM_RECLAIM flag from the i40e workqueue allocation to resolve the flush dependency conflict.

Affected products

  • Linux Linux Kernel 6.8.0-rc2 and earlier versions

Timeline

  • 2024-05-20: advisory: CVE published by NVD
  • 2024-05-02: patched: Fix committed to Linux stable tree

References

Related threats