🇰🇷 한글 설명
Linux 커널의 virtio-crypto 구성 요소에서 장치가 보고한 결과 길이를 목적지 버퍼 크기에 맞춰 제한하지 않아 발생하는 취약점입니다. 이로 인해 백엔드 장치가 요청된 크기보다 큰 길이를 보고할 경우, 커널 힙의 인접 영역을 초과하여 읽는 Out-of-bounds read가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 데이터를 저장할 공간보다 더 많은 양의 데이터를 읽으려고 시도할 때 발생하는 보안 문제입니다. 공격자가 조작된 장치를 사용하면 시스템의 민감한 메모리 정보가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
crypto: virtio - bound the akcipher result length
virtio_crypto_dataq_akcipher_callback() sets the result length from the
device-reported response length without bounding it to the destination
buffer, which was allocated for the original request length.
sg_copy_from_buffer() then reads that many bytes from the destination
buffer; a backend reporting a larger length over-reads adjacent kernel
heap into the caller's scatterlist (an out-of-bounds read).
Clamp the reported length to the originally requested destination length.
A conforming device reports no more than that, so valid results are
unaffected.
📍 영향받는 시스템
virtio-crypto를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
조작된 길이를 보고하는 악의적인 virtio-crypto 백엔드 장치를 통한 메모리 과다 읽기
🛡️ 대응 방법
장치가 보고하는 결과 길이를 원래 요청된 목적지 버퍼 크기 내로 제한하도록 커널 패치 적용
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 최신 보안 패치 버전인지 확인합니다.