kernel - Attempt to fix NULL pointer dereference during console switch