panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 315 Starting stack trace... panic(ffffffff830dbf1c) at panic+0x1d0 sys/kern/subr_prf.c:229 __assert(ffffffff8308e3c2,ffffffff83063222,13b,ffffffff8306c758) at __assert+0x29 tun_clone_destroy(ffff800001193000) at tun_clone_destroy+0x38a sys/net/if_tun.c:315 if_clone_destroy(ffff800036e66e50) at if_clone_destroy+0x1d7 sys/net/if.c:1384 ifioctl(ffff8000013022a8,80206979,ffff800036e66e50,ffff80002a03f970) at ifioctl+0x5c5 sys_ioctl(ffff80002a03f970,ffff800036e67030,ffff800036e66f80) at sys_ioctl+0x67c syscall(ffff800036e67030) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800036e67030) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc532359ec70, count: 249 End of stack trace.