Re: [PATCH] video: fbdev: aty: do not leak uninitialized padding in clk to userspace

From: Bartlomiej Zolnierkiewicz
Date: Mon Sep 04 2017 - 09:32:45 EST


On Tuesday, August 29, 2017 03:50:04 PM Vladis Dronov wrote:
> 'clk' is copied to a userland with padding byte(s) after 'vclk_post_div'
> field unitialized, leaking data from the stack. Fix this ensuring all of
> 'clk' is initialized to zero.
>
> References: https://github.com/torvalds/linux/pull/441
> Reported-by: sohu0106 <sohu0106@xxxxxxx>
> Signed-off-by: Vladis Dronov <vdronov@xxxxxxxxxx>

Patch queued for 4.14, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics