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

Published Dec 16, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

The DMA device pointer dmadev was being dereferenced before ensuring that cdnsctrl->dmac is properly initialized.

Move the assignment of dmadev after successfully acquiring the DMA channel to ensure the pointer is valid before use.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 16, 2025
CVE Published
via MITRE·02:08 PM
Data Sourced
via MITRE·02:08 PM
Description
Data Sourced
via NVD·02:15 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-68238?

CVE-2025-68238 has a medium severity rating due to the potential for denial of service through NULL pointer dereference.

2

How do I fix CVE-2025-68238?

To fix CVE-2025-68238, update the Linux kernel to the latest version that includes the patch for this vulnerability.

3

What systems are affected by CVE-2025-68238?

CVE-2025-68238 affects all versions of the Linux kernel with the rawnand driver where the DMA device pointer is not properly initialized.

4

What attacks can exploit CVE-2025-68238?

CVE-2025-68238 could potentially be exploited to crash the system or cause instability due to a NULL pointer dereference.

5

Is CVE-2025-68238 related to the Linux kernel MTD subsystem?

Yes, CVE-2025-68238 is specifically related to the MTD (Memory Technology Devices) subsystem in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203