I've got an interesting crash scenario I don't fully understand. My otherwise fine and dandy working KMDF bus driver decides to crash (
KMODE_EXCEPTION_NOT_HANDLED (1e)) when run on a machine with HVCI (reproducible with Code integrity checks on in Driver Verifier) right here:
status = WdfRequestForwardToIoQueue(Request, xusb->HoldingUsbInRequests); return (NT_SUCCESS(status)) ? STATUS_PENDING : status;
!wdfkd.wdflogdump gave me:
57: FxIoQueue::Vf_VerifyForwardRequest - Cannot forward a request to a different WDFDEVICE 0x00007CF5A1B7A308
which is what I'm struggling with. The Request and Queue objects are handled by the same WDFDEVICE and I got no complaints with verifier off.
Thanks in advance. I ofc. can provide any other detail from the crash dump necessary but I didn't want to clutter the first post too much.