Katalog CVE

CVE-2026-98629

Niskie ryzyko· EPSS 10%
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.21%

Percentyl 10 - wyżej niż 10% wszystkich znanych CVE

Streszczenie

W jądrze Linux w module net/sched: cls_u32 naprawiono błąd aliasowania identyfikatorów w tablicy haszującej. Ręcznie utworzona tablica u32 z jawnym uchwytem (handle) w zakresie 0x800..0xFFF była kluczowana surowym uchwytem, podczas gdy ścieżki usuwania używały funkcji handle2id(), co prowadziło do trwałego wycieku wpisu IDR oraz możliwości usunięcia wpisu należącego do innej, aktywnej tablicy. W efekcie późniejsze automatyczne przydzielenie mogło zwrócić uchwyt kolidujący z istniejącą tablicą manualną, kierując zapytania i TCA_U32_LINK do niewłaściwej tablicy.

Ocena ryzyka

Podatność może prowadzić do wycieku zasobów jądra (pamięci IDR) oraz nieprawidłowego routingu reguł filtrowania ruchu sieciowego, co potencjalnie umożliwia obejście polityk QoS lub filtrów. W środowiskach wielodostępnych (kontenery, maszyny wirtualne) może to zostać wykorzystane do zakłócenia lub obejścia izolacji ruchu.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę (commit naprawiający kluczowanie na handle2id(handle)). Do czasu aktualizacji unikaj ręcznego tworzenia filtrów u32 z uchwytami w zakresie 0x800..0xFFF lub ogranicz możliwość konfiguracji tc do zaufanych użytkowników.

Inne podatności w Linux kernel net/sched cls_u32

Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS