Katalog CVE

CVE-2026-98609

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.18%

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

Streszczenie

W jądrze Linux w sterowniku drm/virtio funkcja virtio_gpu_gem_create() na ścieżce błędu drm_gem_handle_create() wywoływała drm_gem_object_release() zamiast zwolnić referencję, co pozostawiało obiekt bo z licznikiem referencji 1 bez ważnej referencji. W efekcie virtio_gpu_free_object() nigdy się nie uruchamiał i dochodziło do wycieku stron shmem, tablicy sg, obiektu virtio_gpu_object oraz zasobu po stronie hosta i jego identyfikatora.

Ocena ryzyka

Powtarzające się błędy mogą prowadzić do wyczerpania pamięci jądra i zasobów hosta (wyciek pamięci), a w konsekwencji do odmowy usługi.

Rekomendacja

Zaktualizować jądro Linux do wersji zawierającej poprawkę używającą drm_gem_object_put() zamiast drm_gem_object_release() na ścieżce błędu w virtio_gpu_gem_create().

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/virtio: fix object leak when drm_gem_handle_create() fails virtio_gpu_gem_create() owns the reference taken by virtio_gpu_object_create(). On the drm_gem_handle_create() error path it calls drm_gem_object_release() instead of dropping that reference. drm_gem_object_release() is the inverse of drm_gem_object_init() and does not touch the reference count or call obj->funcs->free(), so it is only correct as the last step of a destructor, as in virtio_gpu_cleanup_object(). Using it here leaves the bo at refcount 1 with no remaining reference, so virtio_gpu_free_object() never runs and the shmem pages, sg table and virtio_gpu_object are leaked. Since virtio_gpu_object_create() has already set bo->created, VIRTIO_GPU_CMD_RESOURCE_UNREF is not queued either, leaking the host-side resource and the resource id. drm_gem_handle_create_tail() drops the handle reference on all of its internal error paths, so the caller only has to drop its own. Use drm_gem_object_put(), matching the success path below.

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