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

CVE-2021-47159

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: dsa: fix a crash if ->get_sset_count() fails If ds->ops->get_sset_count() fails then it "count" is a negative error code such as -EOPNOTSUPP. Because "i" is an unsigned int, the negative error code is type promoted to a very high value and the loop will corrupt memory until the system crashes. Fix this by checking for error codes and changing the type of "i" to just int.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 4.7 < 4.19.193 –
linux linux kernel >= 4.20 < 5.4.124 –
linux linux kernel >= 5.5 < 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.085 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-835 Ciclo infinito (condizione di uscita irraggiungibile)

Il prodotto contiene un ciclo con una condizione di uscita che non può mai verificarsi, cioè un ciclo infinito.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: amplificazione

Tutte le 991 CVE di tipo CWE-835, con andamento e prevenzione

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