CVE-2026-142921: powerpc/interrupt: Use early_radix_enabled() in NMI real-mode guard
In the Linux kernel, the following vulnerability has been resolved:
powerpc/interrupt: Use earlyradixenabled() in NMI real-mode guard
radixenabled() uses a jump label which is only valid after setupfeaturekeys() is called. Before that point, on a pSeries hash guest, earlycheckvec5() clears MMUFTRTYPERADIX in curcpuspec->mmufeatures, but the jump label has not yet been patched, so radixenabled() incorrectly returns true.
The dangerous usage window where it goes wrong in earlysetup():
earlysetup: configureexceptions(); <exceptions can happen now, and handler enter/exit can be invoked> <those could use radixenabled(), which returns stale true> setupfeaturekeys(); <jump labels set up; post this it is safe to use radixenabled()>
If an NMI occurs in this window, !radixenabled() evaluates to false in DEFINEINTERRUPTHANDLERNMI. The handler fails to skip NMI entry in real mode and attempts to access memory outside the Real Mode Area (RMA), hanging the boot.
Since common interrupt wrappers do not have the context of early or late, using earlyradixenabled() is the safer option. It does a plain bitmask check against curcpuspec->mmufeatures and is correct at all times.
Console logs from a pSeries HASH guest showing values across boot stages:
[ 0.000000] DEBUG: after earlyinitdevtree: earlyradixenabled=0 radixenabled=1 (mismatch means NMI real-mode check is unsafe!) [ 0.000000] DEBUG: after configureexceptions (DANGEROUS WINDOW): earlyradixenabled=0 radixenabled=1 [ 0.000000] DEBUG: after setupfeaturekeys (jump labels initialized): earlyradixenabled=0 radixenabled=0 (should now match!) [ 0.057124] DEBUG: post secondary CPU bringup: earlyradixenabled=0 radixenabled=0 (should match!)
Console logs from a RADIX guest showing values across boot stages:
[ 0.000000] DEBUG: after earlyinitdevtree: earlyradixenabled=1 radixenabled=1 (mismatch means NMI real-mode check is unsafe!) [ 0.000000] DEBUG: after configureexceptions (DANGEROUS WINDOW): earlyradixenabled=1 radixenabled=1 [ 0.000000] DEBUG: after setupfeaturekeys (jump labels initialized): earlyradixenabled=1 radixenabled=1 (should now match!) [ 0.057016] DEBUG: post secondary CPU bringup: earlyradixenabled=1 radixenabled=1 (should match!)
Add the missing #include <asm/mmu.h> in alphabetical order since earlyradixenabled() is declared there.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1
Event History
Frequently Asked Questions
Which systems are exposed to this failure?
The described condition applies to PowerPC pSeries hash guests during early kernel initialization. It depends on early_check_vec5() clearing the radix MMU feature before jump-label feature keys have been set up.
What has to happen for the system to fail?
An NMI must occur after exceptions are configured but before setup_feature_keys() runs. In that interval, the stale radix_enabled() result can cause the NMI handler to access memory outside the Real Mode Area and hang the boot process.
What is the relevant remediation change?
The NMI real-mode guard should use early_radix_enabled() rather than radix_enabled(). early_radix_enabled() performs a direct check of cur_cpu_spec->mmu_features and remains valid both before and after feature-key setup.