🇰🇷 한글 설명
리눅스 커널의 keyring_get_key_chunk() 함수에서 경계 검사 미흡으로 인한 Out-of-bounds read 취약점이 발견되었습니다. 해시 충돌을 유도하는 특수하게 제작된 키 쌍을 사용하여 unprivileged add_key(2) 호출을 통해 할당된 메모리 범위를 벗어난 읽기가 가능합니다.
💡 쉬운 설명
리눅스 시스템의 키 관리 기능에서 메모리 경계를 확인하지 않는 오류가 있어, 공격자가 시스템의 민감한 정보를 몰래 읽어낼 수 있습니다. 권한이 낮은 사용자라도 특수한 키를 생성하여 이 취약점을 악용할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
keys: fix out-of-bounds read in keyring_get_key_chunk()
For description-level chunks keyring_get_key_chunk() advances the read
pointer by level * sizeof(long) past the inline prefix but only
bounds-checks the prefix, so a long enough key description is read past
its kmemdup(desc, desc_len + 1) allocation. Compute the full byte
offset and bounds-check the description against it before reading.
The walk only reaches a description-level chunk when two keys collide
through the hash, x, type and domain_tag chunks, so this is reached from
an unprivileged add_key(2) with a crafted pair of same-type keys whose
index hashes collide; KASAN reports a slab-out-of-bounds read.
📍 영향받는 시스템
Linux Kernel (keyring subsystem 관련 버전)
⚔️ 공격 벡터
해시 충돌을 유도하는 조작된 키 쌍을 이용한 add_key(2) 시스템 호출
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 버전인지 배포판 보안 공지를 통해 확인하십시오.
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux