🇰🇷 한글 설명
리눅스 커널의 블루투스 MGMT 계층에서 set_mesh_sync 및 set_mesh_complete 함수 호출 시 발생하는 크래시 취약점입니다. 잘못 선언된 스택 기반 가변 길이 배열로 인한 메모리 경계 초과(stack-out-of-bounds) 및 이중 리스트 삭제(double list_del) 문제가 포함되어 있습니다.
💡 쉬운 설명
블루투스 기능을 사용하는 과정에서 컴퓨터의 메모리 관리 오류로 인해 시스템이 갑자기 멈추거나 꺼질 수 있는 결함입니다. 공격자가 특수한 블루투스 신호를 보내 시스템을 강제로 종료시킬 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: MGMT: fix crash in set_mesh_sync and set_mesh_complete
There is a BUG: KASAN: stack-out-of-bounds in set_mesh_sync due to
memcpy from badly declared on-stack flexible array.
Another crash is in set_mesh_complete() due to double list_del via
mgmt_pending_valid + mgmt_pending_remove.
Use DEFINE_FLEX to declare the flexible array right, and don't memcpy
outside bounds.
As mgmt_pending_valid removes the cmd from list, use mgmt_pending_free,
and also report status on error.
📍 영향받는 시스템
Bluetooth MGMT 기능이 활성화된 리눅스 커널 버전
⚔️ 공격 벡터
로컬 또는 근거리 블루투스 통신을 통한 악의적인 메시지 전송
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인하십시오.