Katalog CVE

CVE-2026-98688

Niskie ryzyko· EPSS 4%
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.16%

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

Streszczenie

W jądrze Linux w podsystemie Thunderbolt występuje wyścig między tb_remove_work() a tb_domain_remove(), który prowadzi do dereferencji wskaźnika NULL tb->root_switch w funkcji tb_free_unplugged_xdomains(). Problem wynika z niewłaściwego przeniesienia wywołania tb_free_unplugged_xdomains() poza sekcję chronioną mutexem tb->lock bez sprawdzenia, czy tb->root_switch nie jest NULL.

Ocena ryzyka

Może to spowodować awarię jądra (kernel panic) i odmowę usługi na systemach z urządzeniami Thunderbolt, szczególnie podczas odłączania lub usuwania domeny Thunderbolt.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę dla CVE-2026-98688 lub zastosuj odpowiedni patch dostarczony przez dystrybucję.

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: thunderbolt: Fix NULL dereference in tb_remove_work() There is a slight race between tb_remove_work() and tb_domain_remove() which leads to dereferencing a NULL tb->root_switch pointer inside tb_free_unplugged_xdomains(): Thread A Thread B tb_remove_work() tb_domain_remove() mutex_lock(&tb->lock) tb_stop() /* doesn't cancel a running callback */ cancel_delayed_work(&tcm->remove_work) ... tb_switch_remove(tb->root_switch) tb->root_switch = NULL mutex_unlock(&tb->lock) mutex_lock(&tb->lock) ... /* without checking ->root_switch */ tb_free_unplugged_xdomains(tb->root_switch) mutex_unlock(&tb->lock) Commit a8937f35cf39 ("thunderbolt: Remove XDomain from the bus without holding tb->lock") doesn't seem right to move tb_free_unplugged_xdomains() out of the &tb->lock section and the check for tb->root_switch, in particular. It states: For this reason separate removing the XDomain from the topology data structures (where we need the lock) from unregistering the device from the bus (where remove callbacks of the drivers are being called). tb_free_unplugged_xdomains() belongs to the former group of functions requiring the lock. And it also calls tb_xdomain_remove() which should only be called with &tb->lock held. Found by Linux Verification Center (linuxtesting.org) with Svace static analysis tool.

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