🇰🇷 한글 설명
리눅스 커널의 net/sched: sch_qfq 모듈에서 qfq_aggregate 구조체에 대한 경쟁 상태(Race Condition) 취약점이 발견되었습니다. 이로 인해 qfq_dump_class 호출 시 NULL 역참조가 발생하거나, qfq_delete_class 호출 시 Use-After-Free(UAF) 오류가 발생할 수 있습니다.
💡 쉬운 설명
여러 작업이 동시에 같은 데이터를 수정하려고 할 때 충돌이 발생하는 문제입니다. 이 충돌로 인해 시스템이 갑자기 멈추거나 보안상 위험한 상태가 될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/sched: sch_qfq: Fix race condition on qfq_aggregate
A race condition can occur when 'agg' is modified in qfq_change_agg
(called during qfq_enqueue) while other threads access it
concurrently. For example, qfq_dump_class may trigger a NULL
dereference, and qfq_delete_class may cause a use-after-free.
This patch addresses the issue by:
1. Moved qfq_destroy_class into the critical section.
2. Added sch_tree_lock protection to qfq_dump_class and
qfq_dump_class_stats.
📍 영향받는 시스템
Linux Kernel (sch_qfq 모듈을 사용하는 시스템)
⚔️ 공격 벡터
동시에 여러 스레드가 qfq_enqueue 및 관련 함수를 호출하여 경쟁 상태를 유도하는 방식
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.