Katalog CVE

CVE-2026-97616

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w net/sched act_api podczas zbiorczego żądania RTM_NEWACTION zastępującego istniejącą akcję, tcf_idr_check_alloc() pobiera tymczasową referencję. Jeśli późniejsza akcja nie zainicjuje się, tcf_action_destroy() używa ścisłych semantyki zwalniania, co dla akcji powiązanej z filtrem zwraca -EPERM bez zwolnienia referencji. Prowadzi to do wycieku akcji i jej slotu IDR.

Ocena ryzyka

Może prowadzić do wycieku zasobów jądra i uniemożliwić ponowne użycie indeksów, powodując odmowę usługi. Wymaga lokalnego dostępu do interfejsów netlink.

Rekomendacja

Zaktualizuj jądro Linux do wersji z poprawką używającą tcf_idr_release() do zwalniania referencji bez odrzucania powiązanych akcji. Monitoruj wycieki zasobów w systemach z intensywnym ruchem netlink.

Inne podatności w Linux kernel

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

In the Linux kernel, the following vulnerability has been resolved: net/sched: act_api: release all action references on NEWACTION failure When a batched RTM_NEWACTION request replaces an existing action, tcf_idr_check_alloc() takes a temporary reference on it. If a later action fails to initialize, tcf_action_destroy() uses strict release semantics to clean up the actions initialized so far. For an action bound to a filter, the strict check returns -EPERM without dropping the temporary reference. This error also makes tcf_action_destroy() return before releasing subsequent entries. Any new action initialized between the bound action and the failing entry is leaked together with its reserved IDR slot, preventing reuse of its index. Use tcf_idr_release() to drop each reference held by the batch without rejecting bound actions. This allows cleanup to continue through all initialized entries and preserves the module reference release when an action is destroyed. Explicit action deletion and flushing retain their separate bind-count checks.

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