Linux Kernel Null Pointer Dereference Vulnerability in MTD Raw NAND Cadence Driver

Vulnerability

A null pointer dereference vulnerability has been identified in the Linux kernel's MTD raw NAND Cadence driver. The issue arises in the 'cadence_nand_dt_probe()' function when 'platform_get_resource()' returns NULL, leading to a potential dereference of a null pointer. This vulnerability can be mitigated by rearranging the code to use the resource after it has been properly mapped, and by utilizing 'devm_platform_get_and_ioremap_resource()' to streamline the resource handling.

Impact

Exploitation of this vulnerability can lead to a null pointer dereference, causing a kernel crash.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.