In the Linux kernel, the following vulnerability has been resolved: net: airoha: Move ndesc initialization at end of airoha_qdma_init_tx() If queue entry list allocation fails in airoha_qdma_init_tx_queue routine, airoha_qdma_cleanup_tx_queue() will trigger a NULL pointer dereference accessing the queue entry array. The issue is due to the early ndesc initialization in airoha_qdma_init_tx_queue(). Fix the issue moving ndesc initialization at end of airoha_qdma_init_tx routine.
https://git.kernel.org/stable/c/f329924bb49458c65297f1361f545816a5b90998
https://git.kernel.org/stable/c/ece31f9dae0c3cd3277e66667e7b8ab2577cf34a
https://git.kernel.org/stable/c/90619fdedfb9cc8a80f217d882ee7a84d3703e72