Patch "gpiolib: don't dereference a desc before validation" has been added to the 4.15-stable tree