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 435548 5705 32767 0x10 0x4000000 0 syz-executor.5 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827a0dbf) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281f487,ffffffff82838b3c,2bb,ffffffff8279e3af) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(c1fd64d7) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd806f216360) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd806f216360) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff8000212902a8,fffffd806f216360,fffffd806f2163e8,9,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000212902a8,9) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000212902a8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000212902a8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000212902a8,ffff80002e47cf10,ffff80002e47cf60) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e47cfe0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e47cfe0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fa92f8dad30, 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(ffffffff827a0dbf) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281f487,ffffffff82838b3c,2bb,ffffffff8279e3af) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(c1fd64d7) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd806f216360) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd806f216360) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff8000212902a8,fffffd806f216360,fffffd806f2163e8,9,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000212902a8,9) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000212902a8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000212902a8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000212902a8,ffff80002e47cf10,ffff80002e47cf60) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e47cfe0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e47cfe0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fa92f8dad30, count: -13 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e47cb50 rbx 0xffff800020d59b9f rdx 0 rcx 0xffff8000212902a8 rax 0xffff800020d58ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x95c687185d8f7544 r11 0x6dca29337953cbcb r12 0xffff800020d599a0 r13 0 r14 0 r15 0x1 rip 0xffffffff8248a28c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002e47cb40 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.7) pid=151987 stat=onproc flags process=1018 proc=2000 pri=0, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000212917e8,0xffff800022cf6ab8 process=0xffff8000211fc440 user=0xffff80002e478000, vmspace=0xfffffd806f16b748 estcpu=31, cpticks=1, pctcpu=0.2 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 81531 111597 80950 32767 2 0x10 syz-executor.3 81531 56167 80950 32767 2 0x4000010 syz-executor.3 5705 117760 35317 32767 2 0x10 syz-executor.5 5705 380336 35317 32767 3 0x4000090 fsleep syz-executor.5 5705 435548 35317 32767 7 0x4000010 syz-executor.5 56237 37173 64888 32767 2 0x10 syz-executor.4 56237 125057 64888 32767 2 0x4000010 syz-executor.4 10441 129194 51524 32767 2 0x10 syz-executor.6 10441 385884 51524 32767 3 0x4000090 netcon syz-executor.6 10441 493677 51524 32767 3 0x4000090 fsleep syz-executor.6 10441 236357 51524 32767 3 0x4000090 fsleep syz-executor.6 48374 257157 66988 32767 2 0x10 syz-executor.2 66988 94770 36583 0 3 0x82 wait syz-executor.2 35317 239390 27654 32767 3 0x90 nanoslp syz-executor.5 27654 428227 36583 0 3 0x82 wait syz-executor.5 51524 237899 60169 32767 2 0x10 syz-executor.6 60169 29858 36583 0 3 0x82 wait syz-executor.6 64888 27701 35145 32767 3 0x90 nanoslp syz-executor.4 35145 77626 36583 0 3 0x82 wait syz-executor.4 87696 253603 93454 32767 2 0x10 syz-executor.1 93454 453711 36583 0 3 0x82 wait syz-executor.1 64289 134664 13751 32767 2 0x10 syz-executor.0 13751 165741 36583 0 3 0x82 wait syz-executor.0 89733 196019 33933 32767 3 0x90 nanoslp syz-executor.7 33933 54975 36583 0 3 0x82 wait syz-executor.7 80950 491521 93324 32767 3 0x90 nanoslp syz-executor.3 93324 254455 36583 0 3 0x82 wait syz-executor.3 95063 203363 0 0 3 0x14200 bored sosplice 36583 159913 90143 0 3 0x2000082 wait syz-fuzzer 36583 448613 90143 0 3 0x6000082 nanoslp syz-fuzzer 36583 244892 90143 0 3 0x6000082 wait syz-fuzzer 36583 71166 90143 0 3 0x6000082 thrsleep syz-fuzzer 36583 71461 90143 0 3 0x6000082 thrsleep syz-fuzzer 36583 362526 90143 0 3 0x6000082 wait syz-fuzzer 36583 401581 90143 0 3 0x6000082 wait syz-fuzzer 36583 348688 90143 0 3 0x6000082 wait syz-fuzzer 36583 490823 90143 0 3 0x6000082 thrsleep syz-fuzzer 36583 48062 90143 0 3 0x6000082 thrsleep syz-fuzzer 36583 300408 90143 0 3 0x6000082 thrsleep syz-fuzzer 36583 194884 90143 0 3 0x6000082 wait syz-fuzzer 36583 347578 90143 0 3 0x6000082 wait syz-fuzzer 36583 226337 90143 0 3 0x6000082 wait syz-fuzzer 36583 178179 90143 0 3 0x6000082 thrsleep syz-fuzzer 36583 121738 90143 0 3 0x6000082 kqread syz-fuzzer 90143 67710 15514 0 3 0x10008a sigsusp ksh 15514 89075 9881 0 3 0x9a kqread sshd 80524 399406 1 0 3 0x100083 ttyin getty 9881 328488 1 0 3 0x88 kqread sshd 19883 69980 98666 73 3 0x1100090 kqread syslogd 98666 451776 1 0 3 0x100082 netio syslogd 43829 458363 1 0 3 0x100080 kqread resolvd 614 12644 53177 77 3 0x100092 kqread dhcpleased 95255 235833 53177 77 3 0x100092 kqread dhcpleased 53177 240678 1 0 3 0x80 kqread dhcpleased 8570 227248 0 0 3 0x14200 bored smr 80226 335484 0 0 2 0x14200 zerothread 17337 58969 0 0 3 0x14200 aiodoned aiodoned 4754 77285 0 0 3 0x14200 syncer update 78199 76603 0 0 3 0x14200 cleaner cleaner 41675 69661 0 0 2 0x14200 reaper 35936 391525 0 0 3 0x14200 pgdaemon pagedaemon 42130 53527 0 0 3 0x14200 bored viomb 98114 122292 0 0 3 0x40014200 acpi0 acpi0 33850 95107 0 0 3 0x40014200 idle1 57540 66221 0 0 3 0x14200 bored softnet3 96881 128443 0 0 3 0x14200 bored softnet2 35583 272813 0 0 3 0x14200 bored softnet1 41704 38145 0 0 3 0x14200 bored softnet0 69392 432926 0 0 3 0x14200 bored systqmp 83548 305625 0 0 3 0x14200 bored systq 61168 29928 0 0 3 0x40014200 bored softclock 88208 46088 0 0 3 0x40014200 idle0 1 284637 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 5705 (syz-executor.5) thread 0xffff800022cf6008 (435548) exclusive rwlock vmmaplk r = 0 (0xfffffd8075d552f0) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 vm_map_lock_ln+0xfa sys/uvm/uvm_map.c:5345 #3 uvmfault_lookup+0xb6 sys/uvm/uvm_fault.c:1779 #4 uvm_fault_check+0x65d uvmfault_amapcopy sys/uvm/uvm_fault.c:236 [inline] #4 uvm_fault_check+0x65d sys/uvm/uvm_fault.c:710 #5 uvm_fault+0xf2 sys/uvm/uvm_fault.c:600 #6 upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188 #7 usertrap+0x226 sys/arch/amd64/amd64/trap.c:436 #8 recall_trap+0x8 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10226 6414K 6420K 78643K 11423 0 pcb 13 16K 18K 78643K 19 0 rtable 244 6K 7K 78643K 1875 0 pf 29 8K 8K 78643K 107 0 ifaddr 44 15K 16K 78643K 206 0 ifgroup 50 2K 2K 78643K 206 0 sysctl 3 1K 3K 78643K 6 0 counters 60 35K 35K 78643K 138 0 ioctlops 0 0K 2K 78643K 348 0 iov 0 0K 32K 78643K 2056 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 4507 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 729 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 14 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 117K 78643K 18127 0 sigio 0 0K 0K 78643K 320 0 proc 56 78K 115K 78643K 2527 0 subproc 104 6K 6K 78643K 611 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 16107 0 in_multi 99 7K 7K 78643K 753 0 ether_multi 1 0K 0K 78643K 24 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 295 1314K 1314K 78643K 295 0 exec 0 0K 1K 78643K 4008 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 469 91K 102K 78643K 178877 0 UVM aobj 131 4K 4K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 571 0 NDP 11 0K 2K 78643K 144 0 temp 74 5920K 6048K 78643K 47277 0 kqueue 12 18K 38K 78643K 1465 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 995 0 992 13 12 1 5 0 8 0 rtentry 112 575 0 460 4 0 4 4 0 8 0 unpcb 144 12462 0 12449 118 117 1 11 0 8 0 syncache 304 157 0 157 31 30 1 1 0 8 1 tcpqe 32 675 0 675 23 22 1 2 0 8 1 tcpcb 808 23461 0 23448 269 264 5 25 0 8 3 arp 120 99 0 80 1 0 1 1 0 8 0 ipq 40 80 0 78 5 4 1 1 0 8 0 ipqe 40 310 0 308 5 4 1 1 0 8 0 inpcb 368 29658 0 29641 250 242 8 23 0 8 6 nd6 136 173 0 145 3 1 2 2 0 8 0 kcovpl 48 47 0 39 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2274 0 1803 36 6 30 30 0 8 0 art_table 32 2275 0 1803 4 0 4 4 0 8 0 art_node 16 574 0 469 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 5 1 1 0 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 24131 0 22679 92 0 92 92 0 8 0 ffsino 272 24131 0 22679 98 0 98 98 0 8 0 nchpl 144 47004 0 45362 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 149487 0 149487 4 3 1 2 0 8 1 percpumem 16 82 0 39 1 0 1 1 0 8 0 kstatmem 264 100 0 78 2 0 2 2 0 8 0 scxspl 216 142489 0 142489 44 41 3 8 1 8 3 plimitpl 152 2337 0 2314 21 20 1 2 0 8 0 sigapl 424 18345 0 18293 7 0 7 7 0 8 0 futexpl 64 156211 0 156208 2 1 1 1 0 8 0 knotepl 120 1082 0 0 20 3 17 18 0 8 0 kqueuepl 216 3782 0 3774 80 79 1 8 0 8 0 pipepl 320 3623 0 3594 99 96 3 13 0 8 0 fdescpl 496 18327 0 18293 7 2 5 6 0 8 0 filepl 152 116691 0 116446 180 167 13 20 0 8 3 lockfpl 104 2370 0 2368 2 1 1 2 0 8 0 lockfspl 48 758 0 756 1 0 1 1 0 8 0 sessionpl 144 62 0 46 1 0 1 1 0 8 0 pgrppl 48 273 0 257 1 0 1 1 0 8 0 ucredpl 104 15477 0 15459 1 0 1 1 0 8 0 zombiepl 144 18294 0 18293 1 0 1 1 0 8 0 processpl 1072 18345 0 18293 4 0 4 4 0 8 0 procpl 680 50283 0 50208 11 3 8 9 0 8 0 sosppl 168 302 0 302 22 22 0 1 0 8 0 sockpl 488 43902 0 43870 705 692 13 36 0 8 8 mcl64k 65536 57 0 0 6 3 3 3 0 8 0 mcl16k 16384 25 0 0 3 0 3 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 33 0 0 2 0 2 2 0 8 0 mcl8k 8192 25 0 0 3 0 3 3 0 8 0 mcl4k 4096 87 0 0 5 2 3 5 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 419 0 0 40 15 25 40 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 2215 0 0 105 0 105 105 0 8 0 bufpl 288 30675 0 24347 453 0 453 453 0 8 0 anonpl 24 1860853 0 1849487 298 207 91 113 0 186 0 amapchunkpl 152 558501 0 557614 123 84 39 43 0 158 1 amappl16 200 43558 0 43272 274 254 20 38 0 8 4 amappl15 192 13 0 13 1 1 0 1 0 8 0 amappl14 184 277 0 262 2 1 1 2 0 8 0 amappl13 176 18 0 18 2 2 0 1 0 8 0 amappl12 168 19599 0 19558 2 0 2 2 0 8 0 amappl11 160 51 0 41 1 0 1 1 0 8 0 amappl10 152 79 0 66 1 0 1 1 0 8 0 amappl9 144 318 0 318 21 20 1 1 0 8 1 amappl8 136 1033 0 826 8 0 8 8 0 8 0 amappl7 128 170 0 152 2 0 2 2 0 8 0 amappl6 120 687 0 664 2 1 1 2 0 8 0 amappl5 112 814 0 805 1 0 1 1 0 8 0 amappl4 104 1337 0 1293 3 1 2 3 0 8 0 amappl3 96 110880 0 110789 8 5 3 4 0 8 0 amappl2 88 19808 0 19719 5 2 3 3 0 8 0 amappl1 80 74158 0 73628 23 11 12 22 0 8 0 amappl 88 177396 0 177133 8 1 7 8 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 18327 0 18293 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 18327 0 18293 1 0 1 1 0 8 0 vmmpekpl 168 135584 0 135521 5 1 4 4 0 8 0 vmmpepl 168 1078467 0 1075967 299 176 123 131 0 357 0 vmsppl 464 18326 0 18293 7 2 5 6 0 8 0 rwobjpl 56 273186 0 265660 124 13 111 111 0 8 0 pdppl 4096 36662 0 36586 654 572 82 92 0 8 6 pvpl 32 5049392 0 5031690 576 398 178 363 0 265 9 pmappl 248 18326 0 18293 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2036 0 1112 28 0 28 28 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82bc7ff0) 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(ffffffff82d6d010) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d6d010) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800027b74f50,ffff80000027b600) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge26_untramp() at Xintr_ioapic_edge26_untramp+0x18f __mp_lock(ffffffff82d6d010) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d6d010) at __mp_lock+0x122 sys/kern/kern_lock.c:147 uvm_fault(fffffd8075d551f8,fd4baed3000,0,2) at uvm_fault+0x181 sys/uvm/uvm_fault.c:622 upageflttrap(ffff800027b752d0,fd4baed3000) at upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188 usertrap(ffff800027b752d0) at usertrap+0x226 sys/arch/amd64/amd64/trap.c:436 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0xfd4baeb0c10, count: 4 ddb{0}> trace x86_ipi_db(ffffffff82bc7ff0) 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(ffffffff82d6d010) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d6d010) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800027b74f50,ffff80000027b600) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge26_untramp() at Xintr_ioapic_edge26_untramp+0x18f __mp_lock(ffffffff82d6d010) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d6d010) at __mp_lock+0x122 sys/kern/kern_lock.c:147 uvm_fault(fffffd8075d551f8,fd4baed3000,0,2) at uvm_fault+0x181 sys/uvm/uvm_fault.c:622 upageflttrap(ffff800027b752d0,fd4baed3000) at upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188 usertrap(ffff800027b752d0) at usertrap+0x226 sys/arch/amd64/amd64/trap.c:436 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0xfd4baeb0c10, count: -11 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(ffffffff827a0dbf) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281f487,ffffffff82838b3c,2bb,ffffffff8279e3af) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(c1fd64d7) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd806f216360) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd806f216360) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff8000212902a8,fffffd806f216360,fffffd806f2163e8,9,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000212902a8,9) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000212902a8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000212902a8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000212902a8,ffff80002e47cf10,ffff80002e47cf60) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e47cfe0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e47cfe0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fa92f8dad30, count: 2 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827a0dbf) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281f487,ffffffff82838b3c,2bb,ffffffff8279e3af) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(c1fd64d7) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd806f216360) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd806f216360) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff8000212902a8,fffffd806f216360,fffffd806f2163e8,9,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000212902a8,9) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000212902a8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000212902a8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000212902a8,ffff80002e47cf10,ffff80002e47cf60) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e47cfe0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e47cfe0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fa92f8dad30, count: -13