panic: kernel diagnostic assertion "nlevel >= IPL_NONE" failed: file "/syzkaller/managers/main/kernel/sys/arch/amd64/amd64/intr.c", line 775 Starting stack trace... panic(ffffffff830beb37) at panic+0x1ba sys/kern/subr_prf.c:229 __assert(ffffffff83074e69,ffffffff8306ec1b,307,ffffffff83029964) at __assert+0x29 splraise(dead4110) at splraise+0xad sys/arch/amd64/amd64/intr.c:775 mtx_enter(ffff8000013c6a08) at mtx_enter+0x9e sys/kern/kern_lock.c:308 klist_mutex_lock(ffff8000013c6a08) at klist_mutex_lock+0x32 sys/kern/kern_event.c:2352 klist_invalidate(ffff8000013c6aa8) at klist_invalidate+0xe6 klist_lock sys/kern/kern_event.c:2317 [inline] klist_invalidate(ffff8000013c6aa8) at klist_invalidate+0xe6 sys/kern/kern_event.c:2283 bpfsdetach(ffff8000014c7080) at bpfsdetach+0xff sys/net/bpf.c:1800 bpfdetach(ffff800001237800) at bpfdetach+0x76 if_detach(ffff800001237800) at if_detach+0x14f sys/net/if.c:1193 tun_clone_destroy(ffff800001237800) at tun_clone_destroy+0x2aa sys/net/if_tun.c:338 if_clone_destroy(ffff80002a55d0f0) at if_clone_destroy+0x1d7 sys/net/if.c:1382 sys_ioctl(ffff80002a5127d0,ffff80002a55d2d0,ffff80002a55d220) at sys_ioctl+0x678 syscall(ffff80002a55d2d0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdd61574a350, count: 243 End of stack trace. syncing disks...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