🇰🇷 한글 설명
Linux 커널의 ALSA FCP 구성 요소에서 인터페이스 조회 시 NULL 포인터 역참조가 발생하는 취약점입니다. 악의적으로 조작된 USB 장치가 엔드포인트 설명자가 없는 벤더 전용 인터페이스를 제공할 경우 시스템 오류가 발생할 수 있습니다.
💡 쉬운 설명
잘못 만들어진 USB 장치를 컴퓨터에 연결하면 시스템이 예상치 못한 정보를 읽으려다 멈추거나 오류가 날 수 있는 문제입니다. 엔드포인트라는 정보가 없는 USB를 연결했을 때 발생하는 현상입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: FCP: Fix NULL pointer dereference in interface lookup
A malformed USB device can provide a vendor-specific interface without
any endpoint descriptors. fcp_find_fc_interface() currently selects the
first vendor-specific interface and reads endpoint 0 from it, without
checking whether the interface actually has any endpoints.
When bNumEndpoints is zero, no endpoint array is allocated for the parsed
alternate setting, so get_endpoint(..., 0) yields an invalid endpoint
descriptor pointer. Dereferencing it through usb_endpoint_num() then
triggers a NULL pointer dereference.
Skip vendor-specific interfaces that do not have any endpoints.
📍 영향받는 시스템
엔드포인트 설명자가 없는 벤더 전용 인터페이스를 포함하는 USB 장치를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
엔드포인트 설명자가 누락된 특수하게 제작된 USB 장치를 물리적으로 연결
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인