🇰🇷 한글 설명
Linux 커널의 Bluetooth hci_core 모듈에서 hci_dev_info 구조체의 고정 크기 name 필드(8바이트)로 인한 버퍼 오버플로우 취약점입니다. strcpy 함수 사용 시 hdev->name이 8바이트를 초과하면 메모리 경계를 벗어나 쓰기가 발생할 수 있으며, strscpy 함수로 변경하여 수정되었습니다.
💡 쉬운 설명
Bluetooth 기능이 있는 Linux 시스템에서 장치 이름이 너무 길면 메모리 손상이 발생할 수 있는 버그입니다. 더 안전한 함수로 변경하여 수정했습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_core: Fix possible buffer overflow
struct hci_dev_info has a fixed size name[8] field so in the event that
hdev->name is bigger than that strcpy would attempt to write past its
size, so this fixes this problem by switching to use strscpy.
📍 영향받는 시스템
Bluetooth 지원 Linux 커널 (배포판별로 취약점 포함 여부 상이)
⚔️ 공격 벡터
로컬 공격자가 Bluetooth 장치 이름을 조작하여 커널 메모리 오버플로우 유발
🛡️ 대응 방법
Linux 커널을 최신 버전으로 업데이트하여 strscpy 기반 패치 적용
🔧 검증 코드
현재 커널 버전 확인 후 배포판별 패치 적용 여부를 해당 Linux 배포판 보안 공지에서 확인