1. Archivio CVE
  2. 2021
  3. CVE-2021-47143

CVE-2021-47143

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

Descrizione

In the Linux kernel, the following vulnerability has been resolved: net/smc: remove device from smcd_dev_list after failed device_add() If the device_add() for a smcd_dev fails, there's no cleanup step that rolls back the earlier list_add(). The device subsequently gets freed, and we end up with a corrupted list. Add some error handling that removes the device from the list.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 4.19 < 5.10.42 –
linux linux kernel >= 5.11 < 5.12.9 –
linux linux kernel 5.13 rc1 –
linux linux kernel 5.13 rc2 –
linux linux kernel 5.13 rc3 –
Tutte le 24.148 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-459 Incomplete Cleanup

The product does not properly clean up and remove temporary or supporting resources after they have been used.

Impatto sui sistemi

AmbitoImpatto
Altro, Riservatezza, Integrità Altro, Leggere i dati dell’applicazione, Modificare i dati dell’applicazione, Interruzione del servizio: esaurimento di risorse

Come si previene

Architettura e progettazione · Sviluppo Temporary files and other supporting resources should be deleted/released immediately after they are no longer needed.

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

Tutte le 257 CVE di tipo CWE-459, con andamento e prevenzione

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