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 278956 42020 32767 0x10 0 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(e68708e3) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd807e98e1b0) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd807e98e1b0) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff80002121b808,fffffd807e98e1b0,fffffd807e98e238,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002121b808,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002121b808) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002121b808,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002121b808,ffff80002617d1c0,ffff80002617d210) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002617d290) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002617d290) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7db63296b590, 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(e68708e3) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd807e98e1b0) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd807e98e1b0) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff80002121b808,fffffd807e98e1b0,fffffd807e98e238,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002121b808,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002121b808) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002121b808,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002121b808,ffff80002617d1c0,ffff80002617d210) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002617d290) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002617d290) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7db63296b590, count: -13 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002617ce00 rbx 0xffff800020d59b9f rdx 0 rcx 0xffff80002121b808 rax 0xffff800020d58ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xb2fb0708dc69fd22 r11 0xb9cc82a04601467b r12 0xffff800020d599a0 r13 0 r14 0 r15 0x1 rip 0xffffffff8248a28c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002617cdf0 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.6) pid=276133 stat=onproc flags process=1018 proc=2000 pri=0, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff80002121b2b8,0xffff80002121ad78 process=0xffff80002121c010 user=0xffff800026178000, vmspace=0xfffffd8063f1f938 estcpu=31, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 65361 153006 96832 32767 2 0x10 syz-executor.3 65361 78728 96832 32767 2 0x4000010 syz-executor.3 10472 22083 96753 32767 2 0x10 syz-executor.2 10472 46638 96753 32767 2 0x4000010 syz-executor.2 71084 111388 86384 32767 2 0x10 syz-executor.7 75996 31473 76106 32767 2 0x10 syz-executor.0 75996 497371 76106 32767 3 0x4000010 biowait syz-executor.0 75996 459759 76106 32767 3 0x4000010 inode syz-executor.0 42020 278956 60580 32767 7 0x10 syz-executor.5 60580 249033 47630 0 3 0x82 wait syz-executor.5 96832 507216 18361 32767 3 0x90 nanoslp syz-executor.3 18361 343029 47630 0 3 0x82 wait syz-executor.3 54978 122190 0 0 3 0x14200 bored sosplice 95504 70393 65000 32767 3 0x90 nanoslp syz-executor.6 11405 372498 38259 32767 2 0x10 syz-executor.4 86384 324655 40633 32767 3 0x90 nanoslp syz-executor.7 65000 372019 47630 0 3 0x82 wait syz-executor.6 40633 500853 47630 0 3 0x82 wait syz-executor.7 38259 259178 47630 0 3 0x82 wait syz-executor.4 96753 264 86626 32767 3 0x90 nanoslp syz-executor.2 61526 490236 97134 32767 2 0x10 syz-executor.1 86626 511321 47630 0 3 0x82 wait syz-executor.2 76106 356299 78757 32767 3 0x90 nanoslp syz-executor.0 97134 518112 47630 0 3 0x82 wait syz-executor.1 78757 523400 47630 0 3 0x82 wait syz-executor.0 47630 88171 63735 0 3 0x2000082 wait syz-fuzzer 47630 257090 63735 0 3 0x6000082 nanoslp syz-fuzzer 47630 329259 63735 0 3 0x6000082 thrsleep syz-fuzzer 47630 204664 63735 0 3 0x6000082 thrsleep syz-fuzzer 47630 423432 63735 0 3 0x6000082 thrsleep syz-fuzzer 47630 47123 63735 0 3 0x6000082 wait syz-fuzzer 47630 477602 63735 0 3 0x6000082 wait syz-fuzzer 47630 459794 63735 0 3 0x6000082 wait syz-fuzzer 47630 424042 63735 0 3 0x6000082 thrsleep syz-fuzzer 47630 133016 63735 0 3 0x6000082 wait syz-fuzzer 47630 183860 63735 0 3 0x6000082 thrsleep syz-fuzzer 47630 495576 63735 0 3 0x6000082 wait syz-fuzzer 47630 155414 63735 0 3 0x6000082 kqread syz-fuzzer 47630 433999 63735 0 3 0x6000082 wait syz-fuzzer 47630 23219 63735 0 3 0x6000082 wait syz-fuzzer 47630 366668 63735 0 3 0x6000082 thrsleep syz-fuzzer 63735 460110 94227 0 3 0x10008a sigsusp ksh 94227 363453 93606 0 3 0x9a kqread sshd 68125 316044 1 0 3 0x100083 ttyin getty 93606 86540 1 0 3 0x88 kqread sshd 18324 39891 40802 73 3 0x1100090 kqread syslogd 40802 460963 1 0 3 0x100082 netio syslogd 22184 279211 1 0 3 0x100080 kqread resolvd 16702 319676 74009 77 3 0x100092 kqread dhcpleased 85079 178942 74009 77 3 0x100092 kqread dhcpleased 74009 75798 1 0 3 0x80 kqread dhcpleased 37765 509665 0 0 3 0x14200 bored smr 42416 358665 0 0 2 0x14200 zerothread 39739 399771 0 0 3 0x14200 aiodoned aiodoned 91672 347126 0 0 3 0x14200 syncer update 71233 142893 0 0 3 0x14200 cleaner cleaner 67484 60655 0 0 2 0x14200 reaper 37733 142118 0 0 3 0x14200 pgdaemon pagedaemon 79820 24797 0 0 3 0x14200 bored viomb 91351 220836 0 0 3 0x40014200 acpi0 acpi0 24099 93273 0 0 3 0x40014200 idle1 41654 40880 0 0 3 0x14200 bored softnet3 55412 41257 0 0 3 0x14200 bored softnet2 96706 292748 0 0 3 0x14200 bored softnet1 5758 265466 0 0 3 0x14200 bored softnet0 21881 517815 0 0 3 0x14200 bored systqmp 52447 437808 0 0 3 0x14200 bored systq 84490 512362 0 0 3 0x40014200 bored softclock 27594 392696 0 0 3 0x40014200 idle0 1 90620 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 75996 (syz-executor.0) thread 0xffff800021225ab0 (497371) exclusive rrwlock inode r = 0 (0xfffffd80781e3a38) #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 vn_write+0x127 sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x1a0 sys/kern/sys_generic.c:375 #7 sys_pwritev+0xb6 sys/kern/vfs_syscalls.c:3356 #8 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] #8 syscall+0x606 sys/arch/amd64/amd64/trap.c:623 #9 Xsyscall+0x128 Process 42020 (syz-executor.5) thread 0xffff80002121b2b8 (278956) shared rwlock vmmaplk r = 0 (0xfffffd8069b84118) #0 witness_lock+0x447 #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1785 #2 uvm_fault_check+0x3e sys/uvm/uvm_fault.c:672 #3 uvm_fault+0xf2 sys/uvm/uvm_fault.c:600 #4 upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188 #5 usertrap+0x226 sys/arch/amd64/amd64/trap.c:436 #6 recall_trap+0x8 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10204 6411K 6420K 78643K 11301 0 pcb 13 14K 18K 78643K 17 0 rtable 238 6K 6K 78643K 630 0 pf 29 8K 8K 78643K 41 0 ifaddr 44 15K 15K 78643K 72 0 ifgroup 50 2K 2K 78643K 74 0 sysctl 2 0K 0K 78643K 2 0 counters 60 35K 35K 78643K 72 0 ioctlops 0 0K 2K 78643K 57 0 iov 0 0K 18K 78643K 469 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1278 80K 80K 78643K 2319 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 13K 78643K 73 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 616 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 113K 78643K 3794 0 sigio 0 0K 0K 78643K 142 0 proc 56 78K 103K 78643K 789 0 subproc 104 6K 6K 78643K 182 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 251 0 in_multi 99 7K 7K 78643K 192 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 163 731K 731K 78643K 163 0 exec 0 0K 1K 78643K 686 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 388 89K 100K 78643K 39431 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 92 0 NDP 11 0K 2K 78643K 45 0 temp 74 5920K 6048K 78643K 12927 0 kqueue 12 18K 24K 78643K 324 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 295 0 292 5 3 2 3 0 8 1 rtentry 112 184 0 72 4 0 4 4 0 8 0 unpcb 144 1789 0 1776 20 19 1 6 0 8 0 syncache 304 61 0 61 8 7 1 1 0 8 1 tcpqe 32 193 0 193 6 6 0 1 0 8 0 tcpcb 808 4838 0 4821 69 55 14 22 0 8 8 arp 120 30 0 12 1 0 1 1 0 8 0 ipq 40 73 0 73 1 1 0 1 0 8 0 ipqe 40 353 0 353 1 1 0 1 0 8 0 inpcb 368 6168 0 6144 72 55 17 20 0 8 8 nd6 136 49 0 23 1 0 1 1 0 8 0 kcovpl 48 14 0 6 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 752 0 292 30 1 29 30 0 8 0 art_table 32 753 0 292 4 0 4 4 0 8 0 art_node 16 183 0 81 1 0 1 1 0 8 0 sysvmsgpl 40 41 0 1 1 0 1 1 0 8 0 semapl 112 614 0 604 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 6683 0 5244 91 0 91 91 0 8 0 ffsino 272 6683 0 5244 97 0 97 97 0 8 0 nchpl 144 11699 0 10052 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 40119 0 40119 2 1 1 2 0 8 1 percpumem 16 49 0 6 1 0 1 1 0 8 0 kstatmem 264 34 0 12 2 0 2 2 0 8 0 scxspl 216 34624 0 34623 16 15 1 8 1 8 0 plimitpl 152 440 0 417 8 7 1 2 0 8 0 sigapl 424 4076 0 4024 7 0 7 7 0 8 0 futexpl 64 31678 0 31678 1 0 1 1 0 8 1 knotepl 120 605 0 0 18 0 18 18 0 8 0 kqueuepl 216 683 0 675 11 10 1 5 0 8 0 pipepl 320 786 0 758 22 19 3 8 0 8 0 fdescpl 496 4058 0 4024 7 2 5 6 0 8 0 filepl 152 28284 0 28043 51 34 17 21 0 8 7 lockfpl 104 1422 0 1420 2 1 1 2 0 8 0 lockfspl 48 303 0 301 1 0 1 1 0 8 0 sessionpl 144 29 0 13 1 0 1 1 0 8 0 pgrppl 48 117 0 101 1 0 1 1 0 8 0 ucredpl 104 5163 0 5145 1 0 1 1 0 8 0 zombiepl 144 4025 0 4024 1 0 1 1 0 8 0 processpl 1072 4076 0 4024 4 0 4 4 0 8 0 procpl 680 10714 0 10642 10 2 8 8 0 8 0 sosppl 168 99 0 91 6 5 1 1 0 8 0 sockpl 488 8289 0 8249 156 139 17 30 0 8 8 mcl64k 65536 21 0 0 3 1 2 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 10 0 0 1 0 1 1 0 8 0 mcl9k 9216 9 0 0 1 0 1 1 0 8 0 mcl8k 8192 16 0 0 2 0 2 2 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 252 0 0 32 3 29 32 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 1033 0 0 61 0 61 61 0 8 0 bufpl 288 10315 0 3990 454 1 453 453 0 8 0 anonpl 24 498235 0 487190 122 42 80 95 0 186 2 amapchunkpl 152 138716 0 137865 71 33 38 50 0 158 2 amappl16 200 11615 0 11287 45 23 22 29 0 8 4 amappl15 192 26 0 25 1 0 1 1 0 8 0 amappl14 184 173 0 158 2 1 1 2 0 8 0 amappl13 176 15 0 15 3 3 0 1 0 8 0 amappl12 168 4781 0 4743 3 0 3 3 0 8 0 amappl11 160 53 0 42 1 0 1 1 0 8 0 amappl10 152 41 0 29 1 0 1 1 0 8 0 amappl9 144 191 0 190 1 0 1 1 0 8 0 amappl8 136 377 0 266 4 0 4 4 0 8 0 amappl7 128 87 0 74 2 0 2 2 0 8 0 amappl6 120 293 0 274 2 1 1 2 0 8 0 amappl5 112 264 0 255 1 0 1 1 0 8 0 amappl4 104 668 0 625 3 1 2 3 0 8 0 amappl3 96 25043 0 24951 5 2 3 4 0 8 0 amappl2 88 4453 0 4378 3 1 2 3 0 8 0 amappl1 80 22871 0 22342 22 9 13 22 0 8 0 amappl 88 38751 0 38502 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 4058 0 4024 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4058 0 4024 1 0 1 1 0 8 0 vmmpekpl 168 36118 0 36060 3 0 3 3 0 8 0 vmmpepl 168 253266 0 250865 162 50 112 120 0 357 2 vmsppl 464 4057 0 4024 7 2 5 6 0 8 0 rwobjpl 56 74460 0 67015 109 2 107 107 0 8 0 pdppl 4096 8124 0 8048 214 132 82 90 0 8 6 pvpl 32 1301483 0 1284422 362 189 173 362 0 265 21 pmappl 248 4057 0 4024 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1150 0 253 27 1 26 26 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(ffff800026fc5470,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 intr_handler(ffff800026fc55c0,ffff80000007b080) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff82d6d010) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d6d010) at __mp_lock+0x12e sys/kern/kern_lock.c:147 vn_closefile(fffffd80697e1a18,ffff80002121b2b8) at vn_closefile+0x38 sys/kern/vfs_vnops.c:602 fdrop(fffffd80697e1a18,ffff80002121b2b8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80697e1a18,ffff80002121b2b8) at closef+0x120 sys/kern/kern_descrip.c:1258 syscall(ffff800026fc5890) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800026fc5890) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623 end trace frame: 0xffff800026fc5910, count: 0 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(ffff800026fc5470,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 intr_handler(ffff800026fc55c0,ffff80000007b080) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff82d6d010) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d6d010) at __mp_lock+0x12e sys/kern/kern_lock.c:147 vn_closefile(fffffd80697e1a18,ffff80002121b2b8) at vn_closefile+0x38 sys/kern/vfs_vnops.c:602 fdrop(fffffd80697e1a18,ffff80002121b2b8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80697e1a18,ffff80002121b2b8) at closef+0x120 sys/kern/kern_descrip.c:1258 syscall(ffff800026fc5890) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800026fc5890) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74f4e0884240, count: -15 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(e68708e3) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd807e98e1b0) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd807e98e1b0) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff80002121b808,fffffd807e98e1b0,fffffd807e98e238,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002121b808,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002121b808) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002121b808,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002121b808,ffff80002617d1c0,ffff80002617d210) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002617d290) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002617d290) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7db63296b590, 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(e68708e3) at splraise+0xb4 sys/arch/amd64/amd64/intr.c:699 mtx_enter_try(fffffd807e98e1b0) at mtx_enter_try+0x73 sys/kern/kern_lock.c:291 mtx_enter(fffffd807e98e1b0) at mtx_enter+0x4f sys/kern/kern_lock.c:266 knote_remove(ffff80002121b808,fffffd807e98e1b0,fffffd807e98e238,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002121b808,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002121b808) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002121b808,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002121b808,ffff80002617d1c0,ffff80002617d210) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002617d290) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002617d290) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7db63296b590, count: -13