panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 322 Starting stack trace... panic(ffffffff834447e0) at panic+0x1d0 sys/kern/subr_prf.c:229 __assert(ffffffff833ec74b,ffffffff833bd3b1,142,ffffffff833c74d9) at __assert+0x29 tun_clone_destroy(ffff800001478000) at tun_clone_destroy+0x38a sys/net/if_tun.c:322 if_clone_destroy(ffff80003c5024b0) at if_clone_destroy+0x1d7 sys/net/if.c:1389 ifioctl(ffff80000144faf0,80206979,ffff80003c5024b0,ffff80002a35f9c0) at ifioctl+0x5c5 sys_ioctl(ffff80002a35f9c0,ffff80003c502690,ffff80003c5025e0) at sys_ioctl+0x5c3 syscall(ffff80003c502690) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c502690) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7aac47c01d30, count: 249 End of stack trace.