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(ffffffff8346a5e3) at panic+0x1d0 sys/kern/subr_prf.c:229 __assert(ffffffff8341879b,ffffffff833ee65d,13c,ffffffff833f8580) at __assert+0x29 sys/kern/subr_prf.c:-1 tun_clone_destroy(ffff8000014a5800) at tun_clone_destroy+0x38a sys/net/if_tun.c:316 if_clone_destroy(ffff80003c465b10) at if_clone_destroy+0x1d7 sys/net/if.c:1390 ifioctl(ffff8000016c0890,80206979,ffff80003c465b10,ffff80002a2974a0) at ifioctl+0x5c5 sys/net/if.c:-1 sys_ioctl(ffff80002a2974a0,ffff80003c465cf0,ffff80003c465c40) at sys_ioctl+0x5c3 sys/kern/sys_generic.c:-1 syscall(ffff80003c465cf0) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c465cf0) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x700c9ee79d30, count: 249 End of stack trace.