Re: [PATCH] drivers/ptp: Fix kernel memory disclosure

2016-10-13 Thread David Miller
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

Re: [PATCH] drivers/ptp: Fix kernel memory disclosure

2016-10-12 Thread Richard Cochran
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