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


Groups > linux.kernel > #1467492

Re: [PATCH] drm/gma500: dont expose bytes from kernel stack

From One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH] drm/gma500: dont expose bytes from kernel stack
Date 2016-08-22 11:20 +0200
Message-ID <s8TyF-4oi-7@gated-at.bofh.it> (permalink)
References <s8FYJ-3WX-5@gated-at.bofh.it> <s8RZU-3kt-23@gated-at.bofh.it>
Organization Intel Corporation

Show all headers | View raw


On Mon, 22 Aug 2016 09:29:17 +0200
Daniel Vetter <daniel@ffwll.ch> wrote:

> On Sun, Aug 21, 2016 at 08:39:38PM +0200, Heinrich Schuchardt wrote:
> > Components m1, m2, p2, dot, vco of variable clock should be
> > initialized to avoid bytes from the kernel stack to be
> > exposed.
> > 
> > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>  
> 
> Might be a silly question, but where exactly would we expose these bytes?
> This isn't directly called by an ioctl, I have no idea how those bytes
> might get to userspace ...

mrst_print_pll displays clock.p2 - which is indeed never cleared 8)

Alan

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] drm/gma500: dont expose bytes from kernel stack Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-08-21 20:50 +0200
  Re: [PATCH] drm/gma500: dont expose bytes from kernel stack Joe Perches <joe@perches.com> - 2016-08-21 20:50 +0200
    Re: [PATCH] drm/gma500: dont expose bytes from kernel stack Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-08-21 21:40 +0200
      Re: [PATCH] drm/gma500: dont expose bytes from kernel stack Joe Perches <joe@perches.com> - 2016-08-21 21:40 +0200
  Re: [PATCH] drm/gma500: dont expose bytes from kernel stack Daniel Vetter <daniel@ffwll.ch> - 2016-08-22 09:40 +0200
    Re: [PATCH] drm/gma500: dont expose bytes from kernel stack One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-08-22 11:20 +0200
  Re: [PATCH] drm/gma500: dont expose bytes from kernel stack Jani Nikula <jani.nikula@linux.intel.com> - 2016-08-22 10:40 +0200

csiph-web