panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 322 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *168875 2995 0 0x2 0 0K ifconfig db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83456980) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff83401ca1,ffffffff833d3e76,142,ffffffff833ddee0) at __assert+0x29 sys/kern/subr_prf.c:-1 tun_clone_destroy(ffff800001483000) at tun_clone_destroy+0x38a sys/net/if_tun.c:322 if_clone_destroy(ffff80003c463a60) at if_clone_destroy+0x1d7 sys/net/if.c:1389 ifioctl(ffff800001688b80,80206979,ffff80003c463a60,ffff80002a2ba540) at ifioctl+0x5c5 sys/net/if.c:-1 sys_ioctl(ffff80002a2ba540,ffff80003c463c40,ffff80003c463b90) at sys_ioctl+0x5c3 sys/kern/sys_generic.c:-1 syscall(ffff80003c463c40) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c463c40) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a472e2a1840, count: 6 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs.