🇰🇷 한글 설명
리눅스 커널의 블루투스 스택에서 알 수 없는 CC opcode를 처리할 때 skb 길이를 제대로 검증하지 않는 취약점입니다. hci_cmd_complete_evt() 함수에서 데이터가 비어 있는 경우 초기화되지 않은 메모리 영역을 참조하여 발생할 수 있습니다.
💡 쉬운 설명
블루투스 명령을 처리하는 과정에서 데이터가 비어 있는지 확인하지 않아 시스템의 잘못된 메모리 영역을 읽을 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_event: validate skb length for unknown CC opcode
In hci_cmd_complete_evt(), if the command complete event has an unknown
opcode, we assume the first byte of the remaining skb->data contains the
return status. However, parameter data has previously been pulled in
hci_event_func(), which may leave the skb empty. If so, using skb->data[0]
for the return status uses un-init memory.
The fix is to check skb->len before using skb->data.
📍 영향받는 시스템
Linux Kernel (Bluetooth hci_event 관련 모듈 사용 시스템)
⚔️ 공격 벡터
조작된 블루투스 명령 완료 이벤트(Command Complete Event)를 전송하여 발생
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인