Junglewise Threat Intelligence

CVE-2024-26937: Linux Kernel i915 driver reachable assertion in engine parking

CVE-2024-26937 · Severity: medium · CVSS 5.5 · Published 2024-05-01

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's Intel graphics driver (i915) can cause a system crash or denial of service. The issue occurs when the graphics hardware attempts to enter a low-power state while certain task priorities are still being processed. This can lead to a kernel panic, potentially disrupting operations and requiring a system reboot.

Technical details

A race condition exists in the drm/i915/gt component of the Linux kernel during engine parking. The 'preempt-to-busy' mechanism allows an active request to be replaced and retired before the hardware processes the preemption. If the engine begins the parking process (idling for power management) before the Command Streamer (CS) interrupt restores the 'queue_priority_hint', the kernel triggers a GEM_BUG_ON assertion because the priority hint is not at its expected minimum value. This reachable assertion (CWE-617) results in a kernel panic. The vulnerability is exploitable by a local user with sufficient privileges to interact with the graphics subsystem. Patches have been released across multiple stable kernel branches to reset the priority hint during the parking sequence.

Affected products

  • Linux Linux Kernel 6.8.0-rc2 and earlier versions

Timeline

  • 2024-03-18: patched: Initial patch authored by Chris Wilson
  • 2024-05-01: disclosed: CVE-2024-26937 published

References

Related threats