🇰🇷 한글 설명
Linux 커널의 mac80211 드라이버에서 FILS 연결 요청 페이로드가 비어 있을 때 발생하는 취약점입니다. 빈 데이터에 대해 암호화 함수가 호출되면서 잘못된 메모리 페이지가 암호화 백엔드로 전달되어 커널 버그를 유발할 수 있습니다.
💡 쉬운 설명
와이파이 연결 과정에서 비어 있는 데이터를 보낼 때 컴퓨터의 핵심 시스템(커널)이 혼란을 겪어 오류가 발생할 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: handle empty FILS association request payload
fils_encrypt_assoc_req() accepts a (Re)Association Request frame whose
last element is the FILS Session element. crypt_len is then zero and
aes_siv_encrypt() is called with an empty plaintext.
kmemdup() returns ZERO_SIZE_PTR for a zero-length allocation, so the
unconditional sg_init_one() puts an invalid page into the scatterlist.
With CONFIG_DEBUG_SG this triggers a kernel BUG in sg_set_buf();
without the debug check the bogus page is handed to the crypto backend.
AES-SIV is defined for empty plaintext and the S2V result is then the
complete output, so handle this case before the CTR step, which has
nothing to encrypt.
📍 영향받는 시스템
FILS 기능을 사용하는 Linux 커널 (mac80211 드라이버 포함 버전)
⚔️ 공격 벡터
조작된(비어 있는 FILS 세션 요소가 포함된) (재)연결 요청 프레임을 전송하여 발생
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 배포판의 보안 업데이트 버전인지 확인