CVE-2025-38001
- 공개
- 2025년 6월 6일
- 수정
- 2026년 10월 16일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
net_sched: hfsc: Address reentrant enqueue adding class to eltree twice
Savino says: "We are writing to report that this recent patch (141d34391abbb315d68556b7c67ad97885407547) [1] can be bypassed, and a UAF can still occur when HFSC is utilized with NETEM.
The patch only checks the cl->cl_nactive field to determine whether it is the first insertion or not [2], but this field is only incremented by init_vf [3].
By using HFSC_RSC (which uses init_ed) [4], it is possible to bypass the check and insert the class twice in the eltree. Under normal conditions, this would lead to an infinite loop in hfsc_dequeue for the reasons we already explained in this report [5].
However, if TBF is added as root qdisc and it is configured with a very low rate, it can be utilized to prevent packets from being dequeued. This behavior can be exploited to perform subsequent insertions in the HFSC eltree and cause a UAF."
To fix both the UAF and the infinite loop, with netem as an hfsc child, check explicitly in hfsc_enqueue whether the class is already in the eltree whenever the HFSC_RSC flag is set.
[1] https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=141d34391abbb315d68556b7c67ad97885407547 [2] https://elixir.bootlin.com/linux/v6.15-rc5/source/net/sched/sch_hfsc.c#L1572 [3] https://elixir.bootlin.com/linux/v6.15-rc5/source/net/sched/sch_hfsc.c#L677 [4] https://elixir.bootlin.com/linux/v6.15-rc5/source/net/sched/sch_hfsc.c#L1574 [5] https://lore.kernel.org/netdev/8DuRWwfqjoRDLDmBMlIfbrsZg9Gx50DHJc1ilxsEBNe2D6NMoigR_eIRIG0LOjMc3r10nUUZtArXx4oZBIdUfZQrwjcQhdinnMis_0G7VEk=@willsroot.io/T/#u
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
| 이 버전만 | 취약 | = | 12.0 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 11줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 5.0 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.0 | — | |
| 5.4.294 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.238 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.185 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.141 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.93 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.32 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.14.10 | ≤ | 영향 없음 | ≤ | 6.14.* | — | |
| 6.15.1 | ≤ | 영향 없음 | ≤ | 6.15.* | — | |
| 6.16 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치9
- git.kernel.org/stable/c/295f7c579b07b5b7cf2dffe485f71cc2f27647cb
- git.kernel.org/stable/c/2c928b3a0b04a431ffcd6c8b7d88a267124a3a28
- git.kernel.org/stable/c/2f2190ce4ca972051cac6a8d7937448f8cb9673c
- git.kernel.org/stable/c/39ed887b1dd2d6b720f87e86692ac3006cc111c8
- git.kernel.org/stable/c/4e38eaaabfb7fffbb371a51150203e19eee5d70e