[Linux-stable-mirror] [PATCH 4.14 006/156] gpio: Fix kernel stack leak to userspace