[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170719.133350.2148731138543152927.davem@davemloft.net>
Date: Wed, 19 Jul 2017 13:33:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: alexander.levin@...izon.com
Cc: johannes.berg@...el.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] wireless: wext: terminate ifr name coming from
userspace
From: "Levin, Alexander (Sasha Levin)" <alexander.levin@...izon.com>
Date: Tue, 18 Jul 2017 04:23:16 +0000
> ifr name is assumed to be a valid string by the kernel, but nothing
> was forcing username to pass a valid string.
>
> In turn, this would cause panics as we tried to access the string
> past it's valid memory.
>
> Signed-off-by: Sasha Levin <alexander.levin@...izon.com>
Applied and queued up for -stable.
dev_ifname() has the same bug, I'll post a patch for that.
Powered by blists - more mailing lists