CVE-2026-98629
- 공개
- 2026년 10월 19일
- 수정
- 2026년 10월 19일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
net/sched: cls_u32: fix manual hash table handle IDR aliasing
A u32 hash table created with an explicit handle ('tc filter add ... handle 801: u32 divisor N') keys its IDR entry on the raw handle, while the destroy paths free it under handle2id(handle). The two key domains disagree for handles in the 0x800..0xFFF htid range: handle2id() folds them back into the auto-allocated id space (1..0x7FF).
A manual table therefore leaves its raw-keyed IDR entry unreachable on delete (a permanent leak), and its delete can drop the idr entry of an unrelated live auto table. A later auto allocation can then hand out a handle that aliases the live manual table; u32_lookup_ht() first-match routes lookups and TCA_U32_LINK for that htid to the wrong table.
Key the divisor-path alloc on handle2id(handle) so allocation and removal share one key domain. A manual handle that maps onto an id already in use is rejected with -ENOSPC, and auto allocation skips ids held by live manual tables.
Conditions to recreate: ip link add test0 type dummy tc qdisc add dev test0 clsact tc filter add dev test0 ingress protocol ip pref 1 \ handle 801: u32 divisor 16 tc filter add dev test0 ingress protocol ip pref 2 u32 divisor 16 tc -d filter show dev test0 ingress | grep 'fh 801:' # unpatched: two live tables with handle 0x80100000 (the pref 2 root # hnode is auto-allocated id 1); patched: the auto hnode takes id 2.
Also tested with a poc with a live u32 table on the block, add/delete a manual table 'handle 901: u32 divisor 1' twice; unpatched, the re-add fails with -ENOSPC because the raw key leaked on the first delete.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 6.1.119 | ≤ | 취약 | < | 6.1.189 | 6.1.189이상 |
| 6.6.63 | ≤ | 취약 | < | 6.6.158 | 6.6.158이상 | |
| 6.11.10 | ≤ | 취약 | < | 6.12 | 6.12이상 | |
| 이 버전만 | 취약 | = | 6.12 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.12 | — | |
| 6.1.189 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.158 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.112 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.55 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.2.9 | ≤ | 영향 없음 | ≤ | 7.2.* | — | |
| 7.3 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타6
- git.kernel.org/stable/c/0a5f5d9e94dead312d32c366b917c64e552b72f7
- git.kernel.org/stable/c/0fac292d93fdb313099e98cce928b3a524c92c94
- git.kernel.org/stable/c/21fc07924e996e1e661268ca269c86b8d59d25b3
- git.kernel.org/stable/c/2f898f9ec7c73c5697ee462681e7ea6984ee1f3d
- git.kernel.org/stable/c/54a454c5e41f5e2cb70c8163140ce095c5d5eefd