🇰🇷 한글 설명
Linux 커널의 fbcon에서 콘솔 회전 중 폰트 재할당 실패 시 기존 버퍼를 유지하여 아웃 오브 바운드(OOB) 접근이 발생할 수 있습니다. 이는 높은 문자 코드를 사용할 때 폰트 버퍼 오버플로우를 유발하여 시스템 불안정이나 코드 실행으로 이어질 수 있습니다.
💡 쉬운 설명
화면 회전 기능 중 오류가 발생했을 때, 시스템이 잘못된 메모리 영역에 접근할 수 있는 취약점입니다. 이로 인해 해커가 시스템을 장악하거나 데이터를 손상시킬 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
fbcon: Avoid OOB font access if console rotation fails
Clear the font buffer if the reallocation during console rotation fails
in fbcon_rotate_font(). The putcs implementations for the rotated buffer
will return early in this case. See [1] for an example.
Currently, fbcon_rotate_font() keeps the old buffer, which is too small
for the rotated font. Printing to the rotated console with a high-enough
character code will overflow the font buffer.
v2:
- fix typos in commit message
📍 영향받는 시스템
Linux kernel (fbcon subsystem)
⚔️ 공격 벡터
로컬 또는 원격에서 높은 문자 코드를 사용하여 콘솔 출력 시 폰트 버퍼 오버플로우 유도
🛡️ 대응 방법
Linux 커널 패치 적용 또는 fbcon_rotate_font() 함수 수정을 통한 폰트 버퍼 초기화
🔧 검증 코드
출력된 커널 버전이 패치가 적용되지 않은 취약한 버전인지 확인