1. Archivio CVE
  2. 2024
  3. CVE-2024-46674

CVE-2024-46674

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: usb: dwc3: st: fix probed platform device ref count on probe error path The probe function never performs any paltform device allocation, thus error path "undo_platform_dev_alloc" is entirely bogus. It drops the reference count from the platform device being probed. If error path is triggered, this will lead to unbalanced device reference counts and premature release of device resources, thus possible use-after-free when releasing remaining devm-managed resources.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 3.18 < 4.19.321 –
linux linux kernel >= 4.20 < 5.4.283 –
linux linux kernel >= 5.5 < 5.10.225 –
linux linux kernel >= 5.11 < 5.15.166 –
linux linux kernel >= 5.16 < 6.1.108 –
linux linux kernel >= 6.2 < 6.6.49 –
linux linux kernel >= 6.7 < 6.10.8 –
linux linux kernel 6.11 rc1 –
linux linux kernel 6.11 rc2 –
linux linux kernel 6.11 rc3 –
linux linux kernel 6.11 rc4 –
linux linux kernel 6.11 rc5 –
Tutte le 24.085 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-416 Uso di memoria dopo la liberazione (use after free)

Il prodotto usa o fa riferimento a un’area di memoria dopo averla liberata. Nel frattempo quell’area può essere stata assegnata ad altro: ogni operazione fatta con il vecchio puntatore agisce su dati che non le appartengono più.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria
Disponibilità Interruzione del servizio: arresto o riavvio
Riservatezza Leggere la memoria
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Scelta del linguaggio Choose a language that provides automatic memory management.
Sviluppo · Riduzione della superficie di attacco When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

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

Tutte le 9.637 CVE di tipo CWE-416, con andamento e prevenzione

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