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(ffffffff830d817f) at panic+0x1d0 sys/kern/subr_prf.c:229 __assert(ffffffff8308c312,ffffffff8306999e,13b,ffffffff83072101) at __assert+0x29 tun_clone_destroy(ffff800001143800) at tun_clone_destroy+0x38a sys/net/if_tun.c:315 if_clone_destroy(ffff80002a500fa0) at if_clone_destroy+0x1d7 sys/net/if.c:1384 ifioctl(ffff80000127cd28,80206979,ffff80002a500fa0,ffff8000371e 4060) at ifioctl+0x5c5 sys_ioctl(ffff8000371e4060,ffff80002a501180,ffff80002a5010d0) at sys_ioctl+0x67c syscall(ffff80002a501180) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a501180) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1e3b344e260, count: 249 End of stack trace. set $lines = 0 set $maxwidth = 0 show panic trace show registers show proc ps show all locks show malloc show all pools machine ddbcpu 0 trace machine ddbcpu 1 trace