🔍 CVE-2026-64250

5.5
CVSS Score
MEDIUM
2026-07-24
2026-08-17 05:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 LoongArch 아키텍처에서 stop_this_cpu() 호출 시 CPU가 오프라인 상태가 됨을 RCU에 알리지 않는 취약점이 발견되었습니다. 이로 인해 RCU grace period가 완료되지 못해 시스템 재부팅, 종료 또는 중지 과정에서 시스템이 멈추는(hang) 현상이 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 특정 부품(CPU)을 끌 때, 시스템 관리자에게 이 사실을 제대로 알리지 않아 시스템이 해당 부품이 계속 작동 중인 것으로 착각하게 만듭니다. 이 때문에 컴퓨터를 끄거나 재시작할 때 시스템이 무한 대기 상태에 빠져 멈춰버릴 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: LoongArch: Report dying CPU to RCU in stop_this_cpu() This is a port of MIPS commit 9f3f3bdc6d9dac1 ("MIPS: smp: report dying CPU to RCU in stop_this_cpu()"). smp_send_stop() parks all secondary CPUs in stop_this_cpu(). And the function marks the CPU offline for the scheduler via set_cpu_online(false) but never informs RCU, so RCU keeps expecting a quiescent state from CPUs that are now spinning forever with interrupts disabled. As long as nothing waits for an RCU grace period after smp_send_stop() this is harmless, which is why it went unnoticed. However, since commit 91840be8f710370 ("irq_work: Fix use-after-free in irq_work_single() on PREEMPT_RT"), irq_work_sync() calls synchronize_rcu() on architectures without an irq_work self-IPI, i.e. where arch_irq_work_has_interrupt() returns false. Any irq_work_sync() issued in the reboot/shutdown/halt path after smp_send_stop() then blocks on a grace period that can never complete, hanging the reboot: WARNING: CPU: 0 PID: 15 at kernel/irq_work.c:144 irq_work_queue_on ... rcu: INFO: rcu_sched detected stalls on CPUs/tasks: rcu: Offline CPU 1 blocking current GP. rcu: Offline CPU 2 blocking current GP. rcu: Offline CPU 3 blocking current GP. This issue needs some hacks to reproduce, and it was not noticed on LoongArch because arch_irq_work_has_interrupt() usually returns true. Call rcutree_report_cpu_dead() once interrupts are disabled, mirroring the generic CPU-hotplug offline path, so RCU stops waiting on the parked CPUs and grace periods can still complete. LoongArch shuts down all CPUs here without going through the CPU-hotplug mechanism, so this report is not otherwise issued.

📍 영향받는 시스템

LoongArch 아키텍처를 사용하는 Linux 커널 시스템

⚔️ 공격 벡터

직접적인 원격 공격은 어려우나, 시스템 종료/재부팅/중지 경로를 실행할 때 시스템 중단(DoS) 유발 가능

🛡️ 대응 방법

LoongArch CPU 오프라인 시 rcutree_report_cpu_dead()를 호출하도록 수정된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인하십시오.

Shell / Script
uname -a

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel