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 158123 14703 0 0x14000 0x200 0 reaper db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8279ed48) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281f8d3,ffffffff828372dc,2bb,ffffffff8279cbe9) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(daf74f78) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd806f19eca8) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd806f19eca8) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff80002129e558,fffffd806f19eca8,fffffd806f19ed30,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002129e558,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002129e558) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002129e558,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002129e558,ffff80002e41d180,ffff80002e41d1d0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e41d250) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e41d250) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x738acec554a0, 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(ffffffff8279ed48) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281f8d3,ffffffff828372dc,2bb,ffffffff8279cbe9) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(daf74f78) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd806f19eca8) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd806f19eca8) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff80002129e558,fffffd806f19eca8,fffffd806f19ed30,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002129e558,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002129e558) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002129e558,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002129e558,ffff80002e41d180,ffff80002e41d1d0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e41d250) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e41d250) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x738acec554a0, count: -13 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e41cdc0 rbx 0xffff800020d59b9f rdx 0 rcx 0xffff80002129e558 rax 0xffff800020d58ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x43dceb385d02bb85 r11 0x37431443bf26f13f r12 0xffff800020d599a0 r13 0 r14 0 r15 0x1 rip 0xffffffff81334fdc db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002e41cdb0 ss 0 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=503309 stat=onproc flags process=1018 proc=2000 pri=0, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff80002120d800,0xffff80002129f558 process=0xffff800027b9d508 user=0xffff80002e418000, vmspace=0xfffffd8069b0f020 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 84237 19892 73207 32767 2 0x10 syz-executor.6 84769 157930 84326 32767 3 0x90 piperd syz-executor.5 84326 471461 83685 0 3 0x82 wait syz-executor.5 52453 58032 30010 32767 3 0x10 biowait syz-executor.4 30010 450851 83685 0 3 0x82 wait syz-executor.4 20402 441609 58029 32767 3 0x90 piperd syz-executor.0 58029 302361 83685 0 3 0x82 wait syz-executor.0 67775 177211 43424 32767 3 0x90 piperd syz-executor.2 43424 170527 83685 0 3 0x82 wait syz-executor.2 49446 235282 78085 32767 3 0x90 nanoslp syz-executor.1 78085 137440 83685 0 3 0x82 wait syz-executor.1 3681 138504 46952 32767 3 0x90 nanoslp syz-executor.7 46952 277654 83685 0 3 0x82 wait syz-executor.7 821 503212 68074 32767 3 0x90 nanoslp syz-executor.3 68074 204766 83685 0 3 0x82 wait syz-executor.3 68662 451753 0 0 3 0x14200 bored sosplice 73207 488794 67285 32767 2 0x10 syz-executor.6 67285 493419 83685 0 3 0x82 wait syz-executor.6 83685 90109 59451 0 3 0x2000082 wait syz-fuzzer 83685 76202 59451 0 3 0x6000082 nanoslp syz-fuzzer 83685 337146 59451 0 3 0x6000082 thrsleep syz-fuzzer 83685 204833 59451 0 3 0x6000082 wait syz-fuzzer 83685 361110 59451 0 3 0x6000082 thrsleep syz-fuzzer 83685 464269 59451 0 3 0x6000082 kqread syz-fuzzer 83685 473748 59451 0 3 0x6000082 wait syz-fuzzer 83685 82580 59451 0 3 0x6000082 thrsleep syz-fuzzer 83685 319493 59451 0 3 0x6000082 thrsleep syz-fuzzer 83685 282090 59451 0 3 0x6000082 thrsleep syz-fuzzer 83685 259418 59451 0 3 0x6000082 thrsleep syz-fuzzer 83685 117608 59451 0 3 0x6000082 wait syz-fuzzer 83685 394221 59451 0 3 0x6000082 wait syz-fuzzer 83685 177485 59451 0 3 0x6000082 wait syz-fuzzer 83685 331821 59451 0 3 0x6000082 wait syz-fuzzer 83685 37459 59451 0 3 0x6000082 wait syz-fuzzer 59451 231198 6370 0 3 0x10008a sigsusp ksh 6370 286233 18149 0 3 0x9a kqread sshd 11823 460297 1 0 3 0x100083 ttyin getty 18149 257215 1 0 3 0x88 kqread sshd 87942 82334 20551 73 3 0x1100090 kqread syslogd 20551 144880 1 0 3 0x100082 netio syslogd 71224 297653 1 0 3 0x100080 kqread resolvd 96691 358675 22135 77 3 0x100092 kqread dhcpleased 27677 255966 22135 77 3 0x100092 kqread dhcpleased 22135 17712 1 0 3 0x80 kqread dhcpleased 63551 456743 0 0 3 0x14200 bored smr 72490 119275 0 0 2 0x14200 zerothread 30210 350179 0 0 3 0x14200 aiodoned aiodoned 59415 246870 0 0 3 0x14200 syncer update 3832 128526 0 0 3 0x14200 cleaner cleaner 14703 158123 0 0 7 0x14200 reaper 22446 223179 0 0 3 0x14200 pgdaemon pagedaemon 52238 251867 0 0 3 0x14200 bored viomb 35742 497197 0 0 3 0x40014200 acpi0 acpi0 34282 410505 0 0 3 0x40014200 idle1 4646 107755 0 0 3 0x14200 bored softnet3 72705 493497 0 0 3 0x14200 bored softnet2 39987 406779 0 0 3 0x14200 bored softnet1 36948 383295 0 0 3 0x14200 bored softnet0 19222 403051 0 0 3 0x14200 bored systqmp 91158 231681 0 0 3 0x14200 bored systq 64682 384120 0 0 3 0x40014200 bored softclock 90225 208586 0 0 3 0x40014200 idle0 1 513320 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 52453 (syz-executor.4) thread 0xffff80002120d558 (58032) exclusive rrwlock inode r = 0 (0xfffffd806ea7e2c0) #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 vget+0x200 sys/kern/vfs_subr.c:676 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1314 #8 ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x6e2 sys/kern/vfs_lookup.c:566 #11 namei+0x55a sys/kern/vfs_lookup.c:250 #12 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1847 #13 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #13 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8069c77c48) #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 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1847 #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 10192 6409K 6420K 78643K 11318 0 pcb 13 12K 14K 78643K 17 0 rtable 242 6K 7K 78643K 1298 0 pf 29 8K 8K 78643K 61 0 ifaddr 44 15K 15K 78643K 112 0 ifgroup 50 2K 2K 78643K 114 0 sysctl 2 0K 0K 78643K 2 0 counters 60 35K 35K 78643K 92 0 ioctlops 0 0K 2K 78643K 105 0 iov 0 0K 24K 78643K 810 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 6233 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 167 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 158 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 21 77K 121K 78643K 9004 0 sigio 0 0K 0K 78643K 203 0 proc 56 78K 115K 78643K 1365 0 subproc 104 6K 6K 78643K 312 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 407 0 in_multi 99 7K 7K 78643K 312 0 ether_multi 1 0K 0K 78643K 4 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 91 413K 413K 78643K 91 0 exec 0 0K 1K 78643K 1744 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 409 91K 109K 78643K 90284 0 UVM aobj 131 4K 4K 78643K 132 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 222 0 NDP 11 0K 2K 78643K 75 0 temp 74 5916K 6044K 78643K 25467 0 kqueue 12 18K 24K 78643K 783 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 681 0 678 11 10 1 5 0 8 0 rtentry 112 299 0 185 4 0 4 4 0 8 0 unpcb 144 5014 0 5001 65 64 1 10 0 8 0 syncache 304 93 0 93 22 21 1 1 0 8 1 tcpqe 32 406 0 406 14 13 1 1 0 8 1 tcpcb 808 2892 0 2847 95 84 11 15 0 8 5 arp 120 52 0 34 1 0 1 1 0 8 0 ipq 40 22 0 21 7 6 1 1 0 8 0 ipqe 40 147 0 146 7 6 1 1 0 8 0 inpcb 368 5254 0 5207 106 95 11 14 0 8 6 nd6 136 82 0 54 3 2 1 2 0 8 0 kcovpl 48 24 0 16 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1224 0 760 33 4 29 31 0 8 0 art_table 32 1225 0 760 4 0 4 4 0 8 0 art_node 16 298 0 194 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 12 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 151 0 141 1 0 1 1 0 8 0 shmpl 112 129 0 1 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 17149 0 15699 91 0 91 91 0 8 0 ffsino 272 17149 0 15699 97 0 97 97 0 8 0 nchpl 144 29546 0 27907 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 103489 0 103489 3 2 1 2 0 8 1 percpumem 16 59 0 16 1 0 1 1 0 8 0 kstatmem 264 54 0 32 2 0 2 2 0 8 0 scxspl 216 87887 0 87886 34 33 1 8 1 8 0 plimitpl 152 1146 0 1122 9 7 2 2 0 8 1 sigapl 424 9270 0 9219 7 0 7 7 0 8 0 futexpl 64 70630 0 70630 3 2 1 1 0 8 1 knotepl 120 1117 0 0 19 1 18 18 0 8 0 kqueuepl 216 2348 0 2340 45 42 3 8 0 8 2 pipepl 320 2378 0 2350 76 65 11 11 0 8 8 fdescpl 496 9252 0 9220 7 2 5 6 0 8 0 filepl 152 69046 0 68806 159 141 18 21 0 8 8 lockfpl 104 3330 0 3328 1 0 1 1 0 8 0 lockfspl 48 1557 0 1555 1 0 1 1 0 8 0 sessionpl 144 39 0 23 1 0 1 1 0 8 0 pgrppl 48 185 0 169 1 0 1 1 0 8 0 ucredpl 104 23250 0 23232 1 0 1 1 0 8 0 zombiepl 144 9222 0 9219 1 0 1 1 0 8 0 processpl 1072 9270 0 9219 5 1 4 5 0 8 0 procpl 680 25214 0 25147 32 24 8 8 0 8 1 sosppl 168 90 0 90 16 15 1 1 0 8 1 sockpl 488 11279 0 11215 319 302 17 35 0 8 8 mcl64k 65536 25 0 0 4 1 3 3 0 8 0 mcl16k 16384 23 0 0 3 1 2 3 0 8 0 mcl12k 12288 22 0 0 2 0 2 2 0 8 0 mcl9k 9216 13 0 0 1 0 1 1 0 8 0 mcl8k 8192 19 0 0 3 0 3 3 0 8 0 mcl4k 4096 49 0 0 5 1 4 4 0 8 0 mcl2k2 2112 9 0 0 1 0 1 1 0 8 0 mcl2k 2048 414 0 0 34 14 20 34 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 7305 0 0 421 0 421 421 0 8 0 bufpl 288 21235 0 14907 453 0 453 453 0 8 0 anonpl 24 1001704 0 990436 154 64 90 100 0 186 0 amapchunkpl 152 287576 0 286749 124 83 41 51 0 158 3 amappl16 200 19174 0 18880 104 86 18 29 0 8 2 amappl15 192 22 0 21 1 0 1 1 0 8 0 amappl14 184 211 0 194 2 1 1 2 0 8 0 amappl13 176 14 0 13 1 0 1 1 0 8 0 amappl12 168 10133 0 10099 2 0 2 2 0 8 0 amappl11 160 56 0 46 1 0 1 1 0 8 0 amappl10 152 56 0 43 1 0 1 1 0 8 0 amappl9 144 259 0 259 20 19 1 1 0 8 1 amappl8 136 650 0 504 6 0 6 6 0 8 0 amappl7 128 103 0 88 2 0 2 2 0 8 0 amappl6 120 432 0 407 2 1 1 2 0 8 0 amappl5 112 432 0 421 1 0 1 1 0 8 0 amappl4 104 787 0 747 2 0 2 2 0 8 0 amappl3 96 56326 0 56247 6 2 4 4 0 8 1 amappl2 88 9771 0 9696 3 1 2 3 0 8 0 amappl1 80 41398 0 40882 23 11 12 22 0 8 0 amappl 88 89260 0 89019 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 131 0 1 3 0 3 3 0 8 0 uaddrrnd 24 9252 0 9220 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9252 0 9220 1 0 1 1 0 8 0 vmmpekpl 168 73873 0 73817 5 1 4 4 0 8 0 vmmpepl 168 546909 0 544596 229 114 115 125 0 357 1 vmsppl 464 9251 0 9220 7 2 5 6 0 8 0 rwobjpl 56 142290 0 134856 123 15 108 110 0 8 0 pdppl 4096 18512 0 18440 472 390 82 94 0 8 10 pvpl 32 2756983 0 2739692 523 361 162 362 0 265 0 pmappl 248 9251 0 9220 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1859 0 618 36 0 36 36 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82c29ff0) 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(ffffffff82c793e8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c793e8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff8000211b93b0,ffff80000006bc00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff82c793e8) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c793e8) at __mp_lock+0x12e sys/kern/kern_lock.c:147 reaper(ffff8000211b3a98) at reaper+0x160 sys/kern/kern_exit.c:454 end trace frame: 0x0, count: 7 ddb{0}> trace x86_ipi_db(ffffffff82c29ff0) 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(ffffffff82c793e8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c793e8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff8000211b93b0,ffff80000006bc00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff82c793e8) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c793e8) at __mp_lock+0x12e sys/kern/kern_lock.c:147 reaper(ffff8000211b3a98) at reaper+0x160 sys/kern/kern_exit.c:454 end trace frame: 0x0, count: -8 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(ffffffff8279ed48) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281f8d3,ffffffff828372dc,2bb,ffffffff8279cbe9) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(daf74f78) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd806f19eca8) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd806f19eca8) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff80002129e558,fffffd806f19eca8,fffffd806f19ed30,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002129e558,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002129e558) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002129e558,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002129e558,ffff80002e41d180,ffff80002e41d1d0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e41d250) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e41d250) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x738acec554a0, count: 2 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8279ed48) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281f8d3,ffffffff828372dc,2bb,ffffffff8279cbe9) at __assert+0x29 sys/kern/subr_prf.c:157 splraise(daf74f78) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd806f19eca8) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd806f19eca8) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff80002129e558,fffffd806f19eca8,fffffd806f19ed30,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002129e558,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002129e558) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002129e558,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002129e558,ffff80002e41d180,ffff80002e41d1d0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e41d250) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e41d250) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x738acec554a0, count: -13