# CVE-2025-68238: mtd: rawnand: cadence: fix DMA device NULL pointer dereference

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-16T14:08:31.672Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 0cae7c285f4771a9927ef592899234d307aea5d4, \< 2178b0255eae108bb10e5e99658b28641bc06f43; \>= 099a316518508be7c57de4134ef919b2dea948ce, \< 9c58c64ec41290c12490ca7e1df45013fbbb41fd; \>= e630d32162a8aab92d4aaebae0a8d93039257593, \< e282a4fdf3c6ee842a720010a8b5f7d77bedd126; \>= ad9393467fbd788ac2b8a01e492e45ab1b68a1b1, \< b146e0b085d9d6bfe838e0a15481cba7d093c67f; \>= 0ce5416863965ddd86e066484a306867cf1e01a8, \< 0c635241a62f2f5da1b48bfffae226d1f86a76ef; \>= d76d22b5096c5b05208fd982b153b3f182350b19, \< 0c2a43cb43786011b48eeab6093db14888258c6b; \>= d76d22b5096c5b05208fd982b153b3f182350b19, \< 5c56bf214af85ca042bf97f8584aab2151035840; a33c7492dcdf804b705b6c21018a481414d48038; \>= 5.10.235, \< 5.10.247; \>= 5.15.179, \< 5.15.197; …
- Anyone running Linux 6.14

## 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 and fixed versions

- Linux: \>= 0cae7c285f4771a9927ef592899234d307aea5d4, \< 2178b0255eae108bb10e5e99658b28641bc06f43; \>= 099a316518508be7c57de4134ef919b2dea948ce, \< 9c58c64ec41290c12490ca7e1df45013fbbb41fd; \>= e630d32162a8aab92d4aaebae0a8d93039257593, \< e282a4fdf3c6ee842a720010a8b5f7d77bedd126; \>= ad9393467fbd788ac2b8a01e492e45ab1b68a1b1, \< b146e0b085d9d6bfe838e0a15481cba7d093c67f; \>= 0ce5416863965ddd86e066484a306867cf1e01a8, \< 0c635241a62f2f5da1b48bfffae226d1f86a76ef; \>= d76d22b5096c5b05208fd982b153b3f182350b19, \< 0c2a43cb43786011b48eeab6093db14888258c6b; \>= d76d22b5096c5b05208fd982b153b3f182350b19, \< 5c56bf214af85ca042bf97f8584aab2151035840; a33c7492dcdf804b705b6c21018a481414d48038; \>= 5.10.235, \< 5.10.247; \>= 5.15.179, \< 5.15.197; … (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68238. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68238.md
Affected: Linux >= 0cae7c285f4771a9927ef592899234d307aea5d4, < 2178b0255eae108bb10e5e99658b28641bc06f43; >= 099a316518508be7c57de4134ef919b2dea948ce, < 9c58c64ec41290c12490ca7e1df45013fbbb41fd; >= e630d32162a8aab92d4aaebae0a8d93039257593, < e282a4fdf3c6ee842a720010a8b5f7d77bedd126; >= ad9393467fbd788ac2b8a01…
Fixed in: Linux 2178b0255eae108bb10e5e99658b28641bc06f43, Linux 9c58c64ec41290c12490ca7e1df45013fbbb41fd, Linux 0c635241a62f2f5da1b48bfffae226d1f86a76ef, Linux 0c2a43cb43786011b48eeab6093db14888258c6b, Linux 5c56bf214af85ca042bf97f8584aab2151035840, Linux 5.10.247, Linux 5.15.197

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68238 being exploited?

There is no confirmed exploitation: CVE-2025-68238 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68238?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68238?

Linux \>= 0cae7c285f4771a9927ef592899234d307aea5d4, \< 2178b0255eae108bb10e5e99658b28641bc06f43; \>= 099a316518508be7c57de4134ef919b2dea948ce, \< 9c58c64ec41290c12490ca7e1df45013fbbb41fd; \>= e630d32162a8aab92d4aaebae0a8d93039257593, \< e282a4fdf3c6ee842a720010a8b5f7d77bedd126; \>= ad9393467fbd788ac2b8a01e492e45ab1b68a1b1, \< b146e0b085d9d6bfe838e0a15481cba7d093c67f; \>= 0ce5416863965ddd86e066484a306867cf1e01a8, \< 0c635241a62f2f5da1b48bfffae226d1f86a76ef; \>= d76d22b5096c5b05208fd982b153b3f182350b19, \< 0c2a43cb43786011b48eeab6093db14888258c6b; \>= d76d22b5096c5b05208fd982b153b3f182350b19, \< 5c56bf214af85ca042bf97f8584aab2151035840; a33c7492dcdf804b705b6c21018a481414d48038; \>= 5.10.235, \< 5.10.247; \>= 5.15.179, \< 5.15.197; …; Linux 6.14.

### Is there a fix for CVE-2025-68238?

Yes. Fixed in Linux 2178b0255eae108bb10e5e99658b28641bc06f43, Linux 9c58c64ec41290c12490ca7e1df45013fbbb41fd, Linux 0c635241a62f2f5da1b48bfffae226d1f86a76ef, Linux 0c2a43cb43786011b48eeab6093db14888258c6b, Linux 5c56bf214af85ca042bf97f8584aab2151035840, Linux 5.10.247, Linux 5.15.197. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68238?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/2178b0255eae108bb10e5e99658b28641bc06f43>
- other: <https://git.kernel.org/stable/c/9c58c64ec41290c12490ca7e1df45013fbbb41fd>
- other: <https://git.kernel.org/stable/c/e282a4fdf3c6ee842a720010a8b5f7d77bedd126>
- other: <https://git.kernel.org/stable/c/b146e0b085d9d6bfe838e0a15481cba7d093c67f>
- other: <https://git.kernel.org/stable/c/0c635241a62f2f5da1b48bfffae226d1f86a76ef>
- other: <https://git.kernel.org/stable/c/0c2a43cb43786011b48eeab6093db14888258c6b>
- other: <https://git.kernel.org/stable/c/5c56bf214af85ca042bf97f8584aab2151035840>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68238>

HTML: <https://flawdb.com/CVE-2025-68238> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68238>
