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

From: One Thousand Gnomes
Date: Mon Aug 22 2016 - 05:16:55 EST


On Mon, 22 Aug 2016 09:29:17 +0200
Daniel Vetter <daniel@xxxxxxxx> 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@xxxxxx>
>
> 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