🇰🇷 한글 설명
Linux 커널의 s390/mm 구성에서 lowcore 영역이 identity mapping으로 인해 주소 0에 중복 매핑되는 취약점이 발견되었습니다. 이로 인해 NULL 포인터 접근 시 예외가 발생하지 않고 성공할 수 있어 보안 결함이 발생합니다. 이를 해결하기 위해 물리 메모리의 처음 두 페이지를 identity mapping에서 제외하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터 프로그램이 실수로 '0'번 주소를 참조할 때 원래는 오류가 나며 멈춰야 하지만, 이 문제 때문에 오류 없이 실행될 수 있습니다. 이는 해커가 시스템을 조작할 수 있는 통로가 될 수 있어 위험합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
s390/mm: Do not map lowcore with identity mapping
Since the identity mapping is pinned to address zero the lowcore is always
also mapped to address zero, this happens regardless of the relocate_lowcore
command line option. If the option is specified the lowcore is mapped
twice, instead of only once.
This means that NULL pointer accesses will succeed instead of causing an
exception (low address protection still applies, but covers only parts).
To fix this never map the first two pages of physical memory with the
identity mapping.
📍 영향받는 시스템
Linux Kernel (s390 아키텍처 기반 시스템)
⚔️ 공격 벡터
NULL 포인터 역참조를 이용한 메모리 접근 및 권한 상승 시도
🛡️ 대응 방법
s390/mm lowcore identity mapping 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인