Veille CVE

‹ Retour à la liste

CVE-2026-64242

7.8 Élevée

Publiée le 24/07/2026 à 18:16 · Modifiée le 13/08/2026 à 19:22 · Analysée par le NVD · Source : 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Description

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.

Traduire en français

Produits concernés

Scores CVSS

VersionScoreSourceVecteur
3.1 7.8 Élevée nvd@nist.gov (NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Faiblesses (CWE)

Références

Ailleurs