🔍 CVE-2026-31393

8.1
CVSS Score
HIGH
2026-04-03
2026-10-19 19:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Bluetooth L2CAP 프로토콜에서 정보 응답 패킷의 페이로드 길이를 검증하지 않아 발생하는 Out-of-Bounds 읽기 취약점입니다. 공격자가 불완전한 L2CAP_INFO_RSP 패킷을 전송할 경우 커널이 할당된 메모리 범위를 벗어난 데이터를 접근할 수 있으며, 이를 통해 메모리 내용이 유출될 수 있습니다.

💡 쉬운 설명

블루투스 통신에서 정보 요청에 대한 응답 메시지가 너무 짧을 때 시스템이 메모리에서 잘못된 위치의 데이터를 읽을 수 있다는 뜻입니다. 이를 이용해 공격자가 시스템의 민감한 정보를 빼낼 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Validate L2CAP_INFO_RSP payload length before access l2cap_information_rsp() checks that cmd_len covers the fixed l2cap_info_rsp header (type + result, 4 bytes) but then reads rsp->data without verifying that the payload is present: - L2CAP_IT_FEAT_MASK calls get_unaligned_le32(rsp->data), which reads 4 bytes past the header (needs cmd_len >= 8). - L2CAP_IT_FIXED_CHAN reads rsp->data[0], 1 byte past the header (needs cmd_len >= 5). A truncated L2CAP_INFO_RSP with result == L2CAP_IR_SUCCESS triggers an out-of-bounds read of adjacent skb data. Guard each data access with the required payload length check. If the payload is too short, skip the read and let the state machine complete with safe defaults (feat_mask and remote_fixed_chan remain zero from kzalloc), so the info timer cleanup and l2cap_conn_start() still run and the connection is not stalled.

📍 영향받는 시스템

Linux kernel (모든 최근 버전, 패치 전)

⚔️ 공격 벡터

근거리 블루투스 연결을 통해 조작된 L2CAP_INFO_RSP 패킷 전송

🛡️ 대응 방법

Linux 커널을 CVE-2026-31393 패치가 적용된 최신 버전으로 업그레이드

🔧 검증 코드

커널 버전이 표시되며, 최신 안정화 커널 버전과 비교하여 보안 패치 적용 여부를 확인합니다.

Shell / Script
uname -r && grep -i 'CVE-2026-31393' /proc/version 2>/dev/null || echo '패치 확인 불가'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel