PT-2026-64357 · Linux · Linux

CVE-2026-64242

·

Publicado

2026-07-24

·

Atualizado

2026-07-24

Nenhuma

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Identificadores relacionados

CVE-2026-64242

Produtos afetados

Linux