[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1446494052.23275.25.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Mon, 02 Nov 2015 11:54:12 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Dmitry Vyukov <dvyukov@...gle.com>,
David Miller <davem@...emloft.net>, nicolas.dichtel@...nd.com,
Al Viro <viro@...iv.linux.org.uk>, Thomas Graf <tgraf@...g.ch>,
xiyou.wangcong@...il.com, netdev@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, Patrick McHardy <kaber@...sh.net>,
syzkaller <syzkaller@...glegroups.com>,
Kostya Serebryany <kcc@...gle.com>,
Alexander Potapenko <glider@...gle.com>,
Eric Dumazet <edumazet@...gle.com>,
Kees Cook <keescook@...gle.com>,
Julien Tinnes <jln@...gle.com>,
Sasha Levin <sasha.levin@...cle.com>
Subject: Re: Resource leak in unshare
On Mon, 2015-11-02 at 13:01 -0600, Eric W. Biederman wrote:
> Dmitry Vyukov <dvyukov@...gle.com> writes:
>
> > Hello,
> >
> > I am hitting the following warnings on
> > bcee19f424a0d8c26ecf2607b73c690802658b29 (4.3):
>
> Do you have any trace of the earlier failures?
>
> This appears to be something caused by an earlier failure (possibly
> whatever fails to allocate memory). Having network devices present
> but being in the generic cleanup routines is wrong.
>
> If there is no additional information can you please rerun with the
> following change applied? That should at least report which function is
> failing, and give us a good clue where to start debugging this.
At first, I would say sit is leaking percpu memory
Load sit module, then :
while :
do
ip netns add foo
ip netns del foo
done
Will eat all memory eventually.
ipip6_tunnel_init() and ipip6_fb_tunnel_init() are _both_ called for the
sit0 device, this looks very wrong.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists