🔍 CVE-2026-98887

0.0
CVSS Score
UNKNOWN
2026-10-23
2026-10-23 12:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mac80211_hwsim 드라이버에서 hwsim_tx_info_frame_received_nl() 함수가 HWSIM_ATTR_TX_INFO 속성의 길이를 검증하지 않아, 짧거나 길이가 0인 속성이 전달되면 페이로드 범위를 넘어 메모리를 읽는 문제입니다. 정책에 정확한 길이 검사를 추가하여 잘못된 속성을 핸들러 실행 전에 거부하도록 수정되었습니다.

💡 쉬운 설명

Wi-Fi 시뮬레이션 드라이버가 크기가 잘못된 데이터를 검사 없이 읽어 메모리 범위를 벗어날 수 있습니다. 수정으로 잘못된 데이터는 처리 전에 거부됩니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO hwsim_tx_info_frame_received_nl() casts the HWSIM_ATTR_TX_INFO payload to a struct hwsim_tx_rate * and unconditionally reads IEEE80211_TX_MAX_RATES entries (8 bytes) from it. The policy only bounds the attribute from above (NLA_BINARY .len is a maximum) and the op sets GENL_DONT_VALIDATE_STRICT, so a short or zero-length attribute is accepted and the loop reads past the payload. Require the exact length in the policy, so a malformed attribute is rejected before the handler runs.

📍 영향받는 시스템

mac80211_hwsim 모듈이 포함된 Linux 커널 (수정 커밋 이전 버전, 주로 테스트·개발 환경)

⚔️ 공격 벡터

로컬 사용자가 제작된 잘못된 크기의 Generic Netlink 메시지를 전송하여 범위 밖 메모리를 읽도록 유도

🛡️ 대응 방법

패치된 Linux 커널 버전으로 업데이트하고 필요 시 재부팅하며, 불필요한 경우 mac80211_hwsim 모듈을 비활성화

🔧 검증 코드

커널 버전이 수정 패치를 포함한 배포판 업데이트 버전인지 확인하고, 모듈이 로드되지 않았다면 해당 취약점 영향이 없음을 의미합니다.

Shell / Script
uname -r && (lsmod | grep mac80211_hwsim || echo 'mac80211_hwsim not loaded')

💻 영향받는 소프트웨어

Linux Kernel