Re: [PATCH net] net/sched: act_pedit: fix dump of extended layered op

2018-08-29 Thread David Miller
From: Davide Caratti Date: Mon, 27 Aug 2018 22:56:22 +0200 > in the (rare) case of failure in nla_nest_start(), missing NULL checks in > tcf_pedit_key_ex_dump() can make the following command > > # tc action add action pedit ex munge ip ttl set 64 > > dereference a NULL pointer: ... > Like it

Re: [PATCH net] net/sched: act_pedit: fix dump of extended layered op

2018-08-28 Thread Cong Wang
On Mon, Aug 27, 2018 at 1:56 PM Davide Caratti wrote: > > in the (rare) case of failure in nla_nest_start(), missing NULL checks in > tcf_pedit_key_ex_dump() can make the following command > > # tc action add action pedit ex munge ip ttl set 64 > > dereference a NULL pointer: > > BUG: unable to

[PATCH net] net/sched: act_pedit: fix dump of extended layered op

2018-08-27 Thread Davide Caratti
in the (rare) case of failure in nla_nest_start(), missing NULL checks in tcf_pedit_key_ex_dump() can make the following command # tc action add action pedit ex munge ip ttl set 64 dereference a NULL pointer: BUG: unable to handle kernel NULL pointer dereference at PGD 80