Linux Kernel PowerPC Kprobes Null Pointer Dereference Vulnerability

Vulnerability

A null pointer dereference vulnerability has been identified in the Linux kernel's PowerPC architecture, specifically within the kprobes functionality. This issue arises in the 'arch_prepare_kprobe' function when a kprobe is set on a function that has been traced using ftrace. The ftrace-based kprobe does not generate the necessary instruction data, leading to a null pointer being read. As a result, the kernel attempts to access a user page at a null address, causing a crash. This vulnerability affects Linux kernel versions 6.0.0-rc3 and prior.

Impact

Exploitation of this vulnerability leads to a kernel panic due to a null pointer dereference, causing a crash of the running kernel.

Reproduction

To reproduce this vulnerability, first set a kprobe on the 'cmdline_proc_show' function by echoing the command into 'kprobe_events'. Then, add a probe for the next instruction at the ftrace location. This will trigger the null pointer dereference when the kernel attempts to read the instruction data, resulting in a crash.

Remediation

Users can upgrade to the latest stable version of the Linux kernel to address this vulnerability.

Added: Dec 9, 2025, 2:32 AM
Updated: Dec 9, 2025, 2:32 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
1.4
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.