Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1692188 > unrolled thread

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

Started byDavid Miller <davem@davemloft.net>
First post2017-07-19 22:40 +0200
Last post2017-07-19 22:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] wireless: wext: terminate ifr name coming from  userspace David Miller <davem@davemloft.net> - 2017-07-19 22:40 +0200

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

FromDavid Miller <davem@davemloft.net>
Date2017-07-19 22:40 +0200
SubjectRe: [PATCH] wireless: wext: terminate ifr name coming from userspace
Message-ID<u53Vg-5jH-31@gated-at.bofh.it>
From: "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.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@verizon.com>

Applied and queued up for -stable.

dev_ifname() has the same bug, I'll post a patch for that.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web