panic: pool_do_get: shmpl free list modified: page 0xfffff2806550a000; item addr 0xfffff2806550aaf0; offset 0x40=0x6a5d204d Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *135483 64209 0 0 0x4000000 0K syz-executor 503899 38147 0 0x2 0x1 1 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834ad82e) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83aac8a8,9,ffff80003c3ee528) at pool_do_get+0x5df pool_get(ffffffff83aac8a8,9) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff800045fe67f0,ffff80003c3ee780,0,ffff80003c3ee6d0) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff800045fe67f0,ffff80003c3ee780,ffff80003c3ee6d0) at sys_shmget+0x195 sys/kern/sysv_shm.c:503 syscall(ffff80003c3ee780) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3ee780) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdfbaa9b1d60, count: 7 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: pool_do_get: shmpl free list modified: page 0xfffff2806550a000; item addr 0xfffff2806550aaf0; offset 0x40=0x6a5d204d ddb{0}> show kasan No such command ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834ad82e) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83aac8a8,9,ffff80003c3ee528) at pool_do_get+0x5df pool_get(ffffffff83aac8a8,9) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff800045fe67f0,ffff80003c3ee780,0,ffff80003c3ee6d0) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff800045fe67f0,ffff80003c3ee780,ffff80003c3ee6d0) at sys_shmget+0x195 sys/kern/sysv_shm.c:503 syscall(ffff80003c3ee780) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3ee780) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdfbaa9b1d60, count: -8 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c3ee350 rbx 0xffffffff838f1e07 cpu_info_full_primary+0x2e07 rdx 0xffff800001600700 rcx 0xffff800045fe67f0 rax 0xffffffff838f0ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x3607cc08bbb4221d r11 0x2b187f345669ef38 r12 0xffffffff838f1c08 cpu_info_full_primary+0x2c08 r13 0 r14 0 r15 0x1 rip 0xffffffff830b8535 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c3ee340 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=135483 pid=64209 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=73, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800045fe7780,0xffff800045fe6fc8 process=0xffff800045fee698 user=0xffff80003c3e9000, vmspace=0xfffff2806cef67b8 estcpu=23, cpticks=103, pctcpu=1.2, user=0, sys=103, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 32717 494636 18681 0 2 0x2 0 syz-executor 53120 124685 96199 -1 2 0x10 0 syz-executor 53120 165228 96199 -1 3 0x10 0x4000080 fsleep syz-executor 85378 244303 36000 0 2 0 0 syz-executor 85378 193283 36000 0 3 0 0x4000080 fsleep syz-executor 64490 310184 38147 0 2 0 0 syz-executor 47187 219676 38842 0 2 0 0 syz-executor 47187 144893 38842 0 3 0 0x4000000 biowait syz-executor 47187 213475 38842 0 2 0 0x4000000 syz-executor 47187 514677 38842 0 3 0 0x4000000 inode syz-executor 65081 253711 78572 0 3 0 0x80 nanoslp syz-executor 65081 166820 78572 0 3 0 0x4000080 fsleep syz-executor 65081 384322 78572 0 3 0 0x4000080 ttyretype syz-executor 5565 355171 33063 -1 2 0x10 0 syz-executor 5565 384847 33063 -1 3 0x10 0x4000080 fsleep syz-executor 64209 275465 56216 0 2 0 0 syz-executor *64209 135483 56216 0 7 0 0x4000000 syz-executor 64209 57632 56216 0 3 0 0x4000080 fsleep syz-executor 38842 393334 18681 0 3 0x2 0x80 nanoslp syz-executor 96199 347887 18681 0 3 0x2 0x80 nanoslp syz-executor 78572 250066 18681 0 3 0x2 0x80 nanoslp syz-executor 36000 457468 18681 0 3 0x2 0x80 nanoslp syz-executor 56216 279472 18681 0 3 0x2 0x80 nanoslp syz-executor 38147 503899 18681 0 7 0x2 0x1 syz-executor 33063 311358 18681 0 3 0x2 0x80 nanoslp syz-executor 18681 142994 99460 0 3 0x2 0x80 kqread syz-executor 99460 239053 18107 0 3 0x100002 0x88 sigsusp ksh 18107 2645 80655 0 3 0x10 0x88 kqread sshd-session 80655 333476 65909 0 3 0x12 0x80 kqread sshd-session 76218 173702 1 0 3 0x100003 0x80 ttyin getty 65909 384742 1 0 3 0 0x88 kqread sshd 19883 300196 72536 74 3 0x1100012 0x80 bpf pflogd 72536 443317 1 0 3 0 0x80 sbwait pflogd 67744 351951 69101 73 3 0x1100010 0x80 kqread syslogd 69101 165408 1 0 3 0x100002 0x80 sbwait syslogd 55195 272067 1 0 3 0x100000 0x80 kqread resolvd 94140 29555 87335 77 3 0x100012 0x80 kqread dhcpleased 50080 199664 87335 77 3 0x100012 0x80 kqread dhcpleased 87335 520758 1 0 3 0 0x80 kqread dhcpleased 84845 49153 0 0 3 0x14000 0x200 bored smr 61892 298623 0 0 2 0x14000 0x200 zerothread 14333 154632 0 0 3 0x14000 0x200 aiodoned aiodoned 1267 211441 0 0 3 0x14000 0x200 syncer update 71954 45614 0 0 3 0x14000 0x200 cleaner cleaner 32337 180756 0 0 3 0x14000 0x200 reaper reaper 405 345504 0 0 3 0x14000 0x200 pgdaemon pagedaemon 87511 235216 0 0 3 0x14000 0x200 bored viomb 95057 333301 0 0 3 0x14000 0x40000200 acpi0 acpi0 35664 510878 0 0 3 0x14000 0x40000200 idle1 43124 504431 0 0 3 0x14000 0x200 bored softnet1 47745 348887 0 0 3 0x14000 0x200 bored softnet0 98999 301003 0 0 3 0x14000 0x200 smrbar systqmp 73409 92777 0 0 3 0x14000 0x200 bored systq 1298 109539 0 0 3 0x14000 0x200 tmoslp softclockmp 12054 514839 0 0 3 0x14000 0x40000200 tmoslp softclock 41136 200540 0 0 3 0x14000 0x40000200 idle0 1 432998 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex shmpl r = 0 (0xffffffff83aac8c0) #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 pool_get+0x124 sys/kern/subr_pool.c:585 #3 shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 #4 sys_shmget+0x195 sys/kern/sysv_shm.c:503 #5 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 #6 Xsyscall+0x128 Process 47187 (syz-executor) thread 0xffff800045fe8fb0 (144893) exclusive rrwlock inode r = 0 (0xfffff28065695c58) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xbd sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:576 #5 vn_write+0x18f sys/kern/vfs_vnops.c:411 #6 dofilewritev+0x2bd sys/kern/sys_generic.c:384 #7 sys_write+0xa2 sys/kern/sys_generic.c:300 #8 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 #9 Xsyscall+0x128 Process 47187 (syz-executor) thread 0xffff80002a222010 (514677) exclusive rrwlock inode r = 0 (0xfffff28065695a08) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xbd sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:576 #5 vfs_lookup+0x12b sys/kern/vfs_lookup.c:431 #6 namei+0x7c5 sys/kern/vfs_lookup.c:250 #7 vn_open+0x178 sys/kern/vfs_vnops.c:146 #8 sys_ktrace+0x9a sys/kern/kern_ktrace.c:552 #9 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #9 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 #10 Xsyscall+0x128 Process 64209 (syz-executor) thread 0xffff800045fe67f0 (135483) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a59400) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] #1 syscall+0xaf4 sys/arch/amd64/amd64/trap.c:783 #2 Xsyscall+0x128 exclusive mutex shmpl r = 0 (0xffffffff83aac8c0) #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 pool_get+0x124 sys/kern/subr_pool.c:585 #3 shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 #4 sys_shmget+0x195 sys/kern/sysv_shm.c:503 #5 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 #6 Xsyscall+0x128 Process 98999 (systqmp) thread 0xffff800045ffe298 (301003) shared rwlock systqmp r = 0 (0xffffffff839d4af8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11063 12162K 12221K 166960K 12190 0 pcb 18 12K 12K 166960K 30 0 rtable 201 6K 7K 166960K 371 0 pf 32 17K 18K 166960K 50 0 ifaddr 35 6K 7K 166960K 46 0 ifgroup 47 2K 2K 166960K 60 0 sysctl 1 1K 9K 166960K 5 0 counters 66 36K 37K 166960K 72 0 ioctlops 0 0K 4K 166960K 1498 0 iov 0 0K 16K 166960K 4 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1297 82K 82K 166960K 1427 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 4 0 dirhash 12 2K 3K 166960K 21 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 17 61K 89K 166960K 197 0 sigio 1 0K 0K 166960K 1 0 proc 71 115K 164K 166960K 557 0 subproc 71 4K 5K 166960K 98 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 2 0 in_multi 77 5K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 389 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 231 167K 175K 166960K 3479 0 UVM aobj 5 2K 2K 166960K 6 0 pinsyscall 42 84K 103K 166960K 1363 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 2 0 NDP 10 0K 2K 166960K 29 0 temp 35 9118K 9130K 166960K 7484 0 kqueue 13 20K 29K 166960K 44 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 28 0 0 1 0 1 1 0 8 0 rtpcb 120 39 0 36 1 0 1 1 0 8 0 rtentry 176 112 0 23 6 0 6 6 0 8 0 unpcb 144 64 0 43 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 21 0 17 1 0 1 1 0 8 0 arp 136 18 0 4 1 0 1 1 0 8 0 inpcb 328 102 0 92 2 0 2 2 0 8 0 nd6 152 24 0 6 1 0 1 1 0 8 0 kcovpl 48 10 0 3 1 0 1 1 0 8 0 pfstscr 40 2 0 2 1 0 1 1 0 8 1 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 25 0 0 1 0 1 1 0 8 0 pfstkey 128 27 0 2 1 0 1 1 0 8 0 pfstate 448 25 0 1 3 0 3 3 0 8 0 pfrule 1360 22 0 16 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 458 0 50 29 0 29 29 0 8 1 art_table 40 459 0 50 5 0 5 5 0 8 0 art_node 32 112 0 21 1 0 1 1 0 8 0 semapl 72 2 0 0 1 0 1 1 0 8 0 shmpl 112 3 0 1 1 0 1 1 0 8 0 pool(0xffffffff83aac8a8:shmpl): page inconsistency: page 0xfffff2806550a000; 32 on list, 2 missing, 35 items per page dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 1682 0 213 93 0 93 93 0 8 0 ffsino 296 1682 0 213 114 0 114 114 0 8 0 nchpl 144 1936 0 228 64 0 64 64 0 8 0 vnodes 216 1814 0 0 101 0 101 101 0 8 0 namei 1024 6080 0 6079 1 0 1 1 0 8 0 percpumem 16 52 0 3 1 0 1 1 0 8 0 kstatmem 264 29 0 6 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7164 0 7163 9 1 8 8 1 8 7 plimitpl 152 39 0 20 1 0 1 1 0 8 0 sigapl 424 511 0 464 7 0 7 7 0 8 1 knotepl 120 299 0 0 10 0 10 10 0 8 0 kqueuepl 224 38 0 29 1 0 1 1 0 8 0 pipepl 344 139 0 112 3 0 3 3 0 8 0 fdescpl 528 495 0 464 3 0 3 3 0 8 0 filepl 160 1921 0 1696 11 0 11 11 0 8 0 lockfpl 104 34 0 31 1 0 1 1 0 8 0 lockfspl 48 17 0 14 1 0 1 1 0 8 0 sessionpl 144 30 0 19 1 0 1 1 0 8 0 pgrppl 48 41 0 22 1 0 1 1 0 8 0 ucredpl 104 135 0 120 1 0 1 1 0 8 0 zombiepl 144 464 0 464 1 0 1 1 0 8 1 processpl 1232 511 0 464 5 0 5 5 0 8 1 procpl 664 606 0 549 6 0 6 6 0 8 0 sosppl 176 1 0 1 1 0 1 1 0 8 1 sockpl 752 205 0 171 5 0 5 5 0 8 1 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 117 0 0 15 0 15 15 0 8 0 mcl2k 2048 35 0 0 5 0 5 5 0 8 0 mextrefs 64 33 0 0 1 0 1 1 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 381 0 0 24 0 24 24 0 8 0 bufpl 272 2613 0 105 168 0 168 168 0 8 0 anonpl 32 3796 0 0 31 0 31 31 0 247 0 amapchunkpl 152 9363 0 8896 20 0 20 20 0 158 1 amappl16 200 1003 0 964 4 1 3 4 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 432 0 431 1 0 1 1 0 8 0 amappl13 176 123 0 111 1 0 1 1 0 8 0 amappl12 168 746 0 717 2 0 2 2 0 8 0 amappl11 160 32 0 31 1 0 1 1 0 8 0 amappl10 152 65 0 51 1 0 1 1 0 8 0 amappl9 144 277 0 277 1 1 0 1 0 8 0 amappl8 136 101 0 99 1 0 1 1 0 8 0 amappl7 128 144 0 131 1 0 1 1 0 8 0 amappl6 120 153 0 152 1 0 1 1 0 8 0 amappl5 112 101 0 89 1 0 1 1 0 8 0 amappl4 104 290 0 272 1 0 1 1 0 8 0 amappl3 96 1798 0 1689 4 1 3 3 0 8 0 amappl2 88 549 0 486 2 0 2 2 0 8 0 amappl1 80 10829 0 10231 14 0 14 14 0 8 0 amappl 88 2737 0 2579 4 0 4 4 0 92 0 uvmvnodes 80 101 0 0 3 0 3 3 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 6 0 6 1 1 0 1 0 8 0 dma128 128 254 0 254 2 1 1 1 0 8 1 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 5 0 1 1 0 1 1 0 8 0 uaddrrnd 24 495 0 464 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 495 0 464 1 0 1 1 0 8 0 vmmpekpl 168 6147 0 6106 3 0 3 3 0 8 0 vmmpepl 168 40157 0 38245 87 0 87 87 0 357 1 vmsppl 488 494 0 464 5 0 5 5 0 8 1 rwobjpl 80 14305 0 13268 23 0 23 23 0 8 1 pdppl 4096 997 0 928 97 26 71 83 0 8 2 pvpl 32 11622 0 0 94 0 94 94 0 265 0 pmappl 256 494 0 464 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 452 0 28 13 0 13 13 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 panic(ffffffff834ad82e) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83aac8a8,9,ffff80003c3ee528) at pool_do_get+0x5df pool_get(ffffffff83aac8a8,9) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff800045fe67f0,ffff80003c3ee780,0,ffff80003c3ee6d0) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff800045fe67f0,ffff80003c3ee780,ffff80003c3ee6d0) at sys_shmget+0x195 sys/kern/sysv_shm.c:503 syscall(ffff80003c3ee780) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3ee780) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdfbaa9b1d60, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff80002999dff0) 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 __mp_lock(ffffffff83a58c00) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a58c00) at __mp_lock+0x199 sys/kern/kern_lock.c:173 ktrsysret(ffff80002a222540,5b,0,ffff80002a2e6620) at ktrsysret+0xde ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a222540,5b,0,ffff80002a2e6620) at ktrsysret+0xde sys/kern/kern_ktrace.c:209 syscall(ffff80002a2e66d0) at syscall+0xa51 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a2e66d0) at syscall+0xa51 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c63bf4baa60, count: 8 ddb{1}> trace x86_ipi_db(ffff80002999dff0) 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 __mp_lock(ffffffff83a58c00) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a58c00) at __mp_lock+0x199 sys/kern/kern_lock.c:173 ktrsysret(ffff80002a222540,5b,0,ffff80002a2e6620) at ktrsysret+0xde ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a222540,5b,0,ffff80002a2e6620) at ktrsysret+0xde sys/kern/kern_ktrace.c:209 syscall(ffff80002a2e66d0) at syscall+0xa51 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a2e66d0) at syscall+0xa51 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c63bf4baa60, count: -7