CVE-2025-68238

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

State
Published
Severity
Not scored
Published
Dec 16, 2025
Updated
May 23, 2026
Reserved
Dec 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0cae7c285f4771a9927ef592899234d307aea5d4 to before 2178b0255eae108bb10e5e99658b28641bc06f43Affected
  • 099a316518508be7c57de4134ef919b2dea948ce to before 9c58c64ec41290c12490ca7e1df45013fbbb41fdAffected
  • e630d32162a8aab92d4aaebae0a8d93039257593 to before e282a4fdf3c6ee842a720010a8b5f7d77bedd126Affected
  • ad9393467fbd788ac2b8a01e492e45ab1b68a1b1 to before b146e0b085d9d6bfe838e0a15481cba7d093c67fAffected
  • 0ce5416863965ddd86e066484a306867cf1e01a8 to before 0c635241a62f2f5da1b48bfffae226d1f86a76efAffected
  • d76d22b5096c5b05208fd982b153b3f182350b19 to before 0c2a43cb43786011b48eeab6093db14888258c6bAffected
  • d76d22b5096c5b05208fd982b153b3f182350b19 to before 5c56bf214af85ca042bf97f8584aab2151035840Affected
  • a33c7492dcdf804b705b6c21018a481414d48038Affected
  • 5.10.235 to before 5.10.247Affected
  • 5.15.179 to before 5.15.197Affected
  • 6.1.130 to before 6.1.159Affected
  • 6.6.80 to before 6.6.118Affected
  • 6.12.17 to before 6.12.60Affected
  • 6.13.5 to before 6.14Affected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 5.10.247 through 5.10.*Not affected
  • 5.15.197 through 5.15.*Not affected
  • 6.1.159 through 6.1.*Not affected
  • 6.6.118 through 6.6.*Not affected
  • 6.12.60 through 6.12.*Not affected
  • 6.17.10 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.