commit | d13829686bba3e06e2217f044beb8fd5a9abf792 | [log] [tgz] |
---|---|---|
author | Kangjie Lu <kangjielu@gmail.com> | Tue May 03 21:36:11 2016 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 03 22:57:14 2016 -0700 |
tree | 60446786b7e0d74e1c175623319c0e507ba41dfd | |
parent | 5c69585837686e127762bd20658b18c14dfaf57c [diff] |
staging: wilc1000: fix infoleak in wilc_wfi_cfgoperations "mac" is an array allocated in stack without being initialized, and will be sent out via "nla_put". The dump_station() is supposed to initialize the mac address; otherwise, sensitive data in kernel stack will be leaked. To fix this, copy the mac address to it. Signed-off-by: Kangjie Lu <kjlu@gatech.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>