commit | 24bd3efc9d1efb5f756a7c6f807a36ddb6adc671 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon Jan 22 13:19:28 2018 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Jan 23 14:43:45 2018 +0100 |
tree | 80b9be8d100ed71c1754150950e4c61033cb59de | |
parent | 2046362cf11d3dcb0c6904f7f3209c568d7858b3 [diff] |
gpio: Fix kernel stack leak to userspace The GPIO event descriptor was leaking kernel stack to userspace because we don't zero the variable before use. Ooops. Fix this. Cc: stable@vger.kernel.org Reported-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Bartosz Golaszewski <brgl@bgdev.pl> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>