🇰🇷 한글 설명
리눅스 커널의 Bluetooth L2CAP 프로토콜 스택에서 사용 후 해제(Use-After-Free) 취약점이 발견되었습니다. 특정 상황에서 채널 객체가 해제된 후 다시 참조되어 커널 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
블루투스 연결을 관리하는 과정에서 이미 삭제된 데이터를 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 보안 공격에 악용될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: L2CAP: Fix user-after-free
This uses l2cap_chan_hold_unless_zero() after calling
__l2cap_get_chan_blah() to prevent the following trace:
Bluetooth: l2cap_core.c:static void l2cap_chan_destroy(struct kref
*kref)
Bluetooth: chan 0000000023c4974d
Bluetooth: parent 00000000ae861c08
==================================================================
BUG: KASAN: use-after-free in __mutex_waiter_is_first
kernel/locking/mutex.c:191 [inline]
BUG: KASAN: use-after-free in __mutex_lock_common
kernel/locking/mutex.c:671 [inline]
BUG: KASAN: use-after-free in __mutex_lock+0x278/0x400
kernel/locking/mutex.c:729
Read of size 8 at addr ffff888006a49b08 by task kworker/u3:2/389
📍 영향받는 시스템
L2CAP 취약점이 포함된 리눅스 커널 버전
⚔️ 공격 벡터
악의적인 블루투스 패킷을 전송하여 커널 메모리 오류 유도
🛡️ 대응 방법
L2CAP 관련 패치가 적용된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 보안 패치가 적용된 최신 버전인지 확인