🇰🇷 한글 설명
Linux 커널의 carl9170 Wi-Fi 드라이버에서 펌웨어가 잘못된 길이를 가진 명령 응답을 보낼 경우, 할당된 버퍼 크기를 초과하여 데이터를 읽는 OOB(Out-of-Bounds) Read 취약점이 존재합니다. 이 문제는 memcpy 함수 호출 시 길이를 검증하지 않아 발생하며, 이를 방지하기 위해 복사 길이를 버퍼 크기 내로 제한하도록 수정되었습니다.
💡 쉬운 설명
Wi-Fi 칩셋이 잘못된 정보를 보낼 때, 컴퓨터 메모리의 허용된 범위를 넘어서 데이터를 읽어오는 보안 결함입니다. 이로 인해 시스템 정보가 유출되거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: carl9170: bound memcpy length in cmd callback to prevent OOB read
When the firmware sends a command response with a length mismatch,
carl9170_cmd_callback() logs the mismatch and calls carl9170_restart()
but then falls through to memcpy(ar->readbuf, buffer + 4, len - 4).
Since len comes from the firmware and can exceed ar->readlen, this
copies more data than the readbuf was allocated for.
Bound the memcpy to min(len - 4, ar->readlen) so that the response
is still completed -- avoiding repeated restarts from queued garbage --
while preventing an overread past the response buffer.
📍 영향받는 시스템
carl9170 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
조작된 명령 응답을 보내는 악성 펌웨어를 통한 메모리 오버리드 공격
🛡️ 대응 방법
carl9170 드라이버의 memcpy 길이를 제한하는 최신 Linux 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인합니다.
💻 영향받는 소프트웨어
NVIDIA vGPU Guest Driver for Linux