🇰🇷 한글 설명
Linux 커널의 mac802154 서브시스템에서 인증 태그보다 짧은 프레임을 처리할 때 발생하는 취약점입니다. 인증 태그 길이를 빼는 과정에서 음수 값이 발생하여 매우 큰 양수 값으로 변환되며, 이로 인해 메모리 경계를 벗어난 잘못된 접근이 발생합니다.
💡 쉬운 설명
무선 통신 데이터가 암호화 태그보다 짧게 들어올 경우, 컴퓨터가 계산 오류를 일으켜 메모리의 엉뚱한 곳을 읽으려 시도합니다. 이 과정에서 시스템이 충돌하거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mac802154: llsec: reject frames shorter than the authentication tag
llsec_do_decrypt_auth() computes the associated-data length for the
AEAD request as
assoclen += datalen - authlen;
where datalen is the number of bytes after the MAC header and authlen
(4, 8 or 16) is the length of the authentication tag. Nothing verifies
that the frame actually carries at least authlen payload bytes. A
secured frame whose payload is shorter than the tag makes
datalen - authlen negative; assoclen is then passed to
aead_request_set_ad() as an unsigned value close to 4 GiB, so
crypto_aead_decrypt() walks far off the end of the scatterlist that
only spans the real frame.
The frame is fully attacker-controlled and reaches this path from any
IEEE 802.15.4 peer in radio range. Reject frames whose payload is
shorter than the authentication tag before the subtraction.
Dynamically reproduced on a KASAN kernel as a general-protection-fault
in the AEAD scatterwalk, and the fix confirmed.
📍 영향받는 시스템
Linux kernel (mac802154 모듈을 사용하는 IEEE 802.15.4 지원 시스템)
⚔️ 공격 벡터
무선 범위 내에 있는 공격자가 조작된 짧은 길이의 IEEE 802.15.4 프레임을 전송
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA vGPU Guest Driver for Linux