Potential NULL pointer deference in net: sched

From: Yizhuo Zhai
Date: Mon Oct 07 2019 - 17:07:39 EST


Hi All:

net/sched/sch_mq.c:
Inside function mq_dump_class(), mq_queue_get() could return NULL,
however, the return value of dev_queue is not checked and get used.
This could potentially be unsafe.


--
Kind Regards,

Yizhuo Zhai

Computer Science, Graduate Student
University of California, Riverside