diff options
author | 2017-01-09 22:53:36 +0700 | |
---|---|---|
committer | 2017-01-12 20:06:10 +0100 | |
commit | 30f939feaeee23e21391cfc7b484f012eb189c3c (patch) | |
tree | 5eaf8a5243a0bc0dcd37f138774cbdd1d3ec41b3 /net/unix/af_unix.c | |
parent | Linux 4.10-rc3 (diff) | |
download | wireguard-linux-30f939feaeee23e21391cfc7b484f012eb189c3c.tar.xz wireguard-linux-30f939feaeee23e21391cfc7b484f012eb189c3c.zip |
i2c: fix kernel memory disclosure in dev interface
i2c_smbus_xfer() does not always fill an entire block, allowing
kernel stack memory disclosure through the temp variable. Clear
it before it's read to.
Signed-off-by: Vlad Tsyrklevich <vlad@tsyrklevich.net>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions