In the Linux kernel, the following vulnerability has been resolved: serial: liteuart: Fix NULL pointer dereference in ->remove() drvdata has to be set in probe() - otherwise platformget_drvdata() causes null pointer dereference BUG in _remove().