Descrizione
In the Linux kernel, the following vulnerability has been resolved:
net/smc: Do not re-initialize smc hashtables
INIT_HLIST_HEAD(&smc_v*_hashinfo.ht) are called after smc_nl_init(),
proto_register() and sock_register(). This can lead to smc_v*_hashinfo.ht
being reset even though hash entries already exist and are being used,
possibly resulting in a corrupted list.
Remove unnecessary and dangerous re-initialisation of smc_v*_hashinfo.ht in
smc_init(); it is implicitly initialised to zero anyhow. Add
HLIST_HEAD_INIT to the definitions for clarity.
Tipo di vulnerabilità
CWE-667
Gestione impropria dei lock
Il prodotto non acquisisce o non rilascia correttamente il blocco (lock) su una risorsa, causando stati e comportamenti imprevisti.
Impatto sui sistemi
| Ambito | Impatto |
| Disponibilità |
Interruzione del servizio: esaurimento della CPU |
| Integrità |
Modificare la memoria, Modificare i dati dell’applicazione |
| Altro |
Dipende dal contesto, Stato imprevisto |
Come si previene
Sviluppo · Librerie o framework
Use industry standard APIs to implement locking mechanism.
Tutte le 738 CVE di tipo CWE-667, con andamento e prevenzione