panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/main/kernel/sys/net/if_tun.c", line 315 Starting stack trace... panic(ffffffff830b4f8b) at panic+0x1ba sys/kern/subr_prf.c:229 __assert(ffffffff83069360,ffffffff830084e0,13b,ffffffff8304db98) at __assert+0x29 tun_clone_destroy(ffff800001276800) at tun_clone_destroy+0x33d sys/net/if_tun.c:315 if_clone_destroy(ffff80002f3994e0) at if_clone_destroy+0x1d7 sys/net/if.c:1384 sys_ioctl(ffff80002a4b4300,ffff80002f3996c0,ffff80002f399610) at sys_ioctl+0x678 syscall(ffff80002f3996c0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xee6bfeac8b0, count: 250 End of stack trace.