CVE-2026-64252
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Jul 24, 2026
CISA due date
—
Cloudanix analysis
Some specialized Linux systems can crash during startup because the kernel may give old firmware a memory address it cannot correctly understand.
- Exploitation
- Other
- Attacker needs
- Other
- Complexity
- Theoretical
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
This flaw affects 64-bit MIPS DEC Linux kernel configurations using the initial firmware console path. Under certain boot-time conditions, an initial console output buffer can be allocated on a stack located in the XKPHYS 64-bit memory segment and passed to 32-bit firmware printf handling. The firmware truncates the 64-bit pointer to 32 bits, causing it to dereference the wrong address. The result is undefined behavior, most notably a kernel paging fault, oops, and panic during early boot or console initialization. The impact is denial of service through system crash or failure to boot rather than data disclosure or code execution based on the available information.
Why it matters to the business
Affected systems may crash or fail during startup when running vulnerable Linux kernels on impacted MIPS DEC 64-bit configurations, especially where the initial console remains active late in boot or console handoff is delayed. This can cause service outages, failed maintenance reboots, delayed patch windows, and reduced reliability for legacy or specialized MIPS-based infrastructure. Current exploitation likelihood appears low: EPSS is low, the issue is not listed in CISA KEV, ransomware use is not reported, and no public exploit maturity is indicated.
How an attack unfolds
An attacker would need a way to cause or influence the affected kernel and hardware or emulation configuration to exercise the vulnerable initial console path. The vulnerable condition occurs when console output is emitted from a kernel thread whose stack resides in the XKPHYS 64-bit segment while the firmware console still expects a 32-bit-compatible pointer. The kernel passes a string buffer address to firmware printf, the firmware truncates the pointer, and the firmware attempts to read from an invalid or unintended low memory address. This triggers a paging request failure and can panic the kernel. In realistic scenarios, this is more likely to be encountered as a configuration- or boot-time reliability failure than as a remotely triggerable vulnerability.
How to fix it
Upgrade to a Linux kernel version or vendor kernel package that includes the upstream fix for the MIPS DEC initial console buffer placement issue. If exact distribution package versions are not available, track the relevant vendor advisory and confirm that the patch makes the initial console string buffer static/initdata and located in a 32-bit-compatible segment, with a compatibility-segment assertion. As a mitigation, avoid configurations where the initial console remains active late into boot; enable and validate a proper final console driver where applicable. For high-availability systems, test the patched kernel on representative MIPS DEC hardware or emulators before broad rollout because this issue is boot-path and platform-specific.
How to confirm the fix worked
Confirm exposure by checking whether systems run a 64-bit MIPS DEC kernel build with the vulnerable MIPS DEC initial console implementation. Validate remediation by reviewing the running kernel package changelog, vendor advisory, or source tree for the fix that prevents the initial console buffer from landing in XKPHYS. Reboot patched systems in a controlled maintenance window and verify that early boot completes successfully without MIPS paging faults, console printf pointer truncation symptoms, kernel oops messages, or panic during console initialization. If building from source, confirm the patched code uses a static initdata buffer for the initial console output path and includes the intended address-segment assertion.
Typical attack path
- Identify a system running a vulnerable Linux kernel on an affected 64-bit MIPS DEC configuration.
- Ensure or wait for a boot configuration where the final console driver is absent, delayed, or not yet handed over from the initial firmware console.
- Trigger or rely on early console output from a kernel thread whose stack and temporary string buffer are located in the XKPHYS segment.
- The 64-bit buffer pointer is passed to 32-bit firmware console printf handling.
- Firmware truncates the pointer and dereferences the wrong memory address.
- The kernel encounters an invalid memory access, oops, and may panic, causing denial of service or boot failure.
How to detect it
Look for evidence of prior crashes or failed boots rather than conventional intrusion artifacts. Relevant sources include kernel logs, persistent journald records, serial console captures, bootloader logs, crash dumps, netconsole output, hypervisor or emulator console logs, and hardware management logs if available. Search for MIPS-specific oops and panic messages occurring during early boot, especially near console initialization, delay-loop calibration, or before normal userspace startup. Indicators include truncated pointer symptoms, invalid kernel paging requests at low virtual addresses, references to XKPHYS or 64-bit-to-32-bit pointer truncation, firmware console output, and crashes in the swapper or PID 0 context. There are no known threat actors or ransomware campaigns reported for this issue, so detection should focus on reliability/DoS artifacts rather than post-exploitation behavior.
- Unable to handle kernel paging request at virtual address
- Kernel panic - not syncing: Fatal exception in interrupt
- Oops[#1]
- Process swapper (pid: 0
- CPU 0 PID: 0 Comm: swapper
- BadVA : 000000000203bd00
- epc == ffffffffbfc08364
- ra == ffffffffbfc08800
- Console: colour dummy device 160x64
- Calibrating delay loop...
- KN04 V2.1k
- pointer in $4 was truncated
- XKPHYS
- MIPS: DEC
What your security team should do
- Inventory Linux systems using MIPS DEC or related 64-bit MIPS kernel configurations; prioritize only systems that match the affected architecture and console path.
- Track the Linux kernel upstream stable trees and operating system vendor advisories for backported fixes, since no exact fixed package versions were provided in the input.
- Patch affected kernels during the next appropriate maintenance cycle; increase urgency for systems that have recently shown boot instability, kernel panics, or lack a final console driver.
- Where patching is delayed, enable a final console driver and avoid configurations that leave the firmware initial console in use late into bootstrap.
- Add monitoring for boot-time kernel oops and panic signatures associated with MIPS paging faults and firmware console output handling.
- Because this is not currently KEV-listed and has low EPSS, prioritize according to asset criticality and platform exposure rather than treating it as an internet-scale emergency.
The record
In the Linux kernel, the following vulnerability has been resolved: MIPS: DEC: Prevent initial console buffer from landing in XKPHYS In 64-bit configurations calling the initial console output handler from a kernel thread other than the initial one will result in a situation where the stack has been placed in the XKPHYS 64-bit memory segment and consequently so has been the buffer allocated there that is used as the argument corresponding to the `%s' output conversion specifier for the firmware's printf() entry point. This 64-bit address will then be truncated by 32-bit firmware, resulting in an attempt to access the wrong memory location, which in turn will cause all kinds of unpredictable behaviour, such as a kernel crash: Console: colour dummy device 160x64 Calibrating delay loop... 49.36 BogoMIPS (lpj=192512) pid_max: default: 32768 minimum: 301 CPU 0 Unable to handle kernel paging request at virtual address 000000000203bd00, epc == ffffffffbfc08364, ra == ffffffffbfc08800 Oops[#1]: CPU: 0 PID: 0 Comm: swapper Not tainted 5.18.0-rc2-00254-gfb649bda6f56-dirty #121 $ 0 : 0000000000000000 0000000000000001 0000000000000023 ffffffff80684ba0 $ 4 : 000000000203bd00 ffffffffbfc0f3b4 ffffffffffffffff 0000000000000073 $ 8 : 0a303d7469000000 0000000000000000 0000000000000073 ffffffffbfc0f473 $12 : 0000000000000002 0000000000000000 ffffffff80684c1c 0000000000000000 $16 : 0000000000000000 ffffffff80596dc9 0000000000000000 ffffffffbfc09240 $20 : ffffffff80684c40 ffffffffbfc0f400 000000000000002d 000000000000002b $24 : ffffffffffffffbf 000000000203bd00 $28 : ffffffff805f0000 ffffffff80684b58 0000000000000030 ffffffffbfc08800 Hi : 0000000000000000 Lo : 0000000000000aa8 epc : ffffffffbfc08364 0xffffffffbfc08364 ra : ffffffffbfc08800 0xffffffffbfc08800 Status: 140120e2 KX SX UX KERNEL EXL Cause : 00000008 (ExcCode 02) BadVA : 000000000203bd00 PrId : 00000430 (R4000SC) Modules linked in: Process swapper (pid: 0, threadinfo=(____ptrval____), task=(____ptrval____), tls=0000000000000000) Stack : 0000000000000000 0000000000000000 0000000000000000 0000004d0000004d 80684cc0806a2a40 80596dc80000004d 8061000000000000 bfc0850c80684c38 0000000000000000 000000000203bd00 0000000000000000 0000000000000000 0000000000000000 00000000bfc0f3b4 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000002500000000 0000000000000000 0000000000000000 802c1a7400000000 0203bd0080596dc8 0203bd4d69000000 6c61632000000018 5f746567646e6172 6c616320625f6d6f 5f736e5f6d6f7266 206361323778302b 303d74696e726320 806a0a38806b0000 806a0a38806b0000 00000000806b0000 80683c58806b0000 ... Call Trace: Code: a082ffff 03e00008 00601021 <80820000> 00001821 10400005 24840001 80820000 24630001 ---[ end trace 0000000000000000 ]--- Kernel panic - not syncing: Fatal exception in interrupt KN04 V2.1k (PC: 0xa0026768, SP: 0x806848e8) >> In this case the pointer in $4 was truncated from 0x980000000203bd00 to 0x000000000203bd00. This may happen when no final console driver has been enabled in the configuration and consequently the initial console continues being used late into bootstrap or with an upcoming change that will switch the zs driver to use a platform device, which in turn will make the console handover happen only after other kernel threads have already been started. Fix the issue by making the buffer static and initdata, and therefore placed in the CKSEG0 32-bit compatibility segment, observing that the console output handler is called with the console lock held, implying no need for this code to be reentrant. Add an assertion to verify the buffer actually has been placed in a compatibility segment.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|