Linux Kernel Remoteproc NULL Pointer Dereference Vulnerability

Vulnerability

A vulnerability in the Linux kernel's remoteproc component can lead to a NULL pointer dereference, causing a kernel crash. This issue occurs on i.MX8MP and i.MX9 platforms. The vulnerability arises when a remote processor is stopped, and a new firmware without a resource table is loaded. Upon starting the remote processor, the absence of a resource table leads to a memory copy operation that dereferences a NULL pointer, triggering a kernel panic.

Impact

Exploitation of this vulnerability causes a kernel NULL pointer dereference, leading to a crash of the affected system.

Reproduction

The vulnerability can be reproduced by using U-Boot to start a remote processor with a resource table published to a fixed address. After the kernel boots, the remote processor is stopped, and a new firmware that does not include a resource table is loaded. When the remote processor is started again, the missing resource table causes a NULL pointer dereference, as the process attempts to copy a non-existent resource table, which has been cleared during the shutdown process.

Remediation

To address this vulnerability, the remote processor's resource table size should be cleared before shutting it down.

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.3
remediation
0.0
relevance
0.0
threat
4.8
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.