Katalog CVE

CVE-2026-68170

KrytyczneCVSS 9.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.52%

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

Streszczenie

W jądrze Linuxa wykryto podatność w implementacji MPTCP, polegającą na pozostawieniu nieaktualnego wskaźnika skb->sk do zamykanego podprzepływu (subflow). Czyszczenie listy zaległych pakietów (backlog) odbywało się bez odpowiedniej synchronizacji, co mogło prowadzić do użycia po zwolnieniu pamięci (use-after-free).

Ocena ryzyka

Atakujący może wykorzystać tę podatność do wywołania awarii systemu (paniki jądra) lub potencjalnie do eskalacji uprawnień, co stanowi poważne zagrożenie dla integralności i dostępności systemu.

Rekomendacja

Zaleca się natychmiastowe zaktualizowanie jądra Linux do wersji zawierającej poprawkę (commit usuwający niechronione czyszczenie backlogu i przenoszący je do __mptcp_close_ssk()). Należy monitorować komunikaty bezpieczeństwa dystrybucji i zastosować łatkę w najbliższym możliwym terminie.

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

In the Linux kernel, the following vulnerability has been resolved: mptcp: fix stale skb->sk reference on subflow close The backlog list is updated by mptcp_data_ready() under mptcp_data_lock(). The cleanup of backlog references to a closing subflow, however, was performed in mptcp_close_ssk(), before __mptcp_close_ssk() acquires the ssk lock, and while holding neither the ssk lock nor mptcp_data_lock(). Because that traversal ran without mptcp_data_lock(), concurrent softirq RX processing on another CPU (subflow_data_ready() -> mptcp_data_ready() -> __mptcp_add_backlog(), under mptcp_data_lock()) could add a backlog entry referencing the ssk while the cleanup loop was in progress. Such an entry could be missed by the cleanup, or the concurrent list update could corrupt the traversal, leaving skb->sk pointing at the ssk after it is freed. A later mptcp_backlog_purge() then dereferences the stale pointer, triggering a warning in inet_sock_destruct() (ssk->sk_rmem_alloc != 0) followed by a use-after-free in mptcp_backlog_purge(). Fix this by moving the backlog cleanup into __mptcp_close_ssk(), after subflow->closing is set to 1 and while the ssk lock is still held, serialized under mptcp_data_lock(). The cleanup runs only on the push path (MPTCP_CF_PUSH), where backlog references accumulate; on other teardown paths the caller already handles cleanup. With subflow->closing set and mptcp_data_lock() held across the purge, any concurrent mptcp_data_ready() either completes its enqueue before the purge runs and is caught, or observes closing=1 and bails out. Once mptcp_data_unlock() is reached, no new skb referencing the ssk can be enqueued, so the cleanup is exhaustive. Remove the unprotected traversal from mptcp_close_ssk() entirely.

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