In case anyone else is interested apparently it was a NULL pointer to 0x9c (should have done “checking full null”). Because it is a privileged system driver then Windows tried to protect itself by going to blue screen of death.
The conspiracy theory is that it was a deliberate plot to force mission critical code from C++ to Rust….