In the Linux kernel, the following vulnerability has been resolved: usb: host: max3421-hcd: Fix error pointer dereference in probe cleanup The kthreadrun() function returns error pointers so the max3421hcd->spi_thread pointer can be either error pointers or NULL. Check for both before dereferencing it.