Linux Kernel PowerPC RTAS Device Tree Lookup Vulnerability During Panic

Vulnerability

A vulnerability in the Linux kernel's PowerPC RTAS implementation can lead to a hang condition during a kernel panic. The issue arises in the 'rtas_os_term()' function, which is called during panic and relies on conditions from the device tree. This traversal can cause locking issues and disrupt local IRQ states. If a panic occurs while the device tree lock is engaged, 'rtas_os_term()' may hang indefinitely. The vulnerability affects several versions of the Linux kernel.

Impact

The vulnerability can cause the system to hang during a kernel panic, potentially leading to a denial of service.

Reproduction

The vulnerability can be reproduced by causing a kernel panic while the device tree lock is held. This can be done by triggering a panic in the 'rtas_os_term()' function before the device tree lookups are cached at boot.

Remediation

The vulnerability has been addressed by modifying 'rtas_os_term()' to cache the necessary device tree properties at boot time, rather than during a panic. This change is included in the latest Linux kernel updates.

Added: Dec 30, 2025, 4:56 PM
Updated: Dec 30, 2025, 4:56 PM

Vulnerability Rating

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