Descrizione
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7921s: fix potential hung tasks during chip recovery
During chip recovery (e.g. chip reset), there is a possible situation that
kernel worker reset_work is holding the lock and waiting for kernel thread
stat_worker to be parked, while stat_worker is waiting for the release of
the same lock.
It causes a deadlock resulting in the dumping of hung tasks messages and
possible rebooting of the device.
This patch prevents the execution of stat_worker during the chip recovery.
Tipo di vulnerabilità
CWE-667
Gestione impropria dei lock
Il prodotto non acquisisce o non rilascia correttamente il blocco (lock) su una risorsa, causando stati e comportamenti imprevisti.
Impatto sui sistemi
| Ambito | Impatto |
| Disponibilità |
Interruzione del servizio: esaurimento della CPU |
| Integrità |
Modificare la memoria, Modificare i dati dell’applicazione |
| Altro |
Dipende dal contesto, Stato imprevisto |
Come si previene
Sviluppo · Librerie o framework
Use industry standard APIs to implement locking mechanism.
Tutte le 738 CVE di tipo CWE-667, con andamento e prevenzione