panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 305 Starting stack trace... panic(ffffffff825a0821) at panic+0x16b sys/kern/subr_prf.c:233 __assert(ffffffff82614165,ffffffff8265bee2,131,ffffffff826261c7) at __assert+0x25 sys/kern/subr_prf.c:161 tun_clone_destroy(ffff800000c0a000) at tun_clone_destroy+0x278 sys/net/if_tun.c:305 if_clone_destroy(ffff8000260b3c60) at if_clone_destroy+0x132 sys/net/if.c:1219 soo_ioctl(fffffd806cd19ef0,80206979,ffff8000260b3c60,ffff80002120b7a0) at soo_ioctl+0x26c sys_ioctl(ffff80002120b7a0,ffff8000260b3d78,ffff8000260b3dd0) at sys_ioctl+0x4a2 syscall(ffff8000260b3e40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000260b3e40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbcefa890200, count: 249 End of stack trace. syncing disks...20 4 1 done dump to dev 4,1 not possible rpeabnoiotc:in kge.r..ne l diagnostic SeaBIOS (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 10ee261f-e4fb-b939-235d-2a56a4c27911 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 0x000f2730: 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.53 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