Descrizione
The ib_uverbs_poll_cq function in drivers/infiniband/core/uverbs_cmd.c in the Linux kernel before 2.6.37 does not initialize a certain response buffer, which allows local users to obtain potentially sensitive information from kernel memory via vectors that cause this buffer to be only partially filled, a different vulnerability than CVE-2010-4649.
Tipo di vulnerabilità
CWE-909
Missing Initialization of Resource
The product does not initialize a critical resource.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Dipende dal contesto |
| Riservatezza |
Leggere la memoria, Leggere i dati dell’applicazione |
| Disponibilità |
Interruzione del servizio: arresto o riavvio |
Come si previene
Sviluppo
Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all specified steps.
Sviluppo
Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
Sviluppo
Avoid race conditions (CWE-362) during initialization routines.
Build e compilazione
Run or compile your product with settings that generate warnings about uninitialized variables or data.
Tutte le 93 CVE di tipo CWE-909, con andamento e prevenzione