Katalog CVE

CVE-2026-68137

KrytyczneCVSS 9.8
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 jądrze Linux w podsystemie net/x25 występuje podatność use-after-free w funkcji x25_kill_by_neigh(). Funkcja przeszukuje globalną listę gniazd X.25, ale po zwolnieniu blokady listy nie zabezpiecza czasu życia gniazda. Równoczesne zamknięcie gniazda może usunąć je z listy i zwolnić pamięć, a następnie funkcja używa zwolnionego obiektu. Poprawka dodaje zabezpieczenie przez socker_hold() i ponowne sprawdzenie połączenia.

Ocena ryzyka

Atakujący może wywołać awarię systemu (kernel panic) lub potencjalnie uzyskać nieautoryzowany dostęp do pamięci, co prowadzi do naruszenia integralności systemu.

Rekomendacja

Zastosuj poprawkę z jądra Linux i zrestartuj system, aby uniknąć ryzyka.

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

In the Linux kernel, the following vulnerability has been resolved: net/x25: fix use-after-free in x25_kill_by_neigh() x25_kill_by_neigh() walks the global X.25 socket list looking for sockets attached to a terminating neighbour. x25_list_lock protects list membership while the lookup is in progress, but it does not pin a socket's lifetime after the lock is dropped. The function currently drops x25_list_lock before calling lock_sock(s). A concurrent close can run x25_release(), remove the same socket from x25_list, and drop the last socket reference in that window. The neighbour teardown path can then lock or inspect a freed struct sock/struct x25_sock. Take sock_hold(s) while x25_list_lock still proves that the list entry is live, then drop the temporary reference after the socket has been locked, rechecked, and released. Recheck x25_sk(s)->neighbour after lock_sock(), because another path may have disconnected the socket before this path acquired the socket lock. Restart the list walk after each disconnect because the list lock was dropped and the previous iterator state may no longer be valid. A QEMU/KASAN run against origin/master reproduced a slab-use-after-free in x25_kill_by_neigh().

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