CVE-2026-142921

Source
https://cve.org/CVERecord?id=CVE-2026-142921
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142921.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142921
Published
2026-12-03T03:26:00Z
Modified
2026-12-03T05:01:18Z
Summary
powerpc/interrupt: Use early_radix_enabled() in NMI real-mode guard
Details

In the Linux kernel, the following vulnerability has been resolved:

powerpc/interrupt: Use early_radix_enabled() in NMI real-mode guard

radix_enabled() uses a jump label which is only valid after setup_feature_keys() is called. Before that point, on a pSeries hash guest, early_check_vec5() clears MMU_FTR_TYPE_RADIX in cur_cpu_spec->mmu_features, but the jump label has not yet been patched, so radix_enabled() incorrectly returns true.

The dangerous usage window where it goes wrong in early_setup():

early_setup:
    configure_exceptions();
    <exceptions can happen now, and handler enter/exit can be invoked>
    <those could use radix_enabled(), which returns stale true>
    setup_feature_keys();
    <jump labels set up; post this it is safe to use radix_enabled()>

If an NMI occurs in this window, !radix_enabled() evaluates to false in DEFINE_INTERRUPT_HANDLER_NMI. 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 early_radix_enabled() is the safer option. It does a plain bitmask check against cur_cpu_spec->mmu_features and is correct at all times.

Console logs from a pSeries HASH guest showing values across boot stages:

[ 0.000000] DEBUG: after early_init_devtree: early_radix_enabled=0 radix_enabled=1 (mismatch means NMI real-mode check is unsafe!) [ 0.000000] DEBUG: after configure_exceptions (DANGEROUS WINDOW): early_radix_enabled=0 radix_enabled=1 [ 0.000000] DEBUG: after setup_feature_keys (jump labels initialized): early_radix_enabled=0 radix_enabled=0 (should now match!) [ 0.057124] DEBUG: post secondary CPU bringup: early_radix_enabled=0 radix_enabled=0 (should match!)

Console logs from a RADIX guest showing values across boot stages:

[ 0.000000] DEBUG: after early_init_devtree: early_radix_enabled=1 radix_enabled=1 (mismatch means NMI real-mode check is unsafe!) [ 0.000000] DEBUG: after configure_exceptions (DANGEROUS WINDOW): early_radix_enabled=1 radix_enabled=1 [ 0.000000] DEBUG: after setup_feature_keys (jump labels initialized): early_radix_enabled=1 radix_enabled=1 (should now match!) [ 0.057016] DEBUG: post secondary CPU bringup: early_radix_enabled=1 radix_enabled=1 (should match!)

Add the missing #include <asm/mmu.h> in alphabetical order since early_radix_enabled() is declared there.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142921.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8d0e2101274358d9b6b1f27232b40253ca48bab5
Fixed
947919de64b6beedfac7534894f5d9ab651045a7
Fixed
9fb01e49101c3f4ad7a51f07630cd1fabd8353ef
Fixed
09f52930042f5920264218197236f81e50336ad6
Fixed
644ffb02746690c0ebfe143e066f81c9bde2975e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e35aa57098dffa42126eac99c7a57ad6fe21af19

Affected versions

v5.*
v5.9.10
v5.9.11
v5.9.12
v5.9.13
v5.9.14
v5.9.15
v5.9.16
v5.9.5
v5.9.6
v5.9.7
v5.9.8
v5.9.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142921.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.9.5
Fixed
5.10
Type
ECOSYSTEM
Events
Introduced
5.10.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142921.json"