Null pointer dereference in pti_exit()

From: Stanislaw Gruszka
Date: Mon Mar 26 2012 - 10:31:25 EST


Hi

We have this bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=783561

Crash when someone load module and do not have actual pti device.
Then misc_deregister(&pti_char_driver) called from pti_exit() will be
done without misc_register(&pti_char_driver), which is called from
pti_pci_probe().

It is not super critical issue since if somebody who do not have
pti device have no reason to load modules, but I guess would be
good to fix this.

Thanks
Stanislaw
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/