To replicate the kernel crash:
install the wireguard package
create a wireguard interface, assign a private key listen port and IP address
create a peer, assign a public key, allowed IPs, a pre-shared key, endpoint host and port, set route allowed IP, set a persistent keepalive
Then enable the interface. The kernel crash is immediate.