Descrizione
In the Linux kernel, the following vulnerability has been resolved:
sch_hfsc: make hfsc_qlen_notify() idempotent
hfsc_qlen_notify() is not idempotent either and not friendly
to its callers, like fq_codel_dequeue(). Let's make it idempotent
to ease qdisc_tree_reduce_backlog() callers' life:
1. update_vf() decreases cl->cl_nactive, so we can check whether it is
non-zero before calling it.
2. eltree_remove() always removes RB node cl->el_node, but we can use
RB_EMPTY_NODE() + RB_CLEAR_NODE() to make it safe.
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
| Ambito | Impatto |
| 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.
Tutte le 256 CVE di tipo CWE-459, con andamento e prevenzione