🇰🇷 한글 설명
Linux 커널의 Bluetooth L2CAP 구성 요소에서 l2cap_chan_timeout() 함수 실행 중 연결(conn)이 없을 경우 참조 카운트가 적절히 감소하지 않는 메모리 누수 취약점이 발견되었습니다. 이로 인해 특정 조건에서 l2cap_chan 참조가 해제되지 않고 남아 시스템 자원이 소모될 수 있습니다.
💡 쉬운 설명
블루투스 통신 과정에서 사용이 끝난 데이터 통로를 제대로 닫지 않아 메모리가 계속 쌓이는 문제입니다. 이 문제가 지속되면 시스템의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: L2CAP: fix chan ref leak in l2cap_chan_timeout() on !conn
__set_chan_timer() takes a l2cap_chan reference via l2cap_chan_hold()
before scheduling the delayed work. The normal path in
l2cap_chan_timeout() drops this reference with l2cap_chan_put() at the
end, but the early return when chan->conn is NULL skips the put,
leaking the reference.
Add the missing l2cap_chan_put() before the early return.
📍 영향받는 시스템
Linux Kernel (Bluetooth L2CAP 관련 모듈이 포함된 버전)
⚔️ 공격 벡터
로컬 또는 원격에서 블루투스 연결을 반복적으로 생성 및 비정상 종료하여 메모리 누수를 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인