🇰🇷 한글 설명
Linux 커널 4.13.8 이전 버전의 USB 직렬 콘솔 드라이버에서 발생하는 use-after-free 메모리 취약점이다. 로컬 공격자가 악의적인 USB 장치를 연결하여 커널 메모리 해제 후 사용 상태를 유발하고 시스템 충돌을 일으킬 수 있다.
💡 쉬운 설명
USB 장치 연결 해제 시 커널이 이미 해제된 메모리에 접근하려다가 시스템이 먹통되는 문제다. 공격자가 특별한 USB 장치를 만들어 연결했다 뺐을 때 컴퓨터가 강제 재부팅되거나 멈출 수 있다.
🇺🇸 원문 (English)
The usb_serial_console_disconnect function in drivers/usb/serial/console.c in the Linux kernel before 4.13.8 allows local users to cause a denial of service (use-after-free and system crash) or possibly have unspecified other impact via a crafted USB device, related to disconnection and failed setup.
📍 영향받는 시스템
Linux kernel 4.13.8 미만 버전 (usb_serial_console 기능 활성화된 시스템)
⚔️ 공격 벡터
로컬 물리 접근 필요, 특정 USB 장치 연결 및 제거 후 드라이버 disconnect 함수 트리거
🛡️ 대응 방법
Linux 커널을 4.13.8 이상으로 업그레이드 또는 usb_serial_console 기능 커널 컴파일 옵션에서 비활성화
🔧 검증 코드
출력된 버전 번호가 4.13.8 이상이면 패치됨, 미만이면 업그레이드 필요