🇰🇷 한글 설명
Linux 커널의 sch_hfsc 구성 요소에서 hfsc_qlen_notify() 함수가 멱등성을 보장하지 못하는 취약점이 발견되었습니다. 이로 인해 특정 호출 과정에서 데이터 구조의 불일치나 예기치 않은 동작이 발생할 수 있어, 이를 수정하기 위해 함수 호출 전 상태 확인 및 노드 제거 로직이 개선되었습니다.
💡 쉬운 설명
네트워크 데이터를 처리하는 리눅스 커널의 특정 기능이 반복적으로 호출될 때 내부 계산을 잘못 처리하는 문제가 있었습니다. 이로 인해 시스템이 불안정해질 수 있어, 같은 작업을 여러 번 해도 문제가 없도록 안전하게 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
sch_hfsc: make hfsc_qlen_notify() idempotent
hfsc_qlen_notify() is not idempotent either and not friendly
to its callers, like fq_codel_dequeue(). Let's make it idempotent
to ease qdisc_tree_reduce_backlog() callers' life:
1. update_vf() decreases cl->cl_nactive, so we can check whether it is
non-zero before calling it.
2. eltree_remove() always removes RB node cl->el_node, but we can use
RB_EMPTY_NODE() + RB_CLEAR_NODE() to make it safe.
📍 영향받는 시스템
Linux Kernel (sch_hfsc 모듈 사용 환경)
⚔️ 공격 벡터
네트워크 트래픽 제어(qdisc)를 유도하여 커널 내부의 상태 불일치를 일으키는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 이후의 버전인지 확인하십시오.