[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b89785c3-d97d-3153-72ea-c0c22160d655@cumulusnetworks.com>
Date: Tue, 29 Aug 2017 22:46:40 +0300
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
To: netdev@...r.kernel.org
Cc: edumazet@...gle.com, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us, roopa@...ulusnetworks.com
Subject: Re: [PATCH net] sch_hhf: fix null pointer dereference on init failure
On 29/08/17 22:02, Nikolay Aleksandrov wrote:
> If sch_hhf fails in its ->init() function (either due to wrong
> user-space arguments as below or memory alloc failure of hh_flows) it
> will do a null pointer deref of q->hh_flows in its ->destroy() function.
>
> To reproduce the crash:
> $ tc qdisc add dev eth0 root hhf quantum 2000000 non_hh_weight 10000000
>
Uh, sorry about sending these out separately. I'll send the rest as a set for
easier review once I test them, should be just a couple more.
Powered by blists - more mailing lists