🇰🇷 한글 설명
리눅스 커널의 USB 시리얼 드라이버에서 드라이버 등록 해제 순서가 잘못되어 발생하는 취약점입니다. 드라이버 모듈을 언로드할 때 USB 드라이버가 포트 드라이버보다 먼저 해제되면, 완료 핸들러가 포트 데이터에 접근할 때 Use-After-Free 오류가 발생할 수 있습니다.
💡 쉬운 설명
USB 장치를 연결하거나 해제할 때 컴퓨터 내부의 소프트웨어가 정리되는 순서가 꼬여서 발생하는 문제입니다. 이 순서가 잘못되면 이미 사라진 데이터를 다시 사용하려다가 시스템 오류나 충돌이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
USB: serial: fix driver deregistration order
USB serial driver modules register one driver for the USB bus and one or
more drivers for the ports on the USB serial bus.
When unloading a driver module, the USB driver must be deregistered
before the USB serial bus drivers so that I/O is stopped before
unbinding the ports to avoid use-after-free in completion handlers
accessing port data.
Note that the "new_id" attributes must first be removed to prevent new
ids from being added and triggering a probe of the USB driver after it
has been deregistered.
📍 영향받는 시스템
USB 시리얼 드라이버를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
로컬 공격자가 드라이버 모듈을 언로드하는 과정에서 메모리 오류를 유도하여 시스템 불안정성 유발
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 패치가 적용된 최신 버전인지 확인합니다.