Descrizione
In the Linux kernel, the following vulnerability has been resolved:
net: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error
During the initialization of ptp, hclge_ptp_get_cycle might return an error
and returned directly without unregister clock and free it. To avoid that,
call hclge_ptp_destroy_clock to unregist and free clock if
hclge_ptp_get_cycle failed.
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