In the Linux kernel, the following vulnerability has been resolved:
gpiolib: Fix crash on error in gpiochipgetngpios()
The gpiochipgetngpios() uses chip*() macros to print messages. However these macros rely on gpiodev to be initialised and set, which is not the case when called via bgpioinit(). In such a case the printing messages will crash on NULL pointer dereference. Replace chip*() macros by the respective dev*() ones to avoid such crash.