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(ffffffff8338a177) at panic+0x1d0 sys/kern/subr_prf.c:229 __assert(ffffffff833c4fb4,ffffffff83414f85,13c,ffffffff83308c1a) at __assert+0x29 sys/kern/subr_prf.c:-1 tun_clone_destroy(ffff8000013f2000) at tun_clone_destroy+0x38a if_clone_destroy(ffff80002a39eca0) at if_clone_destroy+0x1d5 sys/net/if.c:1415 ifioctl(ffff800001873240,80206979,ffff80002a39eca0,ffff80003c41fcb0) at ifioctl+0x59d sys/net/if.c:2092 sys_ioctl(ffff80003c41fcb0,ffff80002a39ee80,ffff80002a39edd0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80002a39ee80) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a39ee80) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xff8fbe08b70, 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