[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1521152472.2666.8.camel@redhat.com>
Date: Thu, 15 Mar 2018 23:21:12 +0100
From: Davide Caratti <dcaratti@...hat.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: Cong Wang <xiyou.wangcong@...il.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Manish Kurup <kurup.manish@...il.com>,
Roman Mashak <mrv@...atatu.com>
Subject: Re: [PATCH net] net/sched: fix NULL dereference in the error path
of tcf_vlan_init()
On Thu, 2018-03-15 at 15:29 +0100, Davide Caratti wrote:
> On Thu, 2018-03-15 at 15:21 +0100, Jiri Pirko wrote:
> ...
>
> > Acked-by: Jiri Pirko <jiri@...lanox.com>
>
> thank you for reviewing!
>
> apparently, also act_tunnel_key seem and act_csum have a similar problem.
> I will check and eventually do a followup series this afternoon.
>
> thank you,
> regards
hello David,
please drop this patch: after some tests, the following TC actions are
affected by the same problem:
act_vlan
act_csum
act_tunnel_key
act_skbmod
act_sample
so, I'm posting right now a series that fixes all of them.
In act_ife and act_bpf, the problem is potentially there, but we don't see
it crashing yet because we don't call tcf_idr_release() on the error
path.
This is causing the leak of 'index', and will be fixed in another series
tomorrow.
thank you in advance,
regards
--
davide
Powered by blists - more mailing lists