CVE-2026-31560 spi: spi-dw-dma: fix print error log when wait finish transaction

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel SPI DW DMA driver causes a system crash when an error occurs during transaction waiting.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31560?

CVE-2026-31560 is a medium-severity vulnerability in Linux kernel, published on 24 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

spi: spi-dw-dma: fix print error log when wait finish transaction

If an error occurs, the device may not have a current message. In this case, the system will crash.

In this case, it's better to use dev from the struct ctlr (struct spi_controller*).

Which versions are affected by CVE-2026-31560?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31560?

Apply the vendor's patch.

Is CVE-2026-31560 being exploited?

There is no known exploitation of CVE-2026-31560 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-83768, BELL-CVE-2026-31560, DEBIAN-CVE-2026-31560, GHSA-x9pc-8g9f-68mf, ROOT-OS-DEBIAN-11-CVE-2026-31560, ROOT-OS-DEBIAN-12-CVE-2026-31560 and 4 more.

Is CVE-2026-31560 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free