panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 303 Starting stack trace... panic(ffffffff8260ae6a) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff82684314,ffffffff826c96da,12f,ffffffff826937c9) at __assert+0x25 sys/kern/subr_prf.c:157 tun_clone_destroy(ffff800000bfd000) at tun_clone_destroy+0x278 sys/net/if_tun.c:303 if_clone_destroy(ffff80002477a270) at if_clone_destroy+0x132 sys/net/if.c:1267 ifioctl(fffffd807d5bbb88,80206979,ffff80002477a270,ffff8000fffe7a40) at ifioctl+0x3b4 sys/net/if.c:1944 sys_ioctl(ffff8000fffe7a40,ffff80002477a388,ffff80002477a3d0) at sys_ioctl+0x4a2 syscall(ffff80002477a450) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002477a450) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8a051db7430, count: 249 End of stack trace. syncing disks...26 12 done dump to dev 4,1 not possible repanicb:oo tikernngel di..ag.n ostic assertiSeaBIOS (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 bbcbd082-acfd-33d1-ec83-4c20355829bb 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 0x000f2480: 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.55 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