🇰🇷 한글 설명
Linux 커널의 ARM 아키텍처에서 kexec 기능 사용 시, 패닉이 hrtimer 인터럽트로 트리거되면 모든 온라인 CPU를 중지시키는 SMP 호출이 인터럽트 비활성화 상태에서 동기적으로 수행되어 경고가 발생하는 문제가 있었습니다. 이 문제는 machine_crash_nonpanic_core()의 SMP 중지 호출을 비동기로 변경하여 해결되었습니다.
💡 쉬운 설명
시스템이 크래시나 패닉 상태에 빠질 때 복구 과정에서 내부 경고가 발생하던 버그입니다. 보안상 직접적인 침해 위험보다는 안정성 문제에 가깝습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ARM: 9317/1: kexec: Make smp stop calls asynchronous
If a panic is triggered by a hrtimer interrupt all online cpus will be
notified and set offline. But as highlighted by commit 19dbdcb8039c
("smp: Warn on function calls from softirq context") this call should
not be made synchronous with disabled interrupts:
softdog: Initiating panic
Kernel panic - not syncing: Software Watchdog Timer expired
WARNING: CPU: 1 PID: 0 at kernel/smp.c:753 smp_call_function_many_cond
unwind_backtrace:
show_stack
dump_stack_lvl
__warn
warn_slowpath_fmt
smp_call_function_many_cond
smp_call_function
crash_smp_send_stop.part.0
machine_crash_shutdown
__crash_kexec
panic
softdog_fire
__hrtimer_run_queues
hrtimer_interrupt
Make the smp call for machine_crash_nonpanic_core() asynchronous.
📍 영향받는 시스템
패치 이전의 ARM 아키텍처 기반 Linux 커널 (kexec 및 crash dump 기능 사용 환경)
⚔️ 공격 벡터
직접적인 원격 공격 경로는 확인되지 않으며, 패닉 상황을 유발할 수 있는 조건에서만 경고 및 불안정 동작이 발생할 수 있음
🛡️ 대응 방법
해당 수정이 포함된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 아키텍처가 arm 계열(armv7l, aarch64 등)이면 ARM 시스템이며, 커널 버전을 배포판 보안 공지와 대조해 수정 패치 포함 여부를 확인