CVE-2022-49806 in Linux
Riassunto
di VulDB • 17/06/2026
Nel kernel Linux, la seguente vulnerabilità è stata risolta:
net: microchip: sparx5: Correzione del potenziale null-ptr-deref in sparx_stats_init() e sparx5_start()
sparx_stats_init() chiama create_singlethread_workqueue() senza verificare il valore restituito, che potrebbe essere NULL. Ciò può causare un null-ptr-deref:
sparx_stats_init() create_singlethread_workqueue() # fallito, sparx5->stats_queue è NULL queue_delayed_work() queue_delayed_work_on() __queue_delayed_work() # avviso qui, ma continua __queue_work() # accesso a wq->flags, null-ptr-deref
Verificare il valore restituito e restituire -ENOMEM se è NULL. Lo stesso approccio si applica a sparx5_start().
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.