🇰🇷 한글 설명
Linux 커널의 s390 아키텍처에서 kdump 사용 시 NULL 포인터 역참조가 발생하는 취약점입니다. 특정 IPL(Initial Program Load) 유형에서 re-IPL 파라미터 블록이 제공되지 않을 경우, 시스템이 존재하지 않는 메모리 주소에 접근하여 오류를 일으킬 수 있습니다.
💡 쉬운 설명
시스템에 문제가 생겨 자동으로 재부팅을 준비하는 과정에서, 존재하지 않는 정보를 읽으려다 시스템이 멈추거나 오류가 발생할 수 있는 문제입니다. 특정 환경에서 부팅 정보를 불러올 때 발생하는 메모리 참조 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
s390/ipl: Fix NULL deref in kdump without re-IPL parm block
Some IPL types, like HMC FTP boot or QEMU direct kernel boot, might
not provide an IPL parameter block. In this case, reipl_type_init()
selects IPL_TYPE_UNKNOWN, and reipl_block_actual remains NULL.
kdump passes the re-IPL parameter block to the dump kernel through
os_info. Before commit 3b9678472bab ("s390/ipl: correct kdump reipl
block checksum calculation"), the os_info entry was added only for
IPL types which initialized reipl_block_actual. That commit moved the
os_info update to machine_crash_shutdown(), making it unconditional. As
a result, set_os_info_reipl_block() dereferences reipl_block_actual for
IPL_TYPE_UNKNOWN. This may happen to work by chance when address zero
contains readable lowcore data and the resulting empty os_info entry is
ignored by the dump kernel.
Skip the os_info update when no re-IPL parameter block is available.
Kdump then collect the dump and reboot without setting re-IPL parameter
block.
📍 영향받는 시스템
Linux kernel (s390 architecture) - 특정 커밋(3b9678472bab) 이후 버전
⚔️ 공격 벡터
로컬 공격자가 특정 IPL 유형(HMC FTP boot, QEMU direct kernel boot 등)을 유도하여 시스템 충돌을 일으킬 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 이후의 버전인지 확인하십시오.