🇰🇷 한글 설명
Linux 커널의 x86/kexec 구성 요소에서 kjump를 사용하지 않는 kexec 실행 시에도 스택 상단의 반환 주소를 찾으려 시도하여 오류가 발생할 수 있는 취약점입니다. 이로 인해 purgatory 코드가 스택 범위를 벗어난 메모리에 접근하여 시스템 충돌(fault)을 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터가 새로운 운영체제로 전환하는 과정에서 메모리 주소를 잘못 참조하여 시스템이 멈추거나 오류가 발생할 수 있는 문제입니다. 특정 상황에서 시스템이 예상치 못한 위치를 읽으려다 발생하는 충돌 현상입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
x86/kexec: Push kjump return address even for non-kjump kexec
The version of purgatory code shipped by kexec-tools attempts to look above
the top of its stack to find a return address for a kjump, even in a non-kjump
kexec.
After the commit in Fixes: the word above the stack might not be there,
leading to a fault (which is at least now caught by my exception-handling code
in kexec).
That commit fixed things for the actual kjump path, but no longer
"gratuitously" pushes the unused return address to the stack in the non-kjump
path. Put that *back* in the non-kjump path, to prevent purgatory from
crashing when trying to access it.
📍 영향받는 시스템
x86 아키텍처를 사용하는 Linux 커널 (kexec-tools 관련)
⚔️ 공격 벡터
로컬 시스템에서 kexec를 통한 커널 재실행 프로세스 제어
🛡️ 대응 방법
최신 보안 패치가 적용된 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인