🇰🇷 한글 설명
리눅스 커널의 generic-radix-tree 라이브러리에서 __genradix_ptr_alloc() 함수 호출 시 드물게 발생하는 레이스 컨디션 취약점입니다. 트리 깊이를 확장하는 과정에서 다른 스레드와 충돌할 경우, 새로 할당된 노드가 초기화되지 않고 이전 루트 포인터를 유지하여 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
여러 작업이 동시에 리눅스 시스템의 데이터를 정리할 때, 데이터 저장 공간을 만드는 과정에서 순서가 꼬여 잘못된 정보가 남는 문제입니다. 이로 인해 시스템이 예상치 못한 동작을 하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()
If we need to increase the tree depth, allocate a new node, and then
race with another thread that increased the tree depth before us, we'll
still have a preallocated node that might be used later.
If we then use that node for a new non-root node, it'll still have a
pointer to the old root instead of being zeroed - fix this by zeroing it
in the cmpxchg failure path.
📍 영향받는 시스템
리눅스 커널 (generic-radix-tree를 사용하는 버전)
⚔️ 공격 벡터
커널 내 레이스 컨디션을 유발하는 특수한 멀티스레딩 작업 수행
🛡️ 대응 방법
최신 보안 패치가 적용된 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인