Descrizione
The tc_fill_tclass function in net/sched/sch_api.c in the tc subsystem in the Linux kernel 2.4.x before 2.4.37.6 and 2.6.x before 2.6.31-rc9 does not initialize certain (1) tcm__pad1 and (2) tcm__pad2 structure members, which might allow local users to obtain sensitive information from kernel memory via unspecified vectors.
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