CVE-2026-64168: spi: sprd: fix error pointer deref after DMA setup failure

Published Jul 19, 2026
·
Updated

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

spi: sprd: fix error pointer deref after DMA setup failure

The driver falls back to PIO mode if DMA setup fails during probe.

Make sure to check the dma.enabled flag before trying to release the DMA channels also on late probe errors to avoid dereferencing an error pointer (or attempting to release a channel a second time).

This issue was flagged by Sashiko when reviewing a devres allocation conversion patch.

Affected Software

12 affected components
Linux Linux kernel
Linux Linux kernel>=5.1<5.10.258
Linux Linux kernel>=5.11<5.15.209
Linux Linux kernel>=5.16<6.1.175
Linux Linux kernel>=6.2<6.6.142
Linux Linux kernel>=6.7<6.12.92
Linux Linux kernel>=6.13<6.18.34
Linux Linux kernel>=6.19<7.0.11
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the spi: sprd driver, before trying to release DMA resources/channels, check the dma.enabled flag to ensure DMA is actually enabled/active; do not attempt to release DMA after a DMA setup failure.

Event History

Jul 19, 2026
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
Description
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64168?

CVE-2026-64168 has a risk rating of 16.

2

How do I fix CVE-2026-64168?

To address CVE-2026-64168, ensure that you are using the patched version of the Linux kernel which resolves the DMA setup failure issues.

3

What systems are affected by CVE-2026-64168?

CVE-2026-64168 affects certain configurations of the Linux kernel that utilize the SPI driver with DMA capabilities.

4

What is the impact of CVE-2026-64168?

CVE-2026-64168 can lead to a denial of service due to an error pointer dereference if DMA setup fails.

5

When was CVE-2026-64168 published?

CVE-2026-64168 was published on July 19, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203