🇰🇷 한글 설명
리눅스 커널의 fbcon 구성 요소에서 vc_data가 없는 콘솔에 대해 NULL 포인터 역참조가 발생하는 취약점이 발견되었습니다. fbcon_new_modelist() 함수가 실행될 때 유효하지 않은 메모리 주소에 접근하여 시스템 충돌을 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터 화면을 관리하는 프로그램이 존재하지 않는 데이터 주소를 참조하려고 시도하여 시스템이 멈추거나 오류가 발생할 수 있는 문제입니다. 화면 설정이 변경되는 과정에서 데이터가 비어있는 상태를 제대로 확인하지 못해 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
fbcon: fix NULL pointer dereference for a console without vc_data
fbcon_new_modelist() runs when a framebuffer's modelist changes. For each
console mapped to it with fb_display[i].mode set, it reads vc_cons[i].d and
passes the vc_num to fbcon_set_disp(). This assumes a console with a mode
set has a vc_data, but it can be NULL. fbcon_set_disp() sets
fb_display[i].mode before it checks vc_data, and fbcon_deinit() leaves the
mode set after the vc_data is freed. fbcon_new_modelist() then dereferences
the NULL vc_data.
Keep fb_display[i].mode set only while the console has a vc_data. Check
vc_data before setting the mode in fbcon_set_disp(), and clear the mode in
fbcon_deinit(). The existing mode check in fbcon_new_modelist() then skips
such consoles.
📍 영향받는 시스템
Linux kernel (fbcon 관련 모듈을 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 프레임버퍼의 모델리스트를 변경하거나 특정 콘솔 설정을 조작하여 발생 가능
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인하십시오.