🔍 CVE-2026-74651

8.1
CVSS Score
HIGH
2026-08-22
2026-10-16 20:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 rtl8723bs 드라이버 내 rtw_get_wpa_ie() 함수에서 경계 검사 미흡으로 인한 Out-of-Bounds(OOB) Read 취약점이 발견되었습니다. 특정 벤더 전용 정보 요소(IE)의 길이가 충분하지 않을 경우, 함수가 지정된 오프셋을 넘어 메모리를 읽어 들여 시스템 오류나 정보 유출을 유발할 수 있습니다.

💡 쉬운 설명

무선 랜 드라이버가 데이터를 읽을 때 데이터의 실제 길이를 확인하지 않고 정해진 위치를 무조건 읽으려다 발생하는 문제입니다. 이로 인해 프로그램이 갑자기 종료되거나 메모리의 다른 정보가 노출될 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB read in rtw_get_wpa_ie() rtw_get_wpa_ie() reads bytes at fixed offsets into a vendor-specific information element without checking that the element is long enough, causing an out-of-bounds read for a short trailing IE. The function locates a vendor-specific IE (EID 221) with rtw_get_ie() and then compares a 4-byte OUI+type at pbuf + 2 and reads a 2-byte version word at pbuf + 6. Those accesses require the IE body to be at least 6 bytes, but rtw_get_ie() only guarantees that the element fits within the buffer; it does not enforce a minimum body length. A vendor-specific IE whose length byte is 0 to 5, placed at the end of the buffer, therefore makes these reads run past the end of the IE and past the end of the buffer itself. The buffer holds information elements taken from received management frames and from the IE blob passed to rtw_cfg80211_set_wpa_ie(), which is kmemdup'd to its exact length, so the read can run off the end of the allocation. The sibling helpers rtw_get_sec_ie(), rtw_get_wapi_ie() and rtw_get_wps_ie() in this file already reject too-short vendor-specific IEs before their OUI memcmp(); rtw_get_wpa_ie() was never brought in line with them, and needs a minimum of 6 rather than 4 bytes because of the version word. Add the missing length check.

📍 영향받는 시스템

Linux kernel (staging: rtl8723bs driver)

⚔️ 공격 벡터

조작된 길이를 가진 벤더 전용 정보 요소(Vendor-specific IE)가 포함된 관리 프레임을 전송하여 발생

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 rtw_get_wpa_ie()의 길이 검사 로직을 적용해야 합니다.

🔧 검증 코드

현재 사용 중인 커널 버전과 드라이버 정보를 확인하여 해당 취약점이 수정된 패치 버전인지 확인합니다.

Shell / Script
uname -r && modinfo rtl8723bs 2>/dev/null | grep -i 'version'

📊 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