Katalog CVE

CVE-2026-93189

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.31%

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

Streszczenie

W jądrze Linux występuje luka use-after-free w podsystemie HID. Gdy sterownik wywoła hid_device_io_start(), a następnie zakończy inicjalizację błędem i wywoła hid_hw_stop(), struktura hidraw może zostać zwolniona, podczas gdy raporty HID są wciąż przetwarzane na innym CPU, co prowadzi do odwołania do zwolnionej pamięci. Problem dotyczy ośmiu sterowników, które nie wywołują hid_device_io_stop() przed hid_hw_stop().

Ocena ryzyka

Luka może prowadzić do awarii jądra (panic) lub potencjalnego wykonania dowolnego kodu w kontekście jądra, co stanowi poważne zagrożenie dla stabilności i bezpieczeństwa systemu. Wykorzystanie wymaga jednak specyficznych warunków — błędu inicjalizacji sterownika HID i równoczesnego przetwarzania raportów.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę centralizującą wywołanie hid_device_io_stop() w hid_hw_stop(). Jeśli aktualizacja nie jest możliwa, rozważ wyłączenie lub unikanie dotkniętych sterowników HID (m.in. corsair-psu, corsair-cpro, nzxt-kraken3, nzxt-smart2, gigabyte_waterforce, hid-logitech-dj, hid-nintendo, hid-mcp2221).

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: HID: core: quiesce input in hid_hw_stop() to prevent use-after-free A driver's probe calls hid_device_io_start() to enable input delivery, then fails at a later initialization step and unwinds via hid_hw_stop(). The unwind frees struct hidraw via hidraw_disconnect() while in-flight HID reports may still be running on another CPU, dereferencing the freed object through hidraw_report_event(). syzbot reports the resulting use-after-free for the corsair-psu HID driver. Edward Adam Davis posted a per-driver fix for corsair-psu that adds an explicit hid_device_io_stop() before hid_hw_stop() in the probe error path ("hwmon: prevent packets from going to driver for probe", 2026-04-28). Auditing the tree shows 15 drivers call hid_device_io_start(); 7 also call hid_device_io_stop() and 8 do not: drivers calling hid_device_io_start() without a matching hid_device_io_stop() before hid_hw_stop(): drivers/hwmon/corsair-psu.c (fix posted by Edward) drivers/hwmon/corsair-cpro.c drivers/hwmon/nzxt-kraken3.c drivers/hwmon/nzxt-smart2.c drivers/hwmon/gigabyte_waterforce.c drivers/hid/hid-logitech-dj.c drivers/hid/hid-nintendo.c drivers/hid/hid-mcp2221.c Roughly half of all callers of the API are exposed. Centralize the quiesce in hid_hw_stop() so callers do not have to remember the matching stop: if a driver has left hdev->io_started true on entry, call hid_device_io_stop() before hid_disconnect(). For the 7 drivers that already call hid_device_io_stop() correctly, hdev->io_started is false on entry, the guard short-circuits, and behavior is unchanged. No Fixes: tag because the affected drivers gained their hid_device_io_start() calls independently over years; the bug is a class-wide API misuse rather than a regression from one commit.

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