🇰🇷 한글 설명
Linux 커널의 Bluetooth L2CAP 프로토콜에서 동일한 식별자를 가진 여러 개의 ECRED 연결 요청을 허용하는 취약점이 발견되었습니다. 이로 인해 할당된 범위를 초과하는 요청이 처리되면서 메모리 오버플로우가 발생할 수 있습니다.
💡 쉬운 설명
블루투스 연결 요청을 보낼 때 규칙을 어기고 똑같은 번호로 여러 번 요청을 보내면 시스템 메모리가 넘쳐버리는 문제입니다. 이로 인해 기기가 오작동하거나 해킹의 위험이 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: L2CAP: Fix accepting multiple L2CAP_ECRED_CONN_REQ
Currently the code attempts to accept requests regardless of the
command identifier which may cause multiple requests to be marked
as pending (FLAG_DEFER_SETUP) which can cause more than
L2CAP_ECRED_MAX_CID(5) to be allocated in l2cap_ecred_rsp_defer
causing an overflow.
The spec is quite clear that the same identifier shall not be used on
subsequent requests:
'Within each signaling channel a different Identifier shall be used
for each successive request or indication.'
https://www.bluetooth.com/wp-content/uploads/Files/Specification/HTML/Core-62/out/en/host/logical-link-control-and-adaptation-protocol-specification.html#UUID-32a25a06-4aa4-c6c7-77c5-dcfe3682355d
So this attempts to check if there are any channels pending with the
same identifier and rejects if any are found.
📍 영향받는 시스템
Linux Kernel (Bluetooth L2CAP stack)
⚔️ 공격 벡터
악의적인 블루투스 신호를 통해 동일한 식별자를 가진 다수의 L2CAP_ECRED_CONN_REQ 패킷 전송
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전인지 확인