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(ffffffff830d8558) at panic+0x1d0 sys/kern/subr_prf.c:229 __assert(ffffffff83091e2e,ffffffff8306e634,13b,ffffffff830770b1) at __assert+0x29 tun_clone_destroy(ffff8000011bb000) at tun_clone_destroy+0x38a sys/net/if_tun.c:315 if_clone_destroy(ffff8000311830c0) at if_clone_destroy+0x1d7 sys/net/if.c:1384 ifioctl(ffff800001361240,80206979,ffff8000311830c0,ffff800030384078) at ifioctl+0x5c5 sys_ioctl(ffff800030384078,ffff8000311832a0,ffff8000311831f0) at sys_ioctl+0x67c syscall(ffff8000311832a0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000311832a0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb2945616720, count: 249 End of stack trace.