panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 315 Starting stack trace... panic(ffffffff82792719) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff828136a2,ffffffff8285e082,13b,ffffffff82824f3e) at __assert+0x29 sys/kern/subr_prf.c:157 tun_clone_destroy(ffff800000d78000) at tun_clone_destroy+0x278 sys/net/if_tun.c:315 if_clone_destroy(ffff80002cdccf30) at if_clone_destroy+0x132 sys/net/if.c:1318 ifioctl(fffffd806d73c9a0,80206979,ffff80002cdccf30,ffff8000212d10b0) at ifioctl+0x3ca sys_ioctl(ffff8000212d10b0,ffff80002cdcd040,ffff80002cdcd090) at sys_ioctl+0x4a2 syscall(ffff80002cdcd110) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002cdcd110) at syscall+0x606 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb7b21552190, count: 249 End of stack trace. syncing disks...23 11 done dump to dev 4,1 not possible rpeabnoiotc:in gk.e..r nel diagnostSeaBIOS (version 1.8.2-google) Total RAM Size = 0x0000000080000000 = 2048 MiB CPUs found: 2 Max CPUs supported: 2 SeaBIOS (version 1.8.2-google) Machine UUID 70cc8852-3e3d-1621-491f-9b3abbe0e2d7 found virtio-scsi at 0:3 virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0 virtio-scsi blksize=512 sectors=4194304 = 2048 MiB drive 0x000f2850: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304 Sending Seabios boot VM event. Booting from Hard Disk 0... >> OpenBSD/amd64 BOOT 3.56 boot> set $lines = 0 set: syntax error boot> set $maxwidth = 0 set: syntax error boot> show panic boot: illegal argument panic boot> trace boot> show registers boot> show proc boot> ps boot> show all locks boot> show malloc boot> show all pools boot> machine ddbcpu 0 machine: syntax error boot> trace boot> machine ddbcpu 1 machine: syntax error boot> trace