Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc1fa4a7 authored by Linus Walleij's avatar Linus Walleij Committed by Greg Kroah-Hartman
Browse files

gpio: Fix kernel stack leak to userspace



commit 24bd3efc9d1efb5f756a7c6f807a36ddb6adc671 upstream.

The GPIO event descriptor was leaking kernel stack to
userspace because we don't zero the variable before
use. Ooops. Fix this.

Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 241c04f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment