From: Vlad Tsyrklevich
Date: Tue, 11 Oct 2016 15:02:47 +0200
> The reserved field precise_offset->rsv is not cleared before being
> copied to user space, leaking kernel stack memory. Clear the struct
> before it's copied.
>
> Signed-off-by: Vlad Tsyrklevich
Applied and queued up for -stable, t
On Tue, Oct 11, 2016 at 03:02:47PM +0200, Vlad Tsyrklevich wrote:
> The reserved field precise_offset->rsv is not cleared before being
> copied to user space, leaking kernel stack memory. Clear the struct
> before it's copied.
Acked-by: Richard Cochran
The reserved field precise_offset->rsv is not cleared before being
copied to user space, leaking kernel stack memory. Clear the struct
before it's copied.
Signed-off-by: Vlad Tsyrklevich
---
drivers/ptp/ptp_chardev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ptp/ptp_chardev.c