🇰🇷 한글 설명
Linux 커널의 s390/boot 구성 요소에서 IPL 파라미터가 명령줄 버퍼의 크기를 초과하여 작성되는 취약점이 발견되었습니다. 명령줄이 버퍼의 끝까지 차 있는 경우, 파라미터 변환 과정에서 버퍼 범위를 벗어난 메모리 영역에 데이터를 쓰는 오버플로우가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 부팅될 때 사용하는 설정값이 저장되는 공간이 꽉 찼을 때, 새로운 설정을 추가하려다 정해진 공간을 넘어서 다른 데이터를 덮어쓰는 문제입니다. 이로 인해 시스템이 오작동하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
s390/boot: Avoid IPL parameter append past command line
A command line may occupy all but the terminating byte of
COMMAND_LINE_SIZE. In that case append_ipl_block_parm() passes a zero size
to the IPL parameter conversion helpers and points the destination one
byte past early_command_line. The helpers subtract one from the unsigned
size and write the converted parameter outside the command line buffer.
Convert the IPL parameter in the command line parsing buffer first. A
parameter beginning with '=' can then replace the existing command line
regardless of its length, while other parameters are appended only when
space remains.
📍 영향받는 시스템
Linux kernel (s390 architecture)
⚔️ 공격 벡터
부팅 시 IPL 파라미터를 조작하여 커널 명령줄 버퍼 외부의 메모리에 임의의 데이터를 작성
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인