Descrizione
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/sync: Cleanup partially initialized sync on parse failure
xe_sync_entry_parse() can allocate references (syncobj, fence, chain fence,
or user fence) before hitting a later failure path. Several of those paths
returned directly, leaving partially initialized state and leaking refs.
Route these error paths through a common free_sync label and call
xe_sync_entry_cleanup(sync) before returning the error.
(cherry picked from commit f939bdd9207a5d1fc55cced5459858480686ce22)
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 254 CVE di tipo CWE-459, con andamento e prevenzione