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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-04-24T14:35:42.634Z
- Modified: 2026-11-11T23:10:00.263Z
- Assigned by: Linux

## 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*).

(As written by CVE List.)

## Affected

- Linux Linux: from bdbdf0f06337d3661b64c0288c291cb06624065e before 3709357c1a7b7a422b0cbc2748f187acf612cd94; from bdbdf0f06337d3661b64c0288c291cb06624065e before bac13309339b6f1ac02e6e53ebc75cf61483c396; from bdbdf0f06337d3661b64c0288c291cb06624065e before b8188ff3cfaa5621212b08473488cdbe41f86531; from bdbdf0f06337d3661b64c0288c291cb06624065e before aae4a47073b12c23eb1d2c5401bda442fbe27bd1; from bdbdf0f06337d3661b64c0288c291cb06624065e before 184f5aaf72f1f1c73e66bae0b8d28e81c2f2a72f; from bdbdf0f06337d3661b64c0288c291cb06624065e before 3b46d61890632c8f8b117147b6923bff4b42ccb7; 5.8 (not affected: before 5.8; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.8.1 before 6.19.11; 5.8; 7.0

## References

- <https://git.kernel.org/stable/c/3709357c1a7b7a422b0cbc2748f187acf612cd94>
- <https://git.kernel.org/stable/c/bac13309339b6f1ac02e6e53ebc75cf61483c396>
- <https://git.kernel.org/stable/c/b8188ff3cfaa5621212b08473488cdbe41f86531>
- <https://git.kernel.org/stable/c/aae4a47073b12c23eb1d2c5401bda442fbe27bd1>
- <https://git.kernel.org/stable/c/184f5aaf72f1f1c73e66bae0b8d28e81c2f2a72f> (patch)
- <https://git.kernel.org/stable/c/3b46d61890632c8f8b117147b6923bff4b42ccb7> (patch)

## Sources

- CVE List: [CVE-2026-31560](https://www.cve.org/CVERecord?id=CVE-2026-31560), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-31560](https://nvd.nist.gov/vuln/detail/CVE-2026-31560), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31560 · Whole record: https://cve.day/CVE-2026-31560.json · Rebuilt by cve.day 2026-11-25T22:59:19.484Z
