panic: kernel diagnostic assertion "nlevel >= IPL_NONE" failed: file "/syzkaller/managers/multicore/kernel/sys/arch/amd64/amd64/intr.c", line 699 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 288448 8665 0 0x2000002 0 0 syz-fuzzer db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827a0ed8) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281e021,ffffffff827a6f33,2bb,ffffffff8279ec7d) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(be83367a) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd8064dca0e0) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd8064dca0e0) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff80002124aff8,fffffd8064dca0e0,fffffd8064dca168,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002124aff8,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002124aff8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002124aff8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002124aff8,ffff800022ce57a0,ffff800022ce57f0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800022ce5870) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800022ce5870) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x738168e94a40, count: 2 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: kernel diagnostic assertion "nlevel >= IPL_NONE" failed: file "/syzkaller/managers/multicore/kernel/sys/arch/amd64/amd64/intr.c", line 699 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827a0ed8) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281e021,ffffffff827a6f33,2bb,ffffffff8279ec7d) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(be83367a) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd8064dca0e0) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd8064dca0e0) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff80002124aff8,fffffd8064dca0e0,fffffd8064dca168,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002124aff8,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002124aff8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002124aff8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002124aff8,ffff800022ce57a0,ffff800022ce57f0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800022ce5870) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800022ce5870) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x738168e94a40, count: -13 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800022ce53e0 rbx 0xffff800020d59b9f rdx 0 rcx 0xffff80002124aff8 rax 0xffff800020d58ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x107a557e38455f4a r11 0x2a6f51742e43d10 r12 0xffff800020d599a0 r13 0 r14 0 r15 0x1 rip 0xffffffff8121428c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff800022ce53d0 ss 0 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.5) pid=219130 stat=onproc flags process=1008 proc=2000 pri=0, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff80002124bd40,0xffff800021225d48 process=0xffff8000ffff4878 user=0xffff800022ce0000, vmspace=0xfffffd806993f588 estcpu=31, cpticks=2, pctcpu=0.5 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 35930 489152 76793 0 2 0 syz-executor.4 35930 38241 76793 0 3 0x4000080 kqpoll syz-executor.4 59058 375208 81957 0 2 0 syz-executor.6 59058 304159 81957 0 3 0x4000080 kqread syz-executor.6 97393 422564 78093 0 2 0 syz-executor.3 97393 180797 78093 0 3 0x4000080 fsleep syz-executor.3 53816 33548 66849 0 2 0 syz-executor.0 53816 253938 66849 0 3 0x4000080 kqpoll syz-executor.0 14400 183087 49363 0 3 0x80 nanoslp syz-executor.2 14400 282385 49363 0 3 0x4000080 kqread syz-executor.2 31298 53946 99055 0 3 0x80 nanoslp syz-executor.7 31298 265462 99055 0 3 0x4000080 kqread syz-executor.7 31298 155774 99055 0 3 0x4000080 fsleep syz-executor.7 99055 173042 8665 0 3 0x82 nanoslp syz-executor.7 81957 54520 8665 0 3 0x82 nanoslp syz-executor.6 78093 481210 8665 0 3 0x82 nanoslp syz-executor.3 14288 227917 8665 0 3 0x82 nanoslp syz-executor.5 76793 244655 8665 0 3 0x82 nanoslp syz-executor.4 49363 151234 8665 0 3 0x82 nanoslp syz-executor.2 69587 209829 8665 0 2 0x2 syz-executor.1 66849 398838 8665 0 3 0x82 nanoslp syz-executor.0 8665 288448 47210 0 7 0x2000002 syz-fuzzer 8665 412978 47210 0 3 0x6000082 nanoslp syz-fuzzer 8665 285990 47210 0 3 0x6000082 wait syz-fuzzer 8665 150132 47210 0 3 0x6000082 wait syz-fuzzer 8665 19712 47210 0 3 0x6000082 thrsleep syz-fuzzer 8665 72615 47210 0 3 0x6000082 wait syz-fuzzer 8665 415918 47210 0 3 0x6000082 wait syz-fuzzer 8665 399531 47210 0 3 0x6000082 thrsleep syz-fuzzer 8665 259881 47210 0 3 0x6000082 wait syz-fuzzer 8665 265378 47210 0 3 0x6000082 wait syz-fuzzer 8665 277886 47210 0 3 0x6000082 thrsleep syz-fuzzer 8665 117003 47210 0 3 0x6000082 wait syz-fuzzer 8665 35510 47210 0 3 0x6000082 thrsleep syz-fuzzer 8665 209135 47210 0 3 0x6000082 wait syz-fuzzer 8665 404130 47210 0 3 0x6000082 thrsleep syz-fuzzer 8665 371650 47210 0 3 0x6000082 thrsleep syz-fuzzer 47210 492819 29525 0 3 0x10008a sigsusp ksh 29525 296915 80732 0 3 0x9a kqread sshd 61272 519786 1 0 3 0x100083 ttyin getty 80732 74935 1 0 3 0x88 kqread sshd 94936 95325 69110 74 3 0x1100092 bpf pflogd 69110 462366 1 0 3 0x80 netio pflogd 13119 289913 5200 73 3 0x1100090 kqread syslogd 5200 434290 1 0 3 0x100082 netio syslogd 99540 8203 1 0 3 0x100080 kqread resolvd 65273 234983 16250 77 3 0x100092 kqread dhcpleased 23563 30292 16250 77 3 0x100092 kqread dhcpleased 16250 268577 1 0 3 0x80 kqread dhcpleased 85416 349682 0 0 3 0x14200 bored smr 29951 241383 0 0 2 0x14200 zerothread 43431 264860 0 0 3 0x14200 aiodoned aiodoned 23562 523217 0 0 3 0x14200 syncer update 80006 23838 0 0 3 0x14200 cleaner cleaner 23219 124887 0 0 2 0x14200 reaper 62756 378770 0 0 3 0x14200 pgdaemon pagedaemon 61013 1057 0 0 3 0x14200 bored viomb 16515 35092 0 0 3 0x40014200 acpi0 acpi0 5754 505805 0 0 3 0x40014200 idle1 69544 444651 0 0 3 0x14200 bored softnet3 95955 157466 0 0 3 0x14200 bored softnet2 7048 180019 0 0 3 0x14200 bored softnet1 10609 19247 0 0 3 0x14200 bored softnet0 7038 308958 0 0 3 0x14200 bored systqmp 93172 346952 0 0 3 0x14200 bored systq 29059 416710 0 0 3 0x40014200 bored softclock 14501 246512 0 0 3 0x40014200 idle0 1 340328 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &newfdp->fd_fd.fd_fplock r = 0 (0xfffffd806ee6da48) #0 witness_lock+0x447 #1 mtx_enter_try+0x104 #2 mtx_enter+0x4f sys/kern/kern_lock.c:266 #3 fd_getfile+0x4f sys/kern/kern_descrip.c:236 #4 sys_kevent+0x45 sys/kern/kern_event.c:987 #5 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] #5 syscall+0x606 sys/arch/amd64/amd64/trap.c:623 #6 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10193 6478K 6500K 78643K 12308 0 pcb 13 8K 8K 78643K 13 0 rtable 234 6K 6K 78643K 354 0 pf 32 9K 10K 78643K 43 0 ifaddr 45 15K 15K 78643K 47 0 ifgroup 55 2K 2K 78643K 55 0 counters 60 35K 35K 78643K 60 0 ioctlops 0 0K 4K 78643K 1485 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1314 82K 82K 78643K 1686 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 21K 78643K 122 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 93K 78643K 2925 0 proc 67 91K 140K 78643K 526 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 99 7K 7K 78643K 99 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 387 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 304 81K 82K 78643K 26755 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 12 0K 2K 78643K 28 0 temp 37 5906K 5970K 78643K 10552 0 kqueue 15 24K 30K 78643K 208 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 36 0 33 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 144 1438 0 1423 1 0 1 1 0 8 0 syncache 304 4 0 4 1 1 0 1 0 8 0 tcpqe 32 196 0 196 1 1 0 1 0 8 0 tcpcb 808 333 0 325 1 0 1 1 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 368 390 0 379 2 0 2 2 0 8 0 nd6 136 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 27 0 20 1 0 1 1 0 8 0 pfstkey 128 27 0 20 1 0 1 1 0 8 0 pfstate 376 27 0 20 3 1 2 3 0 8 1 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 453 0 0 29 0 29 29 0 8 0 art_table 32 454 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 5204 0 3757 91 0 91 91 0 8 0 ffsino 272 5204 0 3757 98 1 97 98 0 8 0 nchpl 144 9349 0 7660 63 0 63 63 0 8 0 uvmvnodes 80 5712 0 0 117 0 117 117 0 8 0 vnodes 216 5712 0 0 318 0 318 318 0 8 0 namei 1024 26477 0 26477 3 2 1 2 0 8 1 percpumem 16 43 0 0 1 0 1 1 0 8 0 kstatmem 264 24 0 0 2 0 2 2 0 8 0 scxspl 216 27029 0 27029 10 9 1 8 1 8 1 plimitpl 152 34 0 18 1 0 1 1 0 8 0 sigapl 424 3245 0 3198 8 2 6 7 0 8 0 futexpl 64 24469 0 24467 1 0 1 1 0 8 0 knotepl 120 104 0 0 4 0 4 4 0 8 0 kqueuepl 216 696 0 678 2 0 2 2 0 8 0 pipepl 320 141 0 113 3 0 3 3 0 8 0 fdescpl 496 3228 0 3198 5 1 4 5 0 8 0 filepl 152 10380 0 10127 11 1 10 11 0 8 0 lockfpl 104 20 0 18 1 0 1 1 0 8 0 lockfspl 48 11 0 9 1 0 1 1 0 8 0 sessionpl 144 24 0 7 1 0 1 1 0 8 0 pgrppl 48 24 0 7 1 0 1 1 0 8 0 ucredpl 104 71 0 59 1 0 1 1 0 8 0 zombiepl 144 3199 0 3198 1 0 1 1 0 8 0 processpl 1072 3245 0 3198 4 0 4 4 0 8 0 procpl 680 6152 0 6082 9 2 7 7 0 8 0 sockpl 488 1864 0 1835 5 1 4 5 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 18 0 0 3 0 3 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 284 0 0 36 0 36 36 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 301 0 0 19 0 19 19 0 8 0 bufpl 288 6973 0 649 452 0 452 452 0 8 0 anonpl 24 405715 0 398081 55 8 47 54 0 186 0 amapchunkpl 152 85172 0 84414 32 1 31 31 0 158 0 amappl16 200 8980 0 8829 9 0 9 9 0 8 0 amappl15 192 29 0 29 1 1 0 1 0 8 0 amappl14 184 163 0 148 2 1 1 2 0 8 0 amappl13 176 20 0 19 2 1 1 1 0 8 0 amappl12 168 3917 0 3884 4 2 2 3 0 8 0 amappl11 160 74 0 60 1 0 1 1 0 8 0 amappl10 152 36 0 25 1 0 1 1 0 8 0 amappl9 144 299 0 298 1 0 1 1 0 8 0 amappl8 136 195 0 143 2 0 2 2 0 8 0 amappl7 128 79 0 69 2 0 2 2 0 8 0 amappl6 120 261 0 240 2 0 2 2 0 8 0 amappl5 112 185 0 173 1 0 1 1 0 8 0 amappl4 104 596 0 554 2 0 2 2 0 8 0 amappl3 96 16979 0 16890 4 1 3 3 0 8 0 amappl2 88 3485 0 3414 3 1 2 3 0 8 0 amappl1 80 20292 0 19726 23 10 13 23 0 8 0 amappl 88 26228 0 26019 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 3228 0 3198 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3228 0 3198 1 0 1 1 0 8 0 vmmpekpl 168 20055 0 19992 3 0 3 3 0 8 0 vmmpepl 168 194560 0 192472 116 22 94 116 0 357 0 vmsppl 464 3227 0 3198 5 1 4 5 0 8 0 rwobjpl 56 54587 0 47520 101 1 100 100 0 8 0 pdppl 4096 6464 0 6396 118 48 70 84 0 8 2 pvpl 32 1041878 0 1028216 339 27 312 339 0 265 200 pmappl 248 3227 0 3198 3 1 2 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 870 0 55 24 0 24 24 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82c40ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82cad3f0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82cad3f0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x52 sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 msleep_nsec(fffffd806f6150d8,fffffd806f6150d8,318,ffffffff8281152a,8dac7b1) at msleep_nsec+0x12f kqueue_sleep(fffffd806f6150d8,ffff8000211e57d0) at kqueue_sleep+0x107 sys/kern/kern_event.c:1339 kqueue_scan(ffff8000211e55d0,8,ffff8000211e56d0,ffff8000211e57d0,ffff8000211ee560,ffff8000211e582c) at kqueue_scan+0x1bb sys/kern/kern_event.c:1394 sys_kevent(ffff8000211ee560,ffff8000211e5890,ffff8000211e58e0) at sys_kevent+0x4b4 sys/kern/kern_event.c:1062 syscall(ffff8000211e5960) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000211e5960) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ef7e1c08240, count: 3 ddb{0}> trace x86_ipi_db(ffffffff82c40ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82cad3f0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82cad3f0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x52 sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 msleep_nsec(fffffd806f6150d8,fffffd806f6150d8,318,ffffffff8281152a,8dac7b1) at msleep_nsec+0x12f kqueue_sleep(fffffd806f6150d8,ffff8000211e57d0) at kqueue_sleep+0x107 sys/kern/kern_event.c:1339 kqueue_scan(ffff8000211e55d0,8,ffff8000211e56d0,ffff8000211e57d0,ffff8000211ee560,ffff8000211e582c) at kqueue_scan+0x1bb sys/kern/kern_event.c:1394 sys_kevent(ffff8000211ee560,ffff8000211e5890,ffff8000211e58e0) at sys_kevent+0x4b4 sys/kern/kern_event.c:1062 syscall(ffff8000211e5960) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000211e5960) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ef7e1c08240, count: -12 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827a0ed8) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281e021,ffffffff827a6f33,2bb,ffffffff8279ec7d) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(be83367a) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd8064dca0e0) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd8064dca0e0) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff80002124aff8,fffffd8064dca0e0,fffffd8064dca168,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002124aff8,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002124aff8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002124aff8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002124aff8,ffff800022ce57a0,ffff800022ce57f0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800022ce5870) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800022ce5870) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x738168e94a40, count: 2 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827a0ed8) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281e021,ffffffff827a6f33,2bb,ffffffff8279ec7d) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(be83367a) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd8064dca0e0) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd8064dca0e0) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff80002124aff8,fffffd8064dca0e0,fffffd8064dca168,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002124aff8,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002124aff8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002124aff8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002124aff8,ffff800022ce57a0,ffff800022ce57f0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800022ce5870) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800022ce5870) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x738168e94a40, count: -13