🇰🇷 한글 설명
Linux 커널의 rtl8723bs 드라이버에서 IE(Information Element) 파싱 루프 중 경계 검사 누락으로 인한 OOB(Out-of-Bounds) 읽기 취약점이 발견되었습니다. 악의적인 AP가 잘린 IE 데이터를 포함한 비콘 또는 프로브 응답 프레임을 전송할 경우, 메모리 범위를 벗어난 읽기가 발생할 수 있습니다.
💡 쉬운 설명
무선 랜 카드가 공유기(AP)로부터 정보를 읽어올 때, 데이터의 끝을 제대로 확인하지 않아 메모리의 잘못된 부분을 읽게 되는 문제입니다. 해커가 조작된 신호를 보내면 시스템의 민감한 정보가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
staging: rtl8723bs: fix OOB reads in IE loops in issue_assocreq() and join_cmd_hdl()
Two IE parsing loops are missing the header bounds checks before they
dereference pIE->length:
- issue_assocreq() walks pmlmeinfo->network.ies to build the
association request. If the stored IE data ends with only an
element_id byte and no length byte, pIE->length is read one byte
past the end of the buffer.
- join_cmd_hdl() walks pnetwork->ies during station join and has
the same problem under the same conditions.
Both buffers are filled from AP beacon and probe-response frames, so a
malicious AP that sends a truncated final IE can trigger the issue.
Apply the two-guard pattern established in update_beacon_info():
1. Break if fewer than sizeof(*pIE) bytes remain.
2. Break if the IE's declared data extends past the buffer end.
📍 영향받는 시스템
Linux kernel (staging: rtl8723bs driver 포함 버전)
⚔️ 공격 벡터
조작된 IE 데이터를 포함한 악성 AP의 비콘(Beacon) 또는 프로브 응답(Probe-Response) 프레임 전송
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 IE 파싱 시 경계 검사 로직을 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 보안 공지(Advisory)와 대조합니다.