🇰🇷 한글 설명
리눅스 커널의 net_sched 구성 요소에서 TC_H_ROOT 클래스 ID를 사용하여 클래스를 생성할 때 발생하는 취약점입니다. 이로 인해 qdisc 트리 탐색이 조기에 종료되어 부모 통계가 잘못 유지될 수 있으며, DRR 사용 시 시스템 충돌(Crash)을 유발할 수 있습니다.
💡 쉬운 설명
네트워크 트래픽을 관리하는 리눅스 커널 설정에서 잘못된 식별자를 사용하면 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 특정 네트워크 설정 값을 조작하여 시스템의 안정성을 해칠 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net_sched: Prevent creation of classes with TC_H_ROOT
The function qdisc_tree_reduce_backlog() uses TC_H_ROOT as a termination
condition when traversing up the qdisc tree to update parent backlog
counters. However, if a class is created with classid TC_H_ROOT, the
traversal terminates prematurely at this class instead of reaching the
actual root qdisc, causing parent statistics to be incorrectly maintained.
In case of DRR, this could lead to a crash as reported by Mingi Cho.
Prevent the creation of any Qdisc class with classid TC_H_ROOT
(0xFFFFFFFF) across all qdisc types, as suggested by Jamal.
📍 영향받는 시스템
TC_H_ROOT 클래스 생성이 가능한 리눅스 커널 버전 (DRR qdisc 사용 시 위험)
⚔️ 공격 벡터
로컬 권한을 가진 사용자가 특수하게 조작된 TC_H_ROOT classid를 가진 Qdisc 클래스를 생성하여 커널 패닉 유도
🛡️ 대응 방법
TC_H_ROOT 클래스 생성을 방지하는 패치가 적용된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 보안 패치 버전인지 배포판 보안 공지를 통해 확인