1. Archivio CVE
  2. 2025
  3. CVE-2025-37915

CVE-2025-37915

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

Descrizione

In the Linux kernel, the following vulnerability has been resolved: net_sched: drr: Fix double list add in class with netem as child qdisc As described in Gerrard's report [1], there are use cases where a netem child qdisc will make the parent qdisc's enqueue callback reentrant. In the case of drr, there won't be a UAF, but the code will add the same classifier to the list twice, which will cause memory corruption. In addition to checking for qlen being zero, this patch checks whether the class was already added to the active_list (cl_is_active) before adding to the list to cover for the reentrant case. [1] https://lore.kernel.org/netdev/CAHcdcOm+03OD2j6R0=YHKqmy=VgJ8xEOKuP6c7mSgnp-TEJJbw@mail.gmail.com/

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 5.0.1 < 5.4.294 –
linux linux kernel >= 5.5 < 5.10.238 –
linux linux kernel >= 5.11 < 5.15.182 –
linux linux kernel >= 5.16 < 6.1.138 –
linux linux kernel >= 6.2 < 6.6.90 –
linux linux kernel >= 6.7 < 6.12.28 –
linux linux kernel >= 6.13 < 6.14.6 –
linux linux kernel 5.0 –
linux linux kernel 5.0 rc3 –
linux linux kernel 5.0 rc4 –
linux linux kernel 5.0 rc5 –
linux linux kernel 5.0 rc6 –
linux linux kernel 5.0 rc7 –
linux linux kernel 5.0 rc8 –
linux linux kernel 6.15 rc1 –
linux linux kernel 6.15 rc2 –
linux linux kernel 6.15 rc3 –
linux linux kernel 6.15 rc4 –
Tutte le 24.148 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-415 Doppia liberazione della memoria (double free)

Il prodotto chiama due volte free() sullo stesso indirizzo di memoria.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità Modificare la memoria, Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione Choose a language that provides automatic memory management.
Sviluppo Ensure that each allocation is freed only once. After freeing a chunk, set the pointer to NULL to ensure the pointer cannot be freed again. In complicated error conditions, be sure that clean-up routines respect the state of allocation properly. If the language is object oriented, ensure that object destructors delete each chunk of memory only once.
Sviluppo Use a static analysis tool to find double free instances.

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

Tutte le 968 CVE di tipo CWE-415, con andamento e prevenzione

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