🔍 CVE-2026-72215

0.0
CVSS Score
UNKNOWN
2026-08-15
2026-08-17 06:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 MIPS 64비트 구성에서 o32 prom_printf() 호출 시 스택 위치가 64비트 메모리 세그먼트에 배치되는 취약점이 발견되었습니다. 이로 인해 32비트 펌웨어 코드가 스택 포인터를 조작할 때 잘못된 계산 결과가 발생하여 시스템 제어 흐름이 어긋나고 커널이 중단될 수 있습니다.

💡 쉬운 설명

64비트 시스템에서 32비트용 프로그램을 실행할 때, 프로그램이 사용하는 메모리 공간(스택)의 주소 형식이 맞지 않아 컴퓨터가 길을 잃고 멈춰버리는 문제입니다. 이로 인해 시스템이 정상적으로 부팅되지 않거나 작동 중에 멈출 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: MIPS: DEC: Ensure 32-bit stack location for o32 prom_printf() In 64-bit configurations calling any firmware entry points 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. Consequently the stack pointer is no longer a 32-bit value and when the 32-bit firmware code called uses 32-bit ALU operations to manipulate the stack pointer, the calculated result is incorrect (in fact in the 64-bit MIPS ISA almost all 32-bit ALU operations will produce an unpredictable result when executed on 64-bit data) and control goes astray. 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, and the kernel will hang at: pid_max: default: 32768 minimum: 301 or somewhat later, but always before: cblist_init_generic: Setting adjustable number of callback queues. has been printed. It seems that only the prom_printf() entry point is affected. Of all the other entry points wired only rex_slot_address() and rex_gettcinfo() are called from a kernel thread other than the initial one, specifically kernel_init(), and they are leaf functions that do no business with the stack, having worked with no issue ever since 64-bit support was added for the platform back in 2002. To address this issue then, arrange for the stack to be switched in the o32 wrapper as required for prom_printf() only, by supplying call_o32() with a pointer to a chunk of initdata space, which is placed in the CKSEG0 32-bit compatibility segment, observing that prom_printf() is only called from console output handler and therefore with the console lock held, implying no need for this code to be reentrant. Other firmware entry points may be called with interrupts enabled and no lock held, and may therefore require that call_o32() be reentrant. They trigger no issue at this point and "if it ain't broke, don't fix it," so just leave them alone.

📍 영향받는 시스템

MIPS 아키텍처를 사용하는 64비트 Linux 커널 (특정 펌웨어 진입점 호출 시)

⚔️ 공격 벡터

직접적인 외부 공격보다는 특정 커널 스레드 환경에서 펌웨어 함수(prom_printf)가 호출될 때 발생하는 시스템 오류(DoS) 형태입니다.

🛡️ 대응 방법

커널 패치를 통해 o32 래퍼에서 스택을 32비트 호환 세그먼트(CKSEG0)로 전환하도록 수정해야 합니다.

🔧 검증 코드

시스템 아키텍처가 MIPS인지 확인하고, 커널 로그에서 관련 함수 호출 시 발생하는 오류 메시지 존재 여부를 확인합니다.

Shell / Script
uname -m | grep -i mips && dmesg | grep -i 'prom_printf'

💻 영향받는 소프트웨어

Linux Kernel