Descrizione
In the Linux kernel, the following vulnerability has been resolved:
crypto: pcrypt - restore callback for non-parallel fallback
pcrypt installs pcrypt_aead_done() on the child AEAD request before
trying to submit it through padata. If padata_do_parallel() returns
-EBUSY, pcrypt falls back to calling the child AEAD directly.
That fallback must not keep the padata completion callback. Otherwise
an asynchronous completion runs pcrypt_aead_done() even though the
request was never enrolled in padata.
Restore the original request callback and callback data before calling
the child AEAD directly. This keeps the fallback path aligned with a
direct AEAD request while leaving the parallel path unchanged.
Tipo di vulnerabilità
CWE-662
Improper Synchronization
The product utilizes multiple threads, processes, components, or systems to allow temporary access to a shared resource that can only be exclusive to one process at a time, but it does not properly synchronize these actions, which might cause simultaneous accesses of this resource by multiple threads or processes.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità, Riservatezza, Altro |
Modificare i dati dell’applicazione, Modificare la memoria, Leggere i dati dell’applicazione, Alterare la logica di esecuzione |
| Disponibilità |
Interruzione del servizio: arresto o riavvio, Interruzione del servizio: instabilità |
Come si previene
Sviluppo
Use industry standard APIs to synchronize your code.
Tutte le 64 CVE di tipo CWE-662, con andamento e prevenzione