🇰🇷 한글 설명
Linux 커널의 ftrace 모듈 활성화 과정에서 소프트 락업(softlockup)이 발생하는 취약점입니다. amdgpu 모듈 로드 시 많은 수의 추적 가능한 함수가 있을 경우, RCU 임계 구역 내에서 과도한 시간이 소요되어 커널 패닉을 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 특정 부품(그래픽 카드 등)을 작동시킬 때 시스템이 멈추거나 강제로 꺼질 수 있는 문제입니다. 너무 많은 작업을 한꺼번에 처리하려다 시스템이 과부하에 걸리는 현상입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ftrace: Fix softlockup in ftrace_module_enable
A soft lockup was observed when loading amdgpu module.
If a module has a lot of tracable functions, multiple calls
to kallsyms_lookup can spend too much time in RCU critical
section and with disabled preemption, causing kernel panic.
This is the same issue that was fixed in
commit d0b24b4e91fc ("ftrace: Prevent RCU stall on PREEMPT_VOLUNTARY
kernels") and commit 42ea22e754ba ("ftrace: Add cond_resched() to
ftrace_graph_set_hash()").
Fix it the same way by adding cond_resched() in ftrace_module_enable.
📍 영향받는 시스템
ftrace 기능을 사용하는 Linux 커널 (amdgpu 모듈 사용 환경 포함)
⚔️ 공격 벡터
직접적인 외부 공격보다는 특정 모듈 로드 시 발생하는 시스템 가용성 저해(DoS) 형태의 취약점입니다.
🛡️ 대응 방법
ftrace_module_enable 함수에 cond_resched()가 적용된 최신 리눅스 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 보안 업데이트 버전인지 확인하십시오.