Katalog CVE

CVE-2026-98234

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.18%

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

Streszczenie

W podsystemie net/sched jądra Linux funkcja hhf_change() przechowuje TCA_HHF_HH_FLOWS_LIMIT bez górnego ograniczenia. Ogromna wartość hh_flows_limit pozwala każdemu nowemu przepływowi heavy-hitter przejść kontrolę hh_flows_current_cnt i wymusza stałą alokację kzalloc(GFP_ATOMIC) na przepływ przy fałszowanym ruchu, prowadząc do nieograniczonego wzrostu pamięci.

Ocena ryzyka

Atakujący z uprawnieniami CAP_NET_ADMIN w przestrzeni nazw użytkownika może wyczerpać pamięć jądra, powodując odmowę usługi (DoS) lub awarię systemu.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę ograniczającą atrybut do 2*HH_FLOWS_CNT przez NLA_POLICY_MAX() i ustawiającą domyślną wartość przed hhf_change().

Powiązane podatności

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

In the Linux kernel, the following vulnerability has been resolved: net/sched: hhf: cap hh_flows_limit at change time hhf_change() stores TCA_HHF_HH_FLOWS_LIMIT with no upper bound. A huge hh_flows_limit lets each new heavy-hitter flow pass the hh_flows_current_cnt check in alloc_new_hh() and forces a fixed-size kzalloc(GFP_ATOMIC) per flow under spoofed traffic, for unbounded memory growth. Bound the attribute with NLA_POLICY_MAX() at 2*HH_FLOWS_CNT (the hhf_init() default) and report the rejected value via extack. The deprecated nested parse is kept: legacy tc does not set NLA_F_NESTED on TCA_OPTIONS. Configs relying on hh_limit above the default were relying on unbounded, unsafe behaviour and are not supported going forward. hhf_init() also ran hhf_change() before setting the default hh_flows_limit, so a user-supplied hh_limit at add time was clobbered back to 2048. Set the default before hhf_change() so the configured value sticks. This is a follow-up to commit eb56a495f59b ("net/sched: hhf: clamp quantum in change and init paths"), which bounded the quantum of the same qdisc; the hh_flows_limit bound is the remaining unbounded knob of that series' scope. Conditions to recreate the bug: CAP_NET_ADMIN in a user namespace; tc qdisc change dev X root hhf hh_limit 4294967295 succeeds and the value is echoed by tc qdisc show, unbounding heavy-hitter flow allocations; also tc qdisc add dev X root hhf hh_limit 500 stores 2048 instead of 500.

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