Katalog CVE

CVE-2025-38703

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.15%

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

Streszczenie

W sterowniku DRM/Xe w jądrze Linux stwierdzono podatność polegającą na tym, że dma-fences mogą wskazywać na dane, które są zwalniane przed upływem okresu RCU, co prowadzi do użycia po zwolnieniu (use-after-free) przy dostępie z zewnątrz.

Ocena ryzyka

Atakujący może wykorzystać tę podatność do uzyskania dostępu do już zwolnionej pamięci, co może prowadzić do awarii systemu (DoS) lub potencjalnie do wykonania dowolnego kodu.

Rekomendacja

Należy zastosować łatkę jądra Linux, która zapewnia, że dane wskazywane przez dma-fences są zwalniane dopiero po upływie okresu RCU, np. poprzez użycie kfree_rcu.

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: Make dma-fences compliant with the safe access rules Xe can free some of the data pointed to by the dma-fences it exports. Most notably the timeline name can get freed if userspace closes the associated submit queue. At the same time the fence could have been exported to a third party (for example a sync_fence fd) which will then cause an use- after-free on subsequent access. To make this safe we need to make the driver compliant with the newly documented dma-fence rules. Driver has to ensure a RCU grace period between signalling a fence and freeing any data pointed to by said fence. For the timeline name we simply make the queue be freed via kfree_rcu and for the shared lock associated with multiple queues we add a RCU grace period before freeing the per GT structure holding the lock.

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