[PATCH for-4.9.y 02/14] kthread: Fix use-after-free if kthread fork fails