panic: kernel diagnostic assertion "nlevel >= IPL_NONE" failed: file "/syzkaller/managers/setuid/kernel/sys/arch/amd64/amd64/intr.c", line 699 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 318501 39407 32767 0x10 0 0 syz-executor.7 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8279cfd2) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281f915,ffffffff8283c480,2bb,ffffffff827a1cb3) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(f2b4d8bf) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd806f1a8360) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd806f1a8360) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff800021239a98,fffffd806f1a8360,fffffd806f1a83e8,5,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021239a98,5) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021239a98) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021239a98,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800021239a98,ffff80002e434ed0,ffff80002e434f20) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e434fa0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e434fa0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7acabffe0510, 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/setuid/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(ffffffff8279cfd2) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281f915,ffffffff8283c480,2bb,ffffffff827a1cb3) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(f2b4d8bf) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd806f1a8360) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd806f1a8360) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff800021239a98,fffffd806f1a8360,fffffd806f1a83e8,5,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021239a98,5) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021239a98) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021239a98,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800021239a98,ffff80002e434ed0,ffff80002e434f20) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e434fa0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e434fa0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7acabffe0510, count: -13 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e434b10 rbx 0xffff800020d59b9f rdx 0 rcx 0xffff800021239a98 rax 0xffff800020d58ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xa68e03ea47ce3add r11 0x903ede3a1edc7736 r12 0xffff800020d599a0 r13 0 r14 0 r15 0x1 rip 0xffffffff8138849c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002e434b00 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.3) pid=363512 stat=onproc flags process=1018 proc=2000 pri=0, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800021231d38,0xffffffff82c57d90 process=0xffff8000ffff6e28 user=0xffff80002e430000, vmspace=0xfffffd806cde0930 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 39407 318501 45418 32767 7 0x10 syz-executor.7 39407 342748 45418 32767 2 0x4000090 syz-executor.7 39407 75095 45418 32767 3 0x4000090 fsleep syz-executor.7 27385 182615 52422 32767 3 0x90 nanoslp syz-executor.2 27385 164353 52422 32767 3 0x4000090 netio syz-executor.2 52422 314208 57639 32767 3 0x90 nanoslp syz-executor.2 57639 237684 25816 0 3 0x82 wait syz-executor.2 58648 168563 0 0 3 0x14200 bored sosplice 45418 329319 2588 32767 3 0x90 nanoslp syz-executor.7 61684 321268 12459 32767 3 0x90 nanoslp syz-executor.6 88307 424760 40613 32767 3 0x90 piperd syz-executor.5 2588 148798 25816 0 3 0x82 wait syz-executor.7 68129 448647 76053 32767 3 0x90 nanoslp syz-executor.4 12459 369899 25816 0 3 0x82 wait syz-executor.6 40613 94231 25816 0 3 0x82 wait syz-executor.5 76053 19831 25816 0 3 0x82 wait syz-executor.4 10552 442879 39349 32767 3 0x90 nanoslp syz-executor.3 39349 515213 25816 0 3 0x82 wait syz-executor.3 74000 76286 19433 32767 3 0x10 biowait syz-executor.1 73466 264478 77232 32767 3 0x90 piperd syz-executor.0 19433 235584 25816 0 3 0x82 wait syz-executor.1 77232 172906 25816 0 3 0x82 wait syz-executor.0 25816 249887 46704 0 3 0x2000082 wait syz-fuzzer 25816 254314 46704 0 3 0x6000082 nanoslp syz-fuzzer 25816 50520 46704 0 3 0x6000082 wait syz-fuzzer 25816 252973 46704 0 3 0x6000082 thrsleep syz-fuzzer 25816 481429 46704 0 3 0x6000082 wait syz-fuzzer 25816 261311 46704 0 3 0x6000082 wait syz-fuzzer 25816 368140 46704 0 3 0x6000082 wait syz-fuzzer 25816 234701 46704 0 3 0x6000082 wait syz-fuzzer 25816 446574 46704 0 3 0x6000082 thrsleep syz-fuzzer 25816 426086 46704 0 3 0x6000082 wait syz-fuzzer 25816 246692 46704 0 3 0x6000082 thrsleep syz-fuzzer 25816 180934 46704 0 3 0x6000082 thrsleep syz-fuzzer 25816 431569 46704 0 3 0x6000082 thrsleep syz-fuzzer 25816 87534 46704 0 3 0x6000082 thrsleep syz-fuzzer 25816 97455 46704 0 3 0x6000082 kqread syz-fuzzer 25816 111287 46704 0 3 0x6000082 wait syz-fuzzer 46704 373530 34712 0 3 0x10008a sigsusp ksh 34712 330749 59198 0 3 0x9a kqread sshd 49424 437878 1 0 3 0x100083 ttyin getty 59198 485543 1 0 3 0x88 kqread sshd 27202 421304 10382 73 3 0x1100090 kqread syslogd 10382 161266 1 0 3 0x100082 netio syslogd 63677 258073 1 0 3 0x100080 kqread resolvd 48907 72451 41750 77 3 0x100092 kqread dhcpleased 54405 97355 41750 77 3 0x100092 kqread dhcpleased 41750 193027 1 0 3 0x80 kqread dhcpleased 30335 194736 0 0 3 0x14200 bored smr 59084 431440 0 0 2 0x14200 zerothread 52549 341406 0 0 3 0x14200 aiodoned aiodoned 67391 476725 0 0 3 0x14200 syncer update 36512 443358 0 0 3 0x14200 cleaner cleaner 26466 394783 0 0 2 0x14200 reaper 2889 293952 0 0 3 0x14200 pgdaemon pagedaemon 86253 162155 0 0 3 0x14200 bored viomb 27339 84158 0 0 3 0x40014200 acpi0 acpi0 16662 96644 0 0 3 0x40014200 idle1 24159 275898 0 0 3 0x14200 bored softnet3 99041 143021 0 0 3 0x14200 bored softnet2 36468 199138 0 0 3 0x14200 bored softnet1 9928 242586 0 0 3 0x14200 bored softnet0 96707 151477 0 0 3 0x14200 bored systqmp 98493 414884 0 0 3 0x14200 bored systq 57289 144925 0 0 3 0x40014200 bored softclock 896 168974 0 0 3 0x40014200 idle0 1 279912 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff82d4ae50) #0 witness_lock+0x447 #1 wakeup_n+0x37 sys/kern/kern_synch.c:541 #2 sched_idle+0x232 sys/kern/kern_sched.c:176 #3 proc_trampoline+0x1c Process 74000 (syz-executor.1) thread 0xffff8000211ef000 (76286) exclusive rrwlock inode r = 0 (0xfffffd806f005920) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x46 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1343 #6 ffs_inode_alloc+0x1c2 sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf8 sys/ufs/ufs/ufs_vnops.c:1149 #8 VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 #9 domkdirat+0x125 sys/kern/vfs_syscalls.c:3073 #10 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #10 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8075d9e708) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0xd5 sys/kern/vfs_lookup.c:418 #6 namei+0x55a sys/kern/vfs_lookup.c:250 #7 domkdirat+0x79 sys/kern/vfs_syscalls.c:3058 #8 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #8 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10186 6409K 6420K 78643K 11270 0 pcb 13 8K 8K 78643K 13 0 rtable 234 6K 6K 78643K 417 0 pf 29 8K 8K 78643K 33 0 ifaddr 44 15K 15K 78643K 54 0 ifgroup 50 2K 2K 78643K 58 0 sysctl 2 0K 0K 78643K 2 0 counters 60 35K 35K 78643K 64 0 ioctlops 0 0K 2K 78643K 31 0 iov 0 0K 16K 78643K 141 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1278 80K 80K 78643K 1423 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 16 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 21 77K 129K 78643K 1163 0 sigio 0 0K 0K 78643K 6 0 proc 56 78K 103K 78643K 602 0 subproc 104 6K 6K 78643K 130 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 800 0 in_multi 100 7K 7K 78643K 317 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 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 524 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 337 87K 95K 78643K 13481 0 UVM aobj 129 4K 5K 78643K 147 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 11 0K 2K 78643K 33 0 temp 74 5920K 5984K 78643K 6629 0 kqueue 12 18K 36K 78643K 271 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 88 0 85 2 1 1 2 0 8 0 rtentry 112 134 0 24 4 0 4 4 0 8 0 unpcb 144 754 0 739 6 0 6 6 0 8 5 syncache 304 27 0 27 3 2 1 1 0 8 1 tcpqe 32 158 0 158 2 2 0 1 0 8 0 tcpcb 808 523 0 504 18 9 9 9 0 8 7 arp 120 22 0 4 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 72 0 72 1 0 1 1 0 8 1 inpcb 368 1472 0 1448 20 11 9 11 0 8 6 nd6 136 31 0 7 1 0 1 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 546 0 93 29 0 29 29 0 8 0 art_table 32 547 0 93 4 0 4 4 0 8 0 art_node 16 133 0 33 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 0 1 0 1 1 0 8 0 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 144 0 18 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2766 0 1326 91 0 91 91 0 8 0 ffsino 272 2766 0 1326 97 0 97 97 0 8 0 nchpl 144 4377 0 2735 63 0 63 63 0 8 0 uvmvnodes 80 2905 0 0 60 0 60 60 0 8 0 vnodes 216 2905 0 0 162 0 162 162 0 8 0 namei 1024 14340 0 14339 2 1 1 2 0 8 0 percpumem 16 45 0 2 1 0 1 1 0 8 0 kstatmem 264 26 0 4 2 0 2 2 0 8 0 scxspl 216 13646 0 13645 14 10 4 8 1 8 3 plimitpl 152 298 0 275 2 1 1 2 0 8 0 sigapl 424 1458 0 1406 7 0 7 7 0 8 0 futexpl 64 10981 0 10980 1 0 1 1 0 8 0 knotepl 120 209 0 0 7 0 7 7 0 8 0 kqueuepl 216 434 0 426 5 0 5 5 0 8 4 pipepl 320 278 0 250 8 5 3 8 0 8 0 fdescpl 496 1440 0 1408 7 2 5 6 0 8 0 filepl 152 7875 0 7638 22 6 16 16 0 8 6 lockfpl 104 218 0 216 1 0 1 1 0 8 0 lockfspl 48 49 0 47 1 0 1 1 0 8 0 sessionpl 144 25 0 9 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 873 0 855 1 0 1 1 0 8 0 zombiepl 144 1409 0 1406 1 0 1 1 0 8 0 processpl 1072 1458 0 1406 5 1 4 5 0 8 0 procpl 680 3235 0 3164 10 2 8 8 0 8 1 sosppl 168 13 0 11 1 0 1 1 0 8 0 sockpl 488 2324 0 2282 37 22 15 22 0 8 9 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 10 0 0 2 0 2 2 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 12 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 331 0 0 42 0 42 42 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 335 0 0 21 0 21 21 0 8 0 bufpl 288 5478 0 146 381 0 381 381 0 8 0 anonpl 24 308341 0 297911 102 20 82 89 0 186 6 amapchunkpl 152 43566 0 42715 45 6 39 43 0 158 1 amappl16 200 8160 0 7909 34 9 25 26 0 8 6 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 161 0 149 2 1 1 2 0 8 0 amappl13 176 25 0 24 1 0 1 1 0 8 0 amappl12 168 2108 0 2069 3 0 3 3 0 8 0 amappl11 160 51 0 41 1 0 1 1 0 8 0 amappl10 152 33 0 23 1 0 1 1 0 8 0 amappl9 144 182 0 181 1 0 1 1 0 8 0 amappl8 136 230 0 165 3 0 3 3 0 8 0 amappl7 128 73 0 59 2 0 2 2 0 8 0 amappl6 120 242 0 225 1 0 1 1 0 8 0 amappl5 112 197 0 188 1 0 1 1 0 8 0 amappl4 104 566 0 533 2 0 2 2 0 8 0 amappl3 96 8791 0 8704 3 0 3 3 0 8 0 amappl2 88 1760 0 1688 3 1 2 3 0 8 0 amappl1 80 13574 0 13051 22 9 13 22 0 8 0 amappl 88 12911 0 12679 7 0 7 7 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 146 0 18 3 0 3 3 0 8 0 uaddrrnd 24 1440 0 1408 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1440 0 1408 1 0 1 1 0 8 0 vmmpekpl 168 16149 0 16086 4 0 4 4 0 8 0 vmmpepl 168 106905 0 104746 126 16 110 112 0 357 4 vmsppl 464 1439 0 1408 7 2 5 6 0 8 0 rwobjpl 56 36943 0 32658 63 2 61 61 0 8 0 pdppl 4096 2888 0 2816 138 56 82 98 0 8 10 pvpl 32 688894 0 672699 332 49 283 332 0 265 136 pmappl 248 1439 0 1408 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 866 0 81 23 0 23 23 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82bfcff0) 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(ffffffff82d48c68) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d48c68) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800027b81760,ffff80000007b080) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x6ffad66a5c90, count: 9 ddb{0}> trace x86_ipi_db(ffffffff82bfcff0) 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(ffffffff82d48c68) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d48c68) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800027b81760,ffff80000007b080) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x6ffad66a5c90, count: -6 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(ffffffff8279cfd2) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281f915,ffffffff8283c480,2bb,ffffffff827a1cb3) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(f2b4d8bf) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd806f1a8360) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd806f1a8360) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff800021239a98,fffffd806f1a8360,fffffd806f1a83e8,5,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021239a98,5) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021239a98) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021239a98,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800021239a98,ffff80002e434ed0,ffff80002e434f20) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e434fa0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e434fa0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7acabffe0510, count: 2 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8279cfd2) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281f915,ffffffff8283c480,2bb,ffffffff827a1cb3) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(f2b4d8bf) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd806f1a8360) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd806f1a8360) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff800021239a98,fffffd806f1a8360,fffffd806f1a83e8,5,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021239a98,5) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021239a98) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021239a98,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800021239a98,ffff80002e434ed0,ffff80002e434f20) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e434fa0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e434fa0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7acabffe0510, count: -13