🇰🇷 한글 설명
Linux 커널의 Bluetooth btmtk 드라이버에서 WMT 이벤트 응답의 SKB 길이를 검증하지 않아 발생하는 취약점입니다. 펌웨어 응답 데이터가 예상보다 짧을 경우, 구조체 접근 과정에서 SKB의 꼬리 부분(tailroom)을 벗어난 메모리 읽기(Out-of-bounds read)가 발생할 수 있습니다.
💡 쉬운 설명
블루투스 장치로부터 받은 데이터의 길이를 제대로 확인하지 않아 발생하는 문제입니다. 잘못된 길이의 데이터를 처리할 때 컴퓨터 메모리의 엉뚱한 부분을 읽게 되어 시스템 오류를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btmtk: validate WMT event SKB length before struct access
btmtk_usb_hci_wmt_sync() casts the WMT event response SKB data to
struct btmtk_hci_wmt_evt (7 bytes) and struct btmtk_hci_wmt_evt_funcc
(9 bytes) without first checking that the SKB contains enough data.
A short firmware response causes out-of-bounds reads from SKB tailroom.
Use skb_pull_data() to validate and advance past the base WMT event
header. For the FUNC_CTRL case, pull the additional status field bytes
before accessing them.
📍 영향받는 시스템
Linux kernel (Bluetooth btmtk driver 포함 버전)
⚔️ 공격 벡터
조작된 짧은 길이를 가진 블루투스 펌웨어 응답을 전송하여 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인