[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1522758845.2961.3.camel@sipsolutions.net>
Date: Tue, 03 Apr 2018 14:34:05 +0200
From: Johannes Berg <johannes@...solutions.net>
To: syzbot <syzbot+230d9e642a85d3fec29c@...kaller.appspotmail.com>,
davem@...emloft.net, linux-kernel@...r.kernel.org,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: WARNING in add_uevent_var
On Sun, 2018-04-01 at 23:01 -0700, syzbot wrote:
> So far this crash happened 5 times on net-next, upstream.
> C reproducer: https://syzkaller.appspot.com/x/repro.c?id=6614377067184128
>
Huh, fun. Looks like you're basically creating a new HWSIM radio with an
insanely long name (4k!) and nothing stops you, until we try to generate
an rfkill instance which sends a uevent and only has a 2k buffer for the
environment variables, where we put the name ...
But yeah, we should probably limit the phy name to something sane, I'll
pick 128 and send a patch.
johannes
Powered by blists - more mailing lists