aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorVlad Tsyrklevich <vlad@tsyrklevich.net>2016-10-11 15:02:47 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-13 10:20:06 -0400
commit02a9079c66341836c4914c33c06a73245060df2e (patch)
tree55954839f7713011d9681f7626cfb5471d0a1d15 /net
parentnet/mlx5: Add MLX5_ARRAY_SET64 to fix BUILD_BUG_ON (diff)
downloadlinux-dev-02a9079c66341836c4914c33c06a73245060df2e.tar.xz
linux-dev-02a9079c66341836c4914c33c06a73245060df2e.zip
drivers/ptp: Fix kernel memory disclosure
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 <vlad@tsyrklevich.net> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions