1. Archivio CVE
  2. 2026
  3. CVE-2026-72005

CVE-2026-72005

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

In the Linux kernel, the following vulnerability has been resolved: wifi: rt2x00: avoid full teardown before work setup in probe rt2x00lib_probe_dev() uses the full rt2x00lib_remove_dev() teardown for all probe failures. However, drv_data allocation and workqueue allocation can fail before intf_work, autowakeup_work and sleep_work have been initialized. Do not enter the full remove path until the probe has reached the point where those work items are set up. Return directly for drv_data allocation failure, and use a small early cleanup path for workqueue allocation failure. This issue was found by our static analysis tool and then confirmed by manual review of rt2x00lib_probe_dev() and rt2x00lib_remove_dev(). The early probe exits should not call a common teardown path that assumes the later work setup has already completed. A QEMU PoC forced alloc_ordered_workqueue() to fail before the work initializers are reached. The resulting fail path entered rt2x00lib_remove_dev(), and DEBUG_OBJECTS reported invalid work drains with rt2x00lib_probe_dev() and rt2x00lib_remove_dev() in the stack.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 2.6.39 < 5.10.261 –
linux linux kernel >= 2.6.39 < 5.15.212 –
linux linux kernel >= 2.6.39 < 6.1.178 –
linux linux kernel >= 2.6.39 < 6.6.145 –
linux linux kernel >= 2.6.39 < 6.12.97 –
linux linux kernel >= 2.6.39 < 6.18.40 –
linux linux kernel >= 2.6.39 < 7.1.5 –
linux linux kernel >= 2.6.39 < 7.2 –
Tutte le 23.461 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-404 Chiusura o rilascio improprio di una risorsa

Il prodotto non rilascia, o rilascia in modo errato, una risorsa prima che venga resa disponibile per un nuovo uso.

Impatto sui sistemi

AmbitoImpatto
Disponibilità, Altro Interruzione del servizio: esaurimento di risorse, Dipende dal contesto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Requisiti · Scelta del linguaggio Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.
Sviluppo It is good practice to be responsible for freeing all resources you allocate and to be consistent with how and where you free memory in a function. If you allocate memory that you intend to free upon completion of the function, you must be sure to free the memory at all exit points for that function including error conditions.
Sviluppo Memory should be allocated/freed using matching functions such as malloc/free, new/delete, and new[]/delete[].
Sviluppo When releasing a complex object or structure, ensure that you properly dispose of all of its member components, not just the object itself.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 733 CVE di tipo CWE-404, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org