🇰🇷 한글 설명
Linux 커널의 Bluetooth hci_sync 모듈에서 광고 인스턴스 생성 실패 또는 취소 시 메모리가 해제되지 않는 메모리 누수 취약점이 발견되었습니다. 특정 오류 상황이나 컨트롤러 등록 해제 시 할당된 메모리가 적절히 반환되지 않아 시스템 자원이 소모될 수 있습니다.
💡 쉬운 설명
블루투스 기능을 사용할 때 컴퓨터 내부의 메모리가 제대로 정리되지 않고 계속 쌓이는 문제가 있습니다. 이 문제가 반복되면 컴퓨터의 메모리가 부족해져 시스템 성능이 떨어지거나 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths
adv_timeout_expire() hands a kmalloc()ed instance byte to
hci_cmd_sync_queue() with a NULL destroy callback, and only
adv_timeout_expire_sync() frees it. That leaks on two paths:
- the return value is not checked, and hci_cmd_sync_queue() does not
take ownership when it fails (-ENETDOWN, -ENODEV, -ENOMEM);
- a cancelled entry is not released, as _hci_cmd_sync_cancel_entry()
does not free entry->data when there is no destroy callback.
hci_cmd_sync_clear() cancels every pending entry when the controller
is unregistered.
Free the buffer from a destroy callback, and in the caller when the entry
could not be queued at all.
📍 영향받는 시스템
Linux Kernel (Bluetooth hci_sync 관련 모듈 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 블루투스 광고 요청을 반복적으로 실패하거나 취소하도록 유도하여 메모리 누수를 유발할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 수정된 최신 패치 버전인지 확인하십시오.