🇰🇷 한글 설명
리눅스 커널의 Bluetooth MGMT 모듈에서 hdev가 제거될 때 mesh_send_done 타이머가 취소되지 않는 취약점이 발견되었습니다. 이로 인해 hdev가 사라진 후 타이머가 실행되면 slab-use-after-free 오류가 발생하며 시스템이 충돌할 수 있습니다.
💡 쉬운 설명
블루투스 기능을 사용하다가 장치가 갑자기 연결 해제될 때, 시스템이 이미 사라진 장치를 계속 관리하려고 시도하다가 오류가 발생하는 문제입니다. 이 과정에서 시스템이 갑자기 멈추거나 꺼질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: MGMT: cancel mesh send timer when hdev removed
mesh_send_done timer is not canceled when hdev is removed, which causes
crash if the timer triggers after hdev is gone.
Cancel the timer when MGMT removes the hdev, like other MGMT timers.
Should fix the BUG: sporadically seen by BlueZ test bot
(in "Mesh - Send cancel - 1" test).
Log:
------
BUG: KASAN: slab-use-after-free in run_timer_softirq+0x76b/0x7d0
...
Freed by task 36:
kasan_save_stack+0x24/0x50
kasan_save_track+0x14/0x30
__kasan_save_free_info+0x3a/0x60
__kasan_slab_free+0x43/0x70
kfree+0x103/0x500
device_release+0x9a/0x210
kobject_put+0x100/0x1e0
vhci_release+0x18b/0x240
------
📍 영향받는 시스템
Bluetooth MGMT 모듈을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
로컬 공격자가 블루투스 장치의 연결 및 해제를 반복적으로 유도하여 시스템 충돌(DoS)을 유발할 수 있음
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인하십시오.