Re: [PATCH] wireless: wext: terminate ifr name coming from userspace

2017-07-19 Thread David Miller
From: "Levin, Alexander (Sasha Levin)" Date: Tue, 18 Jul 2017 04:23:16 + > 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 >

Re: [PATCH] wireless: wext: terminate ifr name coming from userspace

2017-07-19 Thread David Miller
From: "Levin, Alexander (Sasha Levin)" Date: Tue, 18 Jul 2017 04:23:16 + > 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. > >

[PATCH] wireless: wext: terminate ifr name coming from userspace

2017-07-17 Thread Levin, Alexander (Sasha Levin)
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 --- net/core/dev_ioctl.c | 2 ++

[PATCH] wireless: wext: terminate ifr name coming from userspace

2017-07-17 Thread Levin, Alexander (Sasha Levin)
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 --- net/core/dev_ioctl.c | 2 ++ 2 files changed, 3