Katalog CVE

CVE-2026-64242

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.17%

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

Streszczenie

W jądrze Linux w sterowniku USB gadget net2280 wykryto podwójne zwolnienie pamięci w ścieżce błędu funkcji probe. Po wywołaniu net2280_remove() i usb_put_gadget(), następowało jawne wywołanie kfree(dev), co prowadziło do podwójnego zwolnienia tej samej struktury.

Ocena ryzyka

Podwójne zwolnienie pamięci może prowadzić do uszkodzenia pamięci jądra, co może skutkować awarią systemu lub potencjalną eskalacją uprawnień.

Rekomendacja

Zastosuj łatkę z jądra Linux, która usuwa jawne wywołanie kfree(dev) i pozwala funkcji zwrotnej gadget_release() zarządzać zwolnieniem pamięci.

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: usb: gadget: net2280: Fix double free in probe error path usb_initialize_gadget() installs gadget_release() as the release callback for the embedded gadget device. The struct net2280 instance is therefore released through gadget_release() when the gadget device's last reference is dropped. The probe error path calls net2280_remove(), which tears down the partially initialized device and drops the gadget reference with usb_put_gadget(). Calling kfree(dev) afterwards can free the same object again. Drop the explicit kfree() and let the gadget device release callback handle the final free. This issue was found by a static analysis tool I am developing.

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