Bug 2502512 (CVE-2026-64168) - CVE-2026-64168 kernel: spi: sprd: fix error pointer deref after DMA setup failure
Summary: CVE-2026-64168 kernel: spi: sprd: fix error pointer deref after DMA setup fai...
Keywords:
Status: NEW
Alias: CVE-2026-64168
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-19 17:03 UTC by OSIDB Bzimport
Modified: 2026-07-20 14:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-19 17:03:28 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.