🇰🇷 한글 설명
리눅스 커널의 키링(keyring) 시스템에서 키 청크의 바이트 순서와 비트 위치 계산 방식이 일치하지 않는 취약점이 발견되었습니다. 이로 인해 서로 다른 키 설명(description)이 동일한 노드로 충돌하여 저장될 수 있는 문제가 발생할 수 있습니다. 해당 패치는 바이트 순서를 일치시키고 인덱스 계산 방식을 수정하여 이를 해결합니다.
💡 쉬운 설명
컴퓨터가 서로 다른 열쇠 정보를 저장할 때, 계산 방식의 차이로 인해 서로 다른 열쇠를 같은 것으로 착각할 수 있는 오류입니다. 이 오류를 이용하면 조작된 정보를 통해 데이터가 겹치는 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
keys: make keyring key-chunk byte order agree with keyring_diff_objects()
keyring_get_key_chunk() loads description bytes into the index chunk low
address first, while keyring_diff_objects() numbers the first differing
bit from the low end and folds the absolute byte index into the level
without removing the inline-prefix offset the level already carries.
The two disagree on byte order and bit position, so the array can be
told two keys first differ at a bit that does not differ in the chunk
the walker uses, letting crafted descriptions collide into one node.
Load the chunk in the order keyring_diff_objects() assumes and drop the
inline-prefix length when folding the byte index into the level. This
only changes the in-memory ordering used to place keys within a keyring;
add, search and read of non-colliding keys are unaffected.
📍 영향받는 시스템
Linux Kernel (keyring subsystem 관련 버전)
⚔️ 공격 벡터
조작된 키 설명(crafted descriptions)을 사용하여 키링 내 노드 충돌 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인