Katalog CVE

CVE-2026-90222

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w sterowniku NFC pn533 występuje błąd use-after-free. Funkcja __pn533_send_async() publikuje polecenie, a następnie wywołuje send_frame(), podczas gdy równolegle obsługa przerwania I2C może zakończyć polecenie i zwolnić bufor skb, zanim transport zakończy jego używanie.

Ocena ryzyka

Lokalny atakujący lub błąd sprzętowy może doprowadzić do użycia zwolnionej pamięci, powodując awarię jądra (odmowa usługi) lub potencjalnie wykonanie dowolnego kodu w kontekście jądra.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę, która utrzymuje tymczasowe odwołanie do skb na czas wywołania send_frame().

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: nfc: pn533: hold a reference to the request skb during send_frame __pn533_send_async() publishes the command and then calls dev->phy_ops->send_frame(). Once dev->cmd is set, an incoming frame can be matched to this command: the I2C threaded IRQ runs pn533_recv_frame(), which queues cmd_complete_work, and pn533_send_async_complete() frees cmd->req with consume_skb(). On the I2C transport, pn533_i2c_send_frame() still dereferences the same skb after i2c_master_send() returns, so a completion that races the send can free the skb while the transport is still using it. The request skb is owned by the command object and may be freed by command completion at any time after dev->cmd is published, so the transport send path must not assume it stays alive. Hold a temporary reference to the request skb across the send_frame() call so the transport always sees a live skb even if completion races the send. Add a pn533_send_cmd_frame() helper and use it from all three send paths.

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