🇰🇷 한글 설명
Linux 커널의 powerpc/xive 구성 요소에서 IPI 초기화 실패 시 오류를 적절히 전파하지 않아 발생하는 Use-After-Free 취약점입니다. 초기화 실패로 인해 이미 해제된 xive_ipis 포인터를 참조함으로써 시스템 불안정이나 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 부품인 커널이 초기화 과정에서 오류가 발생했을 때, 이미 사용이 끝난 메모리 주소를 다시 사용하려고 시도하는 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
powerpc/xive: propagate IPI init errors to prevent use-after-free
When xive_init_ipis() fails (e.g. irq_domain_alloc_irqs() fails),
the error path frees the global xive_ipis array. However,
xive_smp_probe() previously ignored this failure and proceeded to
call xive_setup_cpu_ipi(), which dereferences the already-freed
xive_ipis pointer -- a use-after-free.
Now that xive_smp_probe() returns int (previous patch), propagate
the error from xive_init_ipis() and xive_setup_cpu_ipi() through
xive_smp_probe(). Check the return value in both pnv_smp_probe()
and pSeries_smp_probe() so that IPI setup is aborted cleanly on
failure, avoiding the use-after-free.
📍 영향받는 시스템
Linux Kernel (powerpc/xive 관련 모듈 사용 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 하드웨어 초기화 오류를 유도하여 메모리 손상을 일으킬 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인하십시오.