mtd: rawnand: cadence: fix DMA device NULL pointer dereference (Linux Linux)

CVE-2025-68238
Not available

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 0cae7c285f4771a9927ef592899234d307aea5d4 < 2178b0255eae108bb10e5e99658b28641bc06f43 ; affected 099a316518508be7c57de4134ef919b2dea948ce < 9c58c64ec41290c12490ca7e1df45013fbbb41fd ; affected e630d32162a8aab92d4aaebae0a8d93039257593 < e282a4fdf3c6ee842a720010a8b5f7d77bedd126 ; affected ad9393467fbd788ac2b8a01e492e45ab1b68a1b1 < b146e0b085d9d6bfe838e0a15481cba7d093c67f ; affected 0ce5416863965ddd86e066484a306867cf1e01a8 < 0c635241a62f2f5da1b48bfffae226d1f86a76ef ; affected d76d22b5096c5b05208fd982b153b3f182350b19 < 0c2a43cb43786011b48eeab6093db14888258c6b
Linux · Linuxaffected 6.14 ; unaffected 0 < 6.14 ; unaffected 5.10.247 ≤ 5.10.* ; unaffected 5.15.197 ≤ 5.15.* ; unaffected 6.1.159 ≤ 6.1.* ; unaffected 6.6.118 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD