panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 316 Starting stack trace... panic(ffffffff833865d4) at panic+0x1d0 sys/kern/subr_prf.c:229 __assert(ffffffff833c3165,ffffffff8340c822,13c,ffffffff833000a8) at __assert+0x29 sys/kern/subr_prf.c:-1 tun_clone_destroy(ffff80000147f000) at tun_clone_destroy+0x38a if_clone_destroy(ffff80002f7e7f80) at if_clone_destroy+0x1d5 sys/net/if.c:1415 ifioc tl(ffff8000017761f0,80206979,ffff80002f7e7f80,ffff8000fffee7e8) at ifioctl+0x59d sys/net/if.c:2092 sys_ioctl(ffff8000fffee7e8,ffff80002f7e8160,ffff80002f7e80b0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80002f7e8160) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002f7e8160) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2e6b17476d0, count: 249 End of stack trace.