CVE-2025-37953
- 공개
- 2025년 5월 21일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
sch_htb: make htb_deactivate() idempotent
Alan reported a NULL pointer dereference in htb_next_rb_node() after we made htb_qlen_notify() idempotent.
It turns out in the following case it introduced some regression:
htb_dequeue_tree(): |-> fq_codel_dequeue() |-> qdisc_tree_reduce_backlog() |-> htb_qlen_notify() |-> htb_deactivate() |-> htb_next_rb_node() |-> htb_deactivate()
For htb_next_rb_node(), after calling the 1st htb_deactivate(), the clprio[prio]->ptr could be already set to NULL, which means htb_next_rb_node() is vulnerable here.
For htb_deactivate(), although we checked qlen before calling it, in case of qlen==0 after qdisc_tree_reduce_backlog(), we may call it again which triggers the warning inside.
To fix the issues here, we need to:
1) Make htb_deactivate() idempotent, that is, simply return if we already call it before. 2) Make htb_next_rb_node() safe against ptr==NULL.
Many thanks to Alan for testing and for the reproducer.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
| linux_kernellinux | 이 버전만 | 취약 | = | 6.1.138 | 벤더 공지 확인 | |
| 이 버전만 | 취약 | = | 6.6.90 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.12.28 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.14.6 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.15 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.15 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.15 rc4 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.15 rc5 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 4줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 6.1.138 | ≤ | 취약 | < | 6.1.139 | 6.1.139이상 |
| 6.6.90 | ≤ | 취약 | < | 6.6.91 | 6.6.91이상 | |
| 6.12.28 | ≤ | 취약 | < | 6.12.29 | 6.12.29이상 | |
| 6.14.6 | ≤ | 취약 | < | 6.14.7 | 6.14.7이상 | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/31ff70ad39485698cf779f2078132d80b57f6c07
- git.kernel.org/stable/c/3769478610135e82b262640252d90f6efb05be71
- git.kernel.org/stable/c/98cd7ed92753090a714f0802d4434314526fe61d
- git.kernel.org/stable/c/99ff8a20fd61315bf9ae627440a5ff07d22ee153
- git.kernel.org/stable/c/a9945f7cf1709adc5d2d31cb6cfc85627ce299a8