panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/main/kernel/sys/net/if_tun.c", line 303 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *187751 2592 0 0 0x4000000 0 syz-executor.7 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8257f2ed) at panic+0x161 sys/kern/subr_prf.c:198 __assert(ffffffff825f2841,ffffffff82622134,12f,ffffffff8260391f) at __assert+0x25 sys/kern/subr_prf.c:157 tun_clone_destroy(ffff800000bd9800) at tun_clone_destroy+0x234 sys/net/if_tun.c:303 if_clone_destroy(ffff80002e933b30) at if_clone_destroy+0x132 sys/net/if.c:1276 sys_ioctl(ffff8000231f7268,ffff80002e933c48,ffff80002e933c90) at sys_ioctl+0x49e syscall(ffff80002e933d10) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x32a12d99f60, count: 7 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs.