Katalog CVE

CVE-2026-74666

WysokieCVSS 7.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.13%

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

Streszczenie

W jądrze Linux w funkcji packet_set_ring() stan pierścienia RX jest aktualizowany pod blokadą, ale tryb odbioru tpacket jest publikowany po jej zwolnieniu. Może to prowadzić do wyścigu, w którym packet_poll() lub packet_recvmsg() odwołują się do nieaktualnej lub NULL-owej pamięci pierścienia.

Ocena ryzyka

Podatność może prowadzić do awarii systemu (panic) lub potencjalnie do eskalacji uprawnień w wyniku użycia po zwolnieniu.

Rekomendacja

Zainstaluj poprawkę jądra, która przenosi przypisanie funkcji odbiorczej do sekcji z blokadą sk_receive_queue.lock.

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: packet: synchronize pressure clearing with ring reconfiguration packet_set_ring() updates the RX ring state under sk_receive_queue.lock, but used to publish the tpacket receive mode through po->prot_hook.func after releasing that lock. packet_poll() and packet_recvmsg() can then run the pressure clearing path after the ring has been cleared while still seeing tpacket_rcv, causing __packet_rcv_has_room() to dereference stale or NULL ring storage. Move the existing receive hook assignment into the same sk_receive_queue.lock section as the ring state update. Keep the assignment otherwise unchanged, including on TX ring reconfiguration, to avoid adding behavior changes that are not required for the fix. Serialize packet_recvmsg() pressure clearing with the same queue lock only after PACKET_SOCK_PRESSURE has been observed. If the flag is clear and the socket has moved away from tpacket_rcv, packet_set_ring() has already detached the socket and waited for synchronize_net(), so no new packet input can set the flag again. packet_poll() already holds sk_receive_queue.lock, so it uses the new unlocked helper directly.

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