CVE-2025-68238
JSON

Not scored

mtd: rawnand: cadence: fix DMA device NULL pointer dereference

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: cadence: fix DMA device NULL pointer dereference The DMA device pointer `dma_dev` was being dereferenced before ensuring that `cdns_ctrl->dmac` is properly initialized. Move the assignment of `dma_dev` after successfully acquiring the DMA channel to ensure the pointer is valid before use.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 0cae7c285f4771a9927ef592899234d307aea5d4 before 2178b0255eae108bb10e5e99658b28641bc06f43, from 099a316518508be7c57de4134ef919b2dea948ce before 9c58c64ec41290c12490ca7e1df45013fbbb41fd, from e630d32162a8aab92d4aaebae0a8d93039257593 before e282a4fdf3c6ee842a720010a8b5f7d77bedd126, from ad9393467fbd788ac2b8a01e492e45ab1b68a1b1 before b146e0b085d9d6bfe838e0a15481cba7d093c67f, from 0ce5416863965ddd86e066484a306867cf1e01a8 before 0c635241a62f2f5da1b48bfffae226d1f86a76ef, from d76d22b5096c5b05208fd982b153b3f182350b19 before 0c2a43cb43786011b48eeab6093db14888258c6b, from d76d22b5096c5b05208fd982b153b3f182350b19 before 5c56bf214af85ca042bf97f8584aab2151035840, a33c7492dcdf804b705b6c21018a481414d48038 and 7 more
Not affected: before 6.14, from 5.10.247 up to 5.10.*, from 5.15.197 up to 5.15.*, from 6.1.159 up to 6.1.*, from 6.6.118 up to 6.6.*, from 6.12.60 up to 6.12.*
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: cadence: fix DMA device NULL pointer dereference The DMA device pointer `dma_dev` was being dereferenced before ensuring that `cdns_ctrl->dmac` is properly initialized. Move the assignment of `dma_dev` after successfully acquiring the DMA channel to ensure the pointer is valid before use.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mtd: rawnand: cadence: corrección de desreferencia de puntero NULL de dispositivo DMA El puntero del dispositivo DMA 'dma_dev' estaba siendo desreferenciado antes de asegurar que 'cdns_ctrl -> dmac' estuviera correctamente inicializado. Mover la asignación de 'dma_dev' después de adquirir exitosamente el canal DMA para asegurar que el puntero sea válido antes de su uso.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68238 changed 2026-05-23CVE Terms of Use
NVDCVE-2025-68238 changed 2026-10-14Public domain