Katalog CVE

CVE-2026-63907

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.19%

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

Streszczenie

W sterowniku UIO jądra Linux wykryto podwójne zwolnienie pamięci zaalokowanej przez devm_kzalloc(). Funkcje probe() i remove() jawnie wywołują kfree() na strukturze, która jest automatycznie zwalniana przez mechanizm devres, co prowadzi do podwójnego zwolnienia.

Ocena ryzyka

Podwójne zwolnienie pamięci może spowodować uszkodzenie struktury jądra, prowadząc do awarii systemu (kernel panic) lub potencjalnie do eskalacji uprawnień w przypadku wykorzystania przez lokalnego atakującego.

Rekomendacja

Należy natychmiast zaktualizować jądro Linux do wersji zawierającej poprawkę usuwającą zbędne wywołania kfree() w sterowniku uio_pci_generic_sva.

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: uio: uio_pci_generic_sva: fix double free of devm_kzalloc() memory uio_pci_sva allocates struct uio_pci_sva_dev with devm_kzalloc() in probe(), but then calls kfree(udev) both on the probe() error path (label out_free) and again in remove(). Because devm_kzalloc() allocations are devres-managed and are freed automatically when the device is detached (including after a failing probe() and during driver unbind), the explicit kfree() can lead to a double free. If probe() fails after devm_kzalloc(), the error path frees udev and devres cleanup will free it again when the core unwinds the partially bound device. On normal driver removal, remove() frees udev and devres will free it again when the device is detached. This issue was identified by a static analysis tool I developed and confirmed by manual review. Fix by removing the manual kfree() calls and dropping the now-unused label.

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