Skip to content
Commit 30f939fe authored by Vlad Tsyrklevich's avatar Vlad Tsyrklevich Committed by Wolfram Sang
Browse files

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: default avatarVlad Tsyrklevich <vlad@tsyrklevich.net>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
parent a121103c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment