Linux Kernel Cirrus EP93XX SPI Driver Error Pointer Dereference Vulnerability

Vulnerability

A vulnerability in the Linux kernel's SPI driver for Cirrus EP93XX devices can lead to an error pointer dereference. This issue occurs because the driver does not properly clear DMA channel pointers when DMA setup fails, causing the driver to fall back on PIO mode. The problem was identified during a review of a devres allocation conversion patch.

Impact

The vulnerability can cause a denial-of-service by leading to an incorrect handling of DMA channels, potentially causing the driver to mismanage resources or fail to operate as intended.

Reproduction

The vulnerability can be reproduced by loading the SPI driver for Cirrus EP93XX devices and simulating a failure in the DMA setup process. This will trigger the driver to revert to PIO mode without properly clearing the DMA channel pointers, setting the stage for an error pointer dereference.

Remediation

Users can apply the latest patches from the Linux kernel stable tree to address this vulnerability.

Added: Jul 19, 2026, 4:39 PM
Updated: Jul 19, 2026, 4:39 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
7.7
relevance
9.9
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.