witness: lock order reversal: 1st 0xffff8000299dee30 &cq->cq_mtx (&cq->cq_mtx) 2nd 0xffffffff839e0580 &sched_lock (&sched_lock) lock order [1] &cq->cq_mtx (&cq->cq_mtx) -> [2] &sched_lock (&sched_lock) #0 mtx_enter+0x95 sys/kern/kern_lock.c:406 #1 sleep_setup+0xed sys/kern/kern_synch.c:304 #2 msleep_nsec+0x10b sys/kern/kern_synch.c:217 #3 dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 #4 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #4 dtclose+0x109 sys/dev/dt/dt_dev.c:239 #5 spec_close+0x466 sys/kern/spec_vnops.c:-1 #6 VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 #7 vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] #7 vn_closefile+0x12b sys/kern/vfs_vnops.c:615 #8 fdrop+0x121 sys/kern/kern_descrip.c:1280 #9 closef+0x192 sys/kern/kern_descrip.c:1264 #10 fdfree+0x116 sys/kern/kern_descrip.c:1195 #11 exit1+0x576 sys/kern/kern_exit.c:215 #12 sys_exit+0x1a sys/kern/kern_exit.c:-1 #13 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #13 syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 #14 Xsyscall+0x128 lock order [2] &sched_lock (&sched_lock) -> [1] &cq->cq_mtx (&cq->cq_mtx) #0 mtx_enter+0x95 sys/kern/kern_lock.c:406 #1 clockintr_cancel+0x2f sys/kern/kern_clockintr.c:323 #2 mi_switch+0x187 sys/kern/sched_bsd.c:376 #3 sleep_finish+0x2d8 sys/kern/kern_synch.c:369 #4 sys_futex+0xb90 futex_wait sys/kern/sys_futex.c:306 [inline] #4 sys_futex+0xb90 sys/kern/sys_futex.c:155 #5 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 #6 Xsyscall+0x128 Stopped at db_enter+0x25: addq $0x8,%rsp ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 witness_checkorder(ffffffff839e0580,9,0) at witness_checkorder+0x10d1 sys/kern/subr_witness.c:-1 mtx_enter(ffffffff839e0570) at mtx_enter+0x95 sys/kern/kern_lock.c:406 sleep_setup(ffff8000299dee80,220,ffffffff83434123) at sleep_setup+0xed sys/kern/kern_synch.c:304 msleep_nsec(ffff8000299dee80,ffff8000299dee20,220,ffffffff83434123,ffffffffffffffff) at msleep_nsec+0x10b sys/kern/kern_synch.c:217 dt_ioctl_record_stop(ffff8000017b0000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff8000fffeea78) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff8000fffeea78) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a334890) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80665d99a0,81,fffffd80097fd6e8,ffff8000fffeea78) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069337e20,ffff8000fffeea78) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069337e20,ffff8000fffeea78) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8069337e20,ffff8000fffeea78) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069337e20,ffff8000fffeea78) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffeea78) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffeea78,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffeea78,ffff80002a334c00,ffff80002a334b50) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a334c00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a334c00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7572988209b0, count: -17 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002a334560 rbx 0 rdx 0 rcx 0xffff8000fffeea78 rax 0xffffffff83872ff0 cpu_info_full_primary+0x1ff0 r8 0xffff80002a334440 r9 0x8080808080808080 r10 0x978d26917b24ab4e r11 0x9a4c165331faab0d r12 0xfffffd8003f51e40 r13 0xfffffd80046fc330 r14 0x3 r15 0xffffffff83425700 substchar+0xefcc rip 0xffffffff824e2f85 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a334550 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=64961 pid=42133 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff8000fffeea78 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff8000fffefca0,0xffffffff83994e90 process=0xffff80002a3bf508 user=0xffff80002a32f000, vmspace=0xfffffd80693255d8 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 54770 5615 76218 0 2 0 syz-executor 54770 162939 76218 0 3 0x4000080 sbwait syz-executor 45387 106759 99747 0 3 0x80 nanoslp syz-executor 45387 210011 99747 0 3 0x4000080 fsleep syz-executor 45387 126004 99747 0 3 0x4000080 kqread syz-executor 45387 213790 99747 0 3 0x4000080 fsleep syz-executor 13076 272865 41645 -1 3 0x90 nanoslp syz-executor 13076 309312 41645 -1 3 0x4000090 tunread syz-executor 13076 410857 41645 -1 3 0x4000090 fsleep syz-executor 31162 421 0 0 3 0x14200 acct acct 41645 237650 40439 0 3 0x82 nanoslp syz-executor 93721 236036 40439 0 3 0x82 nanoslp syz-executor 3513 454411 40439 0 3 0x82 wait syz-executor 58854 36814 1 0 3 0x100083 ttyopn getty 99747 460415 40439 0 3 0x82 nanoslp syz-executor 44610 185008 40439 0 3 0x82 wait syz-executor 33964 246008 40439 0 3 0x82 nanoslp syz-executor 30694 129675 40439 0 3 0x82 nanoslp syz-executor 76218 515360 40439 0 3 0x82 nanoslp syz-executor 40439 333575 32479 0 3 0x82 kqread syz-executor 32479 518726 57767 0 3 0x10008a sigsusp ksh 57767 338487 97539 0 3 0x98 kqread sshd-session 97539 72652 65053 0 3 0x92 kqread sshd-session 65053 416224 1 0 3 0x88 kqread sshd 51991 465032 52448 74 3 0x1100092 bpf pflogd 52448 438021 1 0 3 0x80 sbwait pflogd 5534 275016 46104 73 3 0x1100090 kqread syslogd 46104 92415 1 0 3 0x100082 sbwait syslogd 64000 351464 1 0 3 0x100080 kqread resolvd 59665 9756 76079 77 3 0x100092 kqread dhcpleased 23739 506711 76079 77 3 0x100092 kqread dhcpleased 76079 180044 1 0 3 0x80 kqread dhcpleased 27300 31525 0 0 3 0x14200 bored smr 2231 441639 0 0 3 0x14200 pgzero zerothread 73310 358865 0 0 3 0x14200 aiodoned aiodoned 8026 361598 0 0 3 0x14200 syncer update 35297 415100 0 0 3 0x14200 cleaner cleaner 75653 499862 0 0 7 0x14200 reaper 35065 439637 0 0 3 0x14200 pgdaemon pagedaemon 94249 32654 0 0 3 0x14200 bored viomb 63386 424785 0 0 3 0x40014200 acpi0 acpi0 35447 248007 0 0 3 0x40014200 idle1 36434 493762 0 0 3 0x14200 bored softnet1 34054 186908 0 0 3 0x14200 bored softnet0 65133 64771 0 0 3 0x14200 bored systqmp 5609 95485 0 0 3 0x14200 bored systq 97568 82774 0 0 3 0x14200 tmoslp softclockmp 18794 428258 0 0 3 0x40014200 tmoslp softclock 37420 274371 0 0 3 0x40014200 idle0 1 12374 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &cq->cq_mtx r = 0 (0xffff8000299dee30) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter+0x4b4 sys/kern/kern_lock.c:487 #2 clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 #3 dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 #4 dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] #4 dtclose+0x109 sys/dev/dt/dt_dev.c:239 #5 spec_close+0x466 sys/kern/spec_vnops.c:-1 #6 VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 #7 vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] #7 vn_closefile+0x12b sys/kern/vfs_vnops.c:615 #8 fdrop+0x121 sys/kern/kern_descrip.c:1280 #9 closef+0x192 sys/kern/kern_descrip.c:1264 #10 fdfree+0x116 sys/kern/kern_descrip.c:1195 #11 exit1+0x576 sys/kern/kern_exit.c:215 #12 sys_exit+0x1a sys/kern/kern_exit.c:-1 #13 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #13 syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 #14 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11089 12164K 14106K 166960K 15273 0 pcb 17 19K 24K 166960K 1012 0 rtable 128 12K 15K 166960K 895 0 pf 37 18K 20K 166960K 423 0 ifaddr 20 3K 8K 166960K 284 0 ifgroup 59 2K 3K 166960K 537 0 sysctl 4 1K 9K 166960K 26 0 counters 70 37K 38K 166960K 652 0 ioctlops 0 0K 4K 166960K 2338 0 iov 0 0K 28K 166960K 238 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1480 93K 93K 166960K 3709 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 9K 166960K 66 0 VM map 2 1K 1K 166960K 2 0 sem 30 137K 137K 166960K 80 0 dirhash 12 2K 2K 166960K 54 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 3633 0 sigio 0 0K 0K 166960K 125 0 proc 74 115K 164K 166960K 971 0 subproc 72 4K 4K 166960K 101 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 691 0 in_multi 17 1K 7K 166960K 318 0 ether_multi 1 0K 0K 166960K 56 0 mrt 4 0K 0K 166960K 43 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 1401 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 267 161K 179K 166960K 35822 0 UVM aobj 26 30K 30K 166960K 33 0 pinsyscall 43 86K 100K 166960K 4828 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 294 0 NDP 12 0K 2K 166960K 203 0 temp 81 8680K 8788K 166960K 131737 0 kqueue 14 22K 39K 166960K 745 0 SYN cache 2 8K 16K 166960K 3 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 418 0 414 4 3 1 3 0 8 0 rtentry 176 263 0 237 5 1 4 5 0 8 1 unpcb 144 2642 0 2623 20 19 1 6 0 8 0 syncache 336 11 0 11 6 5 1 1 0 8 1 tcpqe 32 4 0 4 3 2 1 1 0 8 1 tcpcb 736 1276 0 1267 32 29 3 10 0 8 2 arp 136 34 0 30 1 0 1 1 0 8 0 inpcb 328 4228 0 4148 48 41 7 12 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 152 45 0 42 1 0 1 1 0 8 0 pkpcb 40 153 0 153 7 6 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 240 0 240 5 4 1 1 0 8 1 pppxif 1504 35 0 35 9 8 1 1 0 8 1 pffrag 232 50 0 33 2 0 2 2 0 482 0 pffrnode 88 45 0 30 1 0 1 1 0 8 0 pffrent 40 85 0 68 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 217 0 125 1 0 1 1 0 8 0 pfstkey 128 217 0 125 3 0 3 3 0 8 0 pfstate 448 217 0 125 11 0 11 11 0 8 0 pfrule 1344 23 0 18 2 1 1 2 0 8 0 rttmr 136 7 0 7 6 5 1 1 0 8 1 art_heap8 4096 7 0 0 7 0 7 7 0 8 0 art_heap4 256 1327 0 1172 32 12 20 29 0 8 3 art_table 40 1334 0 1172 5 0 5 5 0 8 0 art_node 32 256 0 233 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 14 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 71 0 43 1 0 1 1 0 8 0 shmpl 112 11 0 2 1 0 1 1 0 8 0 dirhash 1024 45 0 28 3 0 3 3 0 8 0 dino2pl 256 8596 0 7091 96 0 96 96 0 8 0 ffsino 296 8596 0 7091 118 0 118 118 0 8 0 nchpl 144 13738 0 12026 64 0 64 64 0 8 0 rtmask 32 54 0 54 5 5 0 1 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 47894 0 47894 7 6 1 2 0 8 1 percpumem 16 341 0 291 1 0 1 1 0 8 0 vcpupl 3968 15 0 1 2 0 2 2 0 8 0 vmpool 848 19 0 5 2 0 2 2 0 8 0 kstatmem 264 362 0 334 3 0 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 22 0 22 8 7 1 1 0 8 1 scxspl 216 82831 0 82831 22 20 2 8 1 8 2 plimitpl 152 959 0 942 2 1 1 2 0 8 0 sigapl 424 3950 0 3901 8 1 7 8 0 8 0 knotepl 120 776 0 0 23 0 23 23 0 8 0 kqueuepl 224 1746 0 1736 20 19 1 5 0 8 0 pipepl 344 527 0 500 7 4 3 6 0 8 0 fdescpl 528 3897 0 3865 3 0 3 3 0 8 0 filepl 160 27343 0 27050 37 24 13 17 0 8 0 lockfpl 104 1599 0 1597 3 2 1 3 0 8 0 lockfspl 48 531 0 529 1 0 1 1 0 8 0 sessionpl 144 29 0 20 1 0 1 1 0 8 0 pgrppl 48 102 0 85 1 0 1 1 0 8 0 ucredpl 104 4947 0 4933 1 0 1 1 0 8 0 zombiepl 144 4767 0 4762 2 1 1 1 0 8 0 processpl 1232 3950 0 3901 6 0 6 6 0 8 0 procpl 664 10191 0 10135 8 2 6 8 0 8 0 sosppl 176 29 0 29 9 9 0 1 0 8 0 sockpl 752 7607 0 7504 61 50 11 17 0 8 0 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 4 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 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 119 0 0 15 1 14 15 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 51 0 0 5 0 5 5 0 8 0 mtagpl 96 19 0 0 1 0 1 1 0 8 0 mbufpl 256 381 0 0 19 0 19 19 0 8 0 bufpl 280 32277 0 26141 439 0 439 439 0 8 0 anonpl 32 13536 0 0 111 2 109 109 0 246 0 amapchunkpl 152 137758 0 137202 90 58 32 39 0 158 10 amappl16 200 12750 0 12710 98 81 17 33 0 8 8 amappl15 192 5 0 5 2 2 0 1 0 8 0 amappl14 184 21 0 21 2 2 0 1 0 8 0 amappl13 176 459 0 458 1 0 1 1 0 8 0 amappl12 168 4289 0 4246 3 0 3 3 0 8 0 amappl11 160 9 0 9 1 1 0 1 0 8 0 amappl10 152 151 0 137 1 0 1 1 0 8 0 amappl9 144 259 0 257 1 0 1 1 0 8 0 amappl8 136 31 0 28 1 0 1 1 0 8 0 amappl7 128 91 0 89 1 0 1 1 0 8 0 amappl6 120 319 0 305 1 0 1 1 0 8 0 amappl5 112 91 0 80 1 0 1 1 0 8 0 amappl4 104 463 0 431 1 0 1 1 0 8 0 amappl3 96 25276 0 25155 5 1 4 4 0 8 0 amappl2 88 589 0 526 2 0 2 2 0 8 0 amappl1 80 24940 0 24348 17 3 14 16 0 8 0 amappl 88 34431 0 34244 5 0 5 5 0 92 0 uvmvnodes 80 221 0 0 5 0 5 5 0 8 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 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 9 0 9 4 4 0 1 0 8 0 dma128 128 260 0 260 7 6 1 1 0 8 1 dma64 64 12 0 12 6 6 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 32 0 7 1 0 1 1 0 8 0 uaddrrnd 24 3897 0 3865 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3897 0 3865 1 0 1 1 0 8 0 vmmpekpl 168 32007 0 31958 3 0 3 3 0 8 0 vmmpepl 168 246987 0 244955 163 59 104 114 0 357 6 vmsppl 488 3896 0 3865 5 0 5 5 0 8 0 rwobjpl 80 62623 0 61414 46 10 36 37 0 8 0 pdppl 4096 7839 0 7754 146 60 86 86 0 8 1 pvpl 32 21728 0 0 174 0 174 174 0 265 0 pmappl 256 3915 0 3870 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 394 0 121 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 witness_checkorder(ffffffff839e0580,9,0) at witness_checkorder+0x10d1 sys/kern/subr_witness.c:-1 mtx_enter(ffffffff839e0570) at mtx_enter+0x95 sys/kern/kern_lock.c:406 sleep_setup(ffff8000299dee80,220,ffffffff83434123) at sleep_setup+0xed sys/kern/kern_synch.c:304 msleep_nsec(ffff8000299dee80,ffff8000299dee20,220,ffffffff83434123,ffffffffffffffff) at msleep_nsec+0x10b sys/kern/kern_synch.c:217 dt_ioctl_record_stop(ffff8000017b0000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff8000fffeea78) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff8000fffeea78) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a334890) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80665d99a0,81,fffffd80097fd6e8,ffff8000fffeea78) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069337e20,ffff8000fffeea78) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069337e20,ffff8000fffeea78) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8069337e20,ffff8000fffeea78) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069337e20,ffff8000fffeea78) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffeea78) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffeea78,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffeea78,ffff80002a334c00,ffff80002a334b50) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a334c00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a334c00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7572988209b0, count: -17 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff8000299ddff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 mtx_enter(ffff8000299dee20) at mtx_enter+0x377 sys/kern/kern_lock.c:454 clockintr_dispatch(ffff80002a2341a0) at clockintr_dispatch+0x401 sys/kern/kern_clockintr.c:215 lapic_clockintr(0,0) at lapic_clockintr+0x51 sys/arch/amd64/amd64/lapic.c:482 Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a pmap_tlb_shootrange(ffffffff839ea870,ffff80003c418000,ffff80003c41e000,1) at pmap_tlb_shootrange+0x593 invpcid sys/arch/amd64/compile/SYZKALLER/obj/machine/cpufunc.h:192 [inline] pmap_tlb_shootrange(ffffffff839ea870,ffff80003c418000,ffff80003c41e000,1) at pmap_tlb_shootrange+0x593 sys/arch/amd64/amd64/pmap.c:3334 pmap_kremove(ffff80003c418000,6000) at pmap_kremove+0x114 pmap_tlb_shootwait sys/arch/amd64/amd64/pmap.c:3230 [inline] pmap_kremove(ffff80003c418000,6000) at pmap_kremove+0x114 sys/arch/amd64/amd64/pmap.c:568 km_free(ffff80003c418000,6000,ffffffff8353c418,ffffffff8351b098) at km_free+0x359 sys/uvm/uvm_km.c:708 uvm_uarea_free(ffff8000fffee7e0) at uvm_uarea_free+0x4f sys/uvm/uvm_glue.c:304 reaper(ffff8000ffffd230) at reaper+0x1ca sys/kern/kern_exit.c:493 end trace frame: 0x0, count: -12