[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 05 May 2019 10:00:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mcroce@...hat.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
vladbu@...lanox.com
Subject: Re: [PATCH net] cls_cgroup: avoid panic when receiving a packet
before filter set
From: Matteo Croce <mcroce@...hat.com>
Date: Thu, 2 May 2019 17:13:18 +0200
> When a cgroup classifier is added, there is a small time interval in
> which tp->root is NULL. If we receive a packet in this small time slice
> a NULL pointer dereference will happen, leading to a kernel panic:
...
> Suggested-by: Cong Wang <xiyou.wangcong@...il.com>
> Fixes: ed76f5edccc9 ("net: sched: protect filter_chain list with filter_chain_lock mutex")
> Signed-off-by: Matteo Croce <mcroce@...hat.com>
Applied, thanks.
Powered by blists - more mailing lists