Katalog CVE

CVE-2026-80792

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W ip6_finish_output2() wskaźnik do adresu IPv6 (daddr) jest buforowany przed wywołaniem lwtunnel_xmit(), które może ponownie alokować skb i zwolnić pamięć, na którą wskazuje. Po powrocie z LWTUNNEL_XMIT_CONTINUE używany jest zwisający wskaźnik, co prowadzi do use-after-free.

Ocena ryzyka

Atakujący może wykorzystać LWT-BPF lub enkapsulację, aby wywołać use-after-free, co może prowadzić do wycieku danych, zatrucia tablicy sąsiadów, przekierowania ruchu lub awarii systemu.

Rekomendacja

Zastosuj poprawkę ponownie pobierającą nagłówek IPv6 i wskaźnik adresu docelowego po powrocie z lwtunnel_xmit() z kodem LWTUNNEL_XMIT_CONTINUE.

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: ipv6: fix use-after-free in ip6_finish_output2() ip6_finish_output2() caches a pointer to the IPv6 destination address (daddr) before invoking lwtunnel_xmit(). The LWT-BPF transmit path or other encapsulation operations within lwtunnel_xmit() can reallocate the skb head, freeing the memory that daddr points to. When lwtunnel_xmit() returns LWTUNNEL_XMIT_CONTINUE, the function continues to use the stale daddr pointer to compute the nexthop and to look up or create the neighbour entry. This results in a use-after-free read, which can leak sensitive kernel data, pollute the neighbour table with arbitrary values, misdirect traffic, or crash the system. Fix this by re-fetching the IPv6 header and the destination address pointer after lwtunnel_xmit() returns LWTUNNEL_XMIT_CONTINUE, ensuring that the subsequent nexthop computation and neighbour lookup operate on valid memory.

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