Katalog CVE

CVE-2026-52976

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.14%

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

Streszczenie

W sterowniku graficznym drm/xe jądra Linuxa znaleziono dwa błędy w funkcji xe_exec_queue_create_ioctl(). Pierwszy powoduje, że po niepowodzeniu xe_hw_engine_group_add_exec_queue() kolejka nie jest usuwana z listy VM, co prowadzi do wiszącego wskaźnika. Drugi błąd pomija usunięcie kolejki z grupy silników po niepowodzeniu xa_alloc(), co skutkuje use-after-free.

Ocena ryzyka

Błędy te mogą prowadzić do naruszenia integralności pamięci jądra, potencjalnie umożliwiając lokalnemu atakującemu eskalację uprawnień lub wywołanie awarii systemu.

Rekomendacja

Zastosuj łatkę jądra Linuxa, która poprawia ścieżki błędów w xe_exec_queue_create_ioctl(). Zaktualizuj system do wersji jądra zawierającej to zabezpieczenie.

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: drm/xe: Fix error cleanup in xe_exec_queue_create_ioctl() Two error handling issues exist in xe_exec_queue_create_ioctl(): 1. When xe_hw_engine_group_add_exec_queue() fails, the error path jumps to put_exec_queue which skips xe_exec_queue_kill(). If the VM is in preempt fence mode, xe_vm_add_compute_exec_queue() has already added the queue to the VM's compute exec queue list. Skipping the kill leaves the queue on that list, leading to a dangling pointer after the queue is freed. 2. When xa_alloc() fails after xe_hw_engine_group_add_exec_queue() has succeeded, the error path does not call xe_hw_engine_group_del_exec_queue() to remove the queue from the hw engine group list. The queue is then freed while still linked into the hw engine group, causing a use-after-free. Fix both by: - Changing the xe_hw_engine_group_add_exec_queue() failure path to jump to kill_exec_queue so that xe_exec_queue_kill() properly removes the queue from the VM's compute list. - Adding a del_hw_engine_group label before kill_exec_queue for the xa_alloc() failure path, which removes the queue from the hw engine group before proceeding with the rest of the cleanup. (cherry picked from commit 37c831f401746a45d510b312b0ed7a77b1e06ec8)

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