CVE-2026-74575
WysokieCVSS 8.8Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 14 - wyżej niż 14% wszystkich znanych CVE
Streszczenie
W jądrze Linuxa w podsystemie Thunderbolt występuje podatność use-after-free w opóźnionej pracy XDomain podczas rozłączania. Funkcja tb_xdp_handle_request() może zaplanować opóźnioną pracę po tym, jak funkcja tb_xdomain_remove() anuluje synchronizację, ale przed zwolnieniem obiektu xdomain, co prowadzi do wykonania pracy na zwolnionej pamięci. Poprawka dodaje flagę xd->removing i synchronizację przez xd->lock.
Ocena ryzyka
Ryzyko obejmuje potencjalne wykonanie kodu w kontekście jądra lub awarię systemu (panic) w wyniku użycia po zwolnieniu. Atak wymaga jednak fizycznego dostępu do portu Thunderbolt lub możliwości wywołania odpowiednich zdarzeń, co ogranicza eksploatację.
Rekomendacja
Zaleca się aktualizację jądra Linuxa do wersji zawierającej poprawkę dla tego problemu. Należy również ograniczyć fizyczny dostęp do portów Thunderbolt w wrażliwych środowiskach.
Oryginalny opis (angielski, źródło NVD)
In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Prevent XDomain delayed work use-after-free on disconnect tb_xdp_handle_request() runs on system_wq and queues xd->state_work via queue_delayed_work() in three request handlers: PROPERTIES_CHANGED_REQUEST, UUID_REQUEST (via start_handshake), and LINK_STATE_CHANGE_REQUEST. Similarly, update_xdomain() queues xd->properties_changed_work when local properties change. Concurrently, tb_xdomain_remove() calls stop_handshake() which does cancel_delayed_work_sync() on both delayed works. Later, tb_xdomain_unregister() calls device_unregister() which eventually frees the xdomain. Since commit 559c1e1e0134 ("thunderbolt: Run tb_xdp_handle_request() in system workqueue") moved the request handler off tb->wq, the handler and the remove path are no longer serialized. If queue_delayed_work() executes after cancel_delayed_work_sync() but before the xdomain is freed, the delayed work fires on a freed object. Add xd->removing that tb_xdomain_remove() sets under xd->lock before calling stop_handshake(). Each external queue site holds the same lock and checks removing before calling queue_delayed_work(). This provides the mutual exclusion needed: either the queue site acquires the lock first and queues work that the subsequent cancel will see, or the remove path acquires the lock first and the queue site observes removing == true and skips the queue.

