panic: pool_do_get: shmpl free list modified: page 0xfffff7006cc7b000; item addr 0xfffff7006cc7b770; offset 0x40=0x6a5952f6 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 40730 91397 0 0 0 0 syz-executor *278626 91397 0 0 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834b4be2) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83a5e9e0,9,ffff80002a2885d8) at pool_do_get+0x5df pool_get(ffffffff83a5e9e0,9) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff80002a223c98,ffff80002a288830,0,ffff80002a288780) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff80002a223c98,ffff80002a288830,ffff80002a288780) at sys_shmget+0x195 sys/kern/sysv_shm.c:503 syscall(ffff80002a288830) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a288830) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1ba7cc0a4e0, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: pool_do_get: shmpl free list modified: page 0xfffff7006cc7b000; item addr 0xfffff7006cc7b770; offset 0x40=0x6a5952f6 ddb{1}> show kasan No such command ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834b4be2) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83a5e9e0,9,ffff80002a2885d8) at pool_do_get+0x5df pool_get(ffffffff83a5e9e0,9) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff80002a223c98,ffff80002a288830,0,ffff80002a288780) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff80002a223c98,ffff80002a288830,ffff80002a288780) at sys_shmget+0x195 sys/kern/sysv_shm.c:503 syscall(ffff80002a288830) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a288830) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1ba7cc0a4e0, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a288400 rbx 0xffff80002999ee07 rdx 0xffff80000160a2c0 rcx 0xffff80002a223c98 rax 0xffff80002999dff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xba080408ebcefad0 r11 0xad3651698b44f247 r12 0xffff80002999ec08 r13 0 r14 0 r15 0x1 rip 0xffffffff816d6f65 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a2883f0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=278626 pid=91397 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a223238,0xffff800045fefcb0 process=0xffff80003c3d4020 user=0xffff80002a283000, vmspace=0xfffff7006cd73d78 estcpu=36, cpticks=3, pctcpu=0.0, user=0, sys=3, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 62802 435893 51002 0 2 0 0 syz-executor 2778 377420 67684 0 2 0 0 syz-executor 2778 171613 67684 0 3 0 0x4000080 kqread syz-executor 91397 40730 31167 0 7 0 0 syz-executor *91397 278626 31167 0 7 0 0x4000000 syz-executor 73625 71978 95596 60929 3 0x10 0x80 nanoslp syz-executor 73625 375841 95596 60929 3 0x10 0x4000080 sbwait syz-executor 73625 154604 95596 60929 3 0x10 0x4000080 fsleep syz-executor 73625 59418 95596 60929 3 0x10 0x4000080 fsleep syz-executor 76043 122726 73683 60929 3 0x10 0x80 nanoslp syz-executor 76043 416776 73683 60929 3 0x10 0x4000080 ttyin syz-executor 76043 374578 73683 60929 3 0x10 0x4000080 fsleep syz-executor 43666 390985 763 0 3 0 0x80 nanoslp syz-executor 43666 161038 763 0 3 0 0x4000080 fsleep syz-executor 43666 266954 763 0 3 0 0x4000080 fsleep syz-executor 43666 300450 763 0 3 0 0x4000080 fifor syz-executor 43666 466414 763 0 3 0 0x4000080 fsleep syz-executor 29155 215888 1 0 3 0x100003 0x80 ttyin getty 95612 112337 38014 0 3 0x2 0x80 nanoslp syz-executor 67684 169378 38014 0 3 0x2 0x80 nanoslp syz-executor 55774 461664 38014 0 3 0x2 0 biowait syz-executor 73683 470214 38014 0 3 0x2 0x80 nanoslp syz-executor 31167 271029 38014 0 3 0x2 0x80 nanoslp syz-executor 95596 457628 38014 0 3 0x2 0x80 nanoslp syz-executor 51002 25930 38014 0 3 0x2 0x80 nanoslp syz-executor 763 47469 38014 0 3 0x2 0x80 nanoslp syz-executor 38014 353589 1 0 3 0x2 0x80 kqread syz-executor 82109 114723 0 0 3 0x14000 0x200 bored smr 99718 80029 0 0 2 0x14000 0x200 zerothread 5420 3337 0 0 3 0x14000 0x200 aiodoned aiodoned 21751 136404 0 0 3 0x14000 0x200 syncer update 58434 418602 0 0 3 0x14000 0x200 cleaner cleaner 22323 424723 0 0 3 0x14000 0x200 reaper reaper 42214 457926 0 0 3 0x14000 0x200 pgdaemon pagedaemon 72152 216559 0 0 3 0x14000 0x200 bored viomb 54971 28382 0 0 3 0x14000 0x40000200 acpi0 acpi0 18558 33293 0 0 3 0x14000 0x40000200 idle1 45011 232391 0 0 3 0x14000 0x200 bored softnet1 95030 434502 0 0 3 0x14000 0x200 bored softnet0 61112 453366 0 0 3 0x14000 0x200 bored systqmp 84904 258853 0 0 3 0x14000 0x200 bored systq 49228 491616 0 0 3 0x14000 0x200 tmoslp softclockmp 92570 353996 0 0 3 0x14000 0x40000200 tmoslp softclock 53225 115189 0 0 3 0x14000 0x40000200 idle0 1 273162 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex shmpl r = 0 (0xffffffff83a5e9f8) #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 91397 (syz-executor) thread 0xffff80002a223c98 (278626) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a49b40) #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 (0xffffffff83a5e9f8) #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 55774 (syz-executor) thread 0xffff800045fef770 (461664) exclusive rrwlock inode r = 0 (0xfffff7007aa0f7e0) #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 ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline] #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:150 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232 #6 ffs_inode_alloc+0x279 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0xfc sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3063 #10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffff7006d22c308) #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 domkdirat+0x8b sys/kern/vfs_syscalls.c:3048 #8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11071 12097K 12302K 166960K 12655 0 pcb 18 14K 16K 166960K 148 0 rtable 213 7K 10K 166960K 612 0 pf 37 18K 26K 166960K 707 0 ifaddr 41 7K 8K 166960K 113 0 ifgroup 59 2K 3K 166960K 198 0 sysctl 4 1K 9K 166960K 13 0 counters 72 37K 38K 166960K 246 0 ioctlops 0 0K 4K 166960K 1790 0 iov 0 0K 18K 166960K 26 0 mount 1 1K 1K 166960K 1 0 log 3 0K 0K 166960K 7 0 vnodes 1320 83K 83K 166960K 1912 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 95 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 61K 97K 166960K 707 0 sigio 0 0K 0K 166960K 3 0 proc 21 33K 180K 166960K 590 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 45 0 in_multi 88 6K 7K 166960K 122 0 ether_multi 1 0K 0K 166960K 3 0 mrt 2 0K 0K 166960K 17 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 506 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 134 91K 180K 166960K 7970 0 UVM aobj 11 2K 2K 166960K 12 0 pinsyscall 19 38K 104K 166960K 1897 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 18 0 NDP 13 0K 2K 166960K 81 0 temp 43 9115K 9156K 166960K 34274 0 kqueue 2 2K 29K 166960K 261 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 80 0 80 1 0 1 1 0 8 1 rtentry 176 134 0 41 6 0 6 6 0 8 0 unpcb 144 320 0 318 4 0 4 4 0 8 3 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 83 0 80 1 0 1 1 0 8 0 arp 136 23 0 5 1 0 1 1 0 8 0 inpcb 328 527 0 519 12 3 9 12 0 8 8 nd6 152 27 0 3 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 5 0 5 1 0 1 1 0 8 1 ppxss 1192 75 0 75 1 0 1 1 0 8 1 pppxif 1576 8 0 8 1 0 1 1 0 8 1 pfstscr 40 4 0 4 1 0 1 1 0 8 1 pffrag 232 4 0 2 1 0 1 1 0 482 0 pffrnode 88 4 0 2 1 0 1 1 0 8 0 pffrent 40 7 0 5 2 1 1 1 0 8 0 pfosfp 40 1430 0 1006 5 0 5 5 0 8 0 pfosfpen 112 1430 0 715 21 0 21 21 0 8 0 pfrktable 1344 89 0 89 1 0 1 1 0 8 1 pfsrclim 320 2 0 2 1 0 1 1 0 8 1 pfanchor 1288 36 0 34 1 0 1 1 0 8 0 pftag 88 10 0 4 1 0 1 1 0 8 0 pfstitem 24 48 0 1 1 0 1 1 0 8 0 pfstkey 128 52 0 5 2 0 2 2 0 8 0 pfstate 448 50 0 3 6 0 6 6 0 8 0 pfrule 1360 105 0 99 3 0 3 3 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 572 0 139 29 1 28 29 0 8 0 art_table 40 573 0 139 5 0 5 5 0 8 0 art_node 32 133 0 50 1 0 1 1 0 8 0 sysvmsgpl 40 39 0 38 1 0 1 1 0 8 0 semapl 72 90 0 80 1 0 1 1 0 8 0 shmpl 112 9 0 1 1 0 1 1 0 8 0 pool(0xffffffff83a5e9e0:shmpl): page inconsistency: page 0xfffff7006cc7b000; 26 on list, 8 missing, 35 items per page dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2613 0 1144 93 0 93 93 0 8 0 ffsino 296 2613 0 1144 114 0 114 114 0 8 0 nchpl 144 3595 0 1893 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 3074 0 0 171 0 171 171 0 8 0 namei 1024 11185 0 11184 2 0 2 2 0 8 1 percpumem 16 139 0 87 1 0 1 1 0 8 0 pfiaddrpl 120 42 0 42 1 0 1 1 0 8 1 kstatmem 264 135 0 104 3 0 3 3 0 8 0 scsiplug 72 7 0 7 1 0 1 1 0 8 1 scxspl 216 14038 0 14037 11 3 8 8 1 8 7 plimitpl 152 122 0 109 1 0 1 1 0 8 0 sigapl 424 1034 0 999 7 1 6 7 0 8 0 knotepl 120 486 0 0 15 0 15 15 0 8 0 kqueuepl 224 326 0 323 2 0 2 2 0 8 1 pipepl 344 151 0 124 3 0 3 3 0 8 0 fdescpl 528 1018 0 999 3 0 3 3 0 8 0 filepl 160 4946 0 4765 16 0 16 16 0 8 7 lockfpl 104 389 0 386 1 0 1 1 0 8 0 lockfspl 48 155 0 152 1 0 1 1 0 8 0 sessionpl 144 39 0 35 1 0 1 1 0 8 0 pgrppl 48 51 0 39 1 0 1 1 0 8 0 ucredpl 104 634 0 629 1 0 1 1 0 8 0 zombiepl 144 1000 0 999 1 0 1 1 0 8 0 processpl 1232 1034 0 999 5 0 5 5 0 8 0 procpl 664 1825 0 1779 6 0 6 6 0 8 1 sosppl 176 3 0 1 1 0 1 1 0 8 0 sockpl 752 936 0 926 14 4 10 14 0 8 8 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k128 9344 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 127 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 60 0 0 8 0 8 8 0 8 0 mextrefs 64 60 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 7134 0 0 446 0 446 446 0 8 0 bufpl 272 5883 0 112 385 0 385 385 0 8 0 anonpl 32 7614 0 0 62 0 62 62 0 247 0 amapchunkpl 152 26447 0 25977 31 1 30 30 0 158 10 amappl16 200 2306 0 2284 6 3 3 5 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 444 0 444 1 0 1 1 0 8 1 amappl13 176 144 0 143 1 0 1 1 0 8 0 amappl12 168 1273 0 1256 2 0 2 2 0 8 0 amappl11 160 20 0 20 2 2 0 1 0 8 0 amappl10 152 66 0 66 1 0 1 1 0 8 1 amappl9 144 284 0 284 1 1 0 1 0 8 0 amappl8 136 101 0 101 1 0 1 1 0 8 1 amappl7 128 171 0 169 1 0 1 1 0 8 0 amappl6 120 157 0 157 1 0 1 1 0 8 1 amappl5 112 103 0 102 1 0 1 1 0 8 0 amappl4 104 298 0 295 1 0 1 1 0 8 0 amappl3 96 5212 0 5137 4 0 4 4 0 8 0 amappl2 88 565 0 557 2 0 2 2 0 8 0 amappl1 80 12853 0 12736 15 2 13 15 0 8 5 amappl 88 7107 0 6988 5 0 5 5 0 92 1 uvmvnodes 80 115 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 0 1 1 0 8 1 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 255 0 255 3 2 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 11 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1018 0 999 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1018 0 999 1 0 1 1 0 8 0 vmmpekpl 168 9425 0 9388 2 0 2 2 0 8 0 vmmpepl 168 69952 0 69107 87 0 87 87 0 357 44 vmsppl 488 1017 0 999 5 1 4 5 0 8 0 rwobjpl 80 20686 0 20247 24 1 23 24 0 8 2 pdppl 4096 2043 0 1998 103 56 47 87 0 8 2 pvpl 32 15849 0 0 128 0 128 128 0 265 0 pmappl 256 1017 0 999 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 1108 0 60 30 0 30 30 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83955ff0) 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(ffffffff83a49340) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a49340) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff80003c3cb420,ffff8000002a2900) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_cmp8(7e0284184fff,7e0284185a10) at __sanitizer_cov_trace_cmp8+0x2e kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_cmp8(7e0284184fff,7e0284185a10) at __sanitizer_cov_trace_cmp8+0x2e sys/dev/kcov.c:212 uvm_map_inentry(ffff80002a2234d0,ffff80002a223518,7e0284185a10,ffffffff834fdaa2,ffffffff81931b90,0) at uvm_map_inentry+0x7b uvm_map_inentry_recheck sys/uvm/uvm_map.c:1595 [inline] uvm_map_inentry(ffff80002a2234d0,ffff80002a223518,7e0284185a10,ffffffff834fdaa2,ffffffff81931b90,0) at uvm_map_inentry+0x7b sys/uvm/uvm_map.c:1646 syscall(ffff80003c3cb650) at syscall+0x345 mi_syscall sys/sys/syscall_mi.h:159 [inline] syscall(ffff80003c3cb650) at syscall+0x345 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e0284185aa0, count: 5 ddb{0}> trace x86_ipi_db(ffffffff83955ff0) 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(ffffffff83a49340) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a49340) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff80003c3cb420,ffff8000002a2900) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_cmp8(7e0284184fff,7e0284185a10) at __sanitizer_cov_trace_cmp8+0x2e kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_cmp8(7e0284184fff,7e0284185a10) at __sanitizer_cov_trace_cmp8+0x2e sys/dev/kcov.c:212 uvm_map_inentry(ffff80002a2234d0,ffff80002a223518,7e0284185a10,ffffffff834fdaa2,ffffffff81931b90,0) at uvm_map_inentry+0x7b uvm_map_inentry_recheck sys/uvm/uvm_map.c:1595 [inline] uvm_map_inentry(ffff80002a2234d0,ffff80002a223518,7e0284185a10,ffffffff834fdaa2,ffffffff81931b90,0) at uvm_map_inentry+0x7b sys/uvm/uvm_map.c:1646 syscall(ffff80003c3cb650) at syscall+0x345 mi_syscall sys/sys/syscall_mi.h:159 [inline] syscall(ffff80003c3cb650) at syscall+0x345 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e0284185aa0, count: -10 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834b4be2) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83a5e9e0,9,ffff80002a2885d8) at pool_do_get+0x5df pool_get(ffffffff83a5e9e0,9) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff80002a223c98,ffff80002a288830,0,ffff80002a288780) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff80002a223c98,ffff80002a288830,ffff80002a288780) at sys_shmget+0x195 sys/kern/sysv_shm.c:503 syscall(ffff80002a288830) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a288830) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1ba7cc0a4e0, count: 7 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834b4be2) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83a5e9e0,9,ffff80002a2885d8) at pool_do_get+0x5df pool_get(ffffffff83a5e9e0,9) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff80002a223c98,ffff80002a288830,0,ffff80002a288780) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff80002a223c98,ffff80002a288830,ffff80002a288780) at sys_shmget+0x195 sys/kern/sysv_shm.c:503 syscall(ffff80002a288830) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a288830) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1ba7cc0a4e0, count: -8 ddb{1}>