🇰🇷 한글 설명
리눅스 커널의 블루투스 EIR(Extended Inquiry Response) 처리 과정에서 발생한 취약점입니다. hdev 구조체의 dev_name 및 short_name 필드가 NULL 문자로 종료되지 않을 수 있어, strlen 함수 사용 시 메모리 경계를 넘어 읽는 문제가 발생할 수 있습니다.
💡 쉬운 설명
블루투스 장치의 이름을 읽어올 때 이름의 끝을 제대로 확인하지 못해 발생하는 오류입니다. 이로 인해 시스템의 잘못된 메모리 영역을 읽어 정보가 유출되거나 시스템이 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: eir: Fix using strlen with hdev->{dev_name,short_name}
Both dev_name and short_name are not guaranteed to be NULL terminated so
this instead use strnlen and then attempt to determine if the resulting
string needs to be truncated or not.
📍 영향받는 시스템
NULL 종료가 보장되지 않는 dev_name/short_name을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
조작된 블루투스 EIR 패킷을 전송하여 커널 메모리 읽기 오류 유도
🛡️ 대응 방법
strlen 대신 strnlen을 사용하도록 수정된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인