(~JVL:%LE(ŚX@SܲvtA[`p=H8rDc`E3OQ`}ׂFFzk%l.<_M7ht?we#s3] ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: pool_do_get: shmpl free list modified: page 0xfffffd806615c000; item addr 0xfffffd806615ca80; offset 0x40=0x6736de6b ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83072598) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff835c7910,1,ffff800032792538) at pool_do_get+0x5e6 pool_get(ffffffff835c7910,1) at pool_get+0x141 shmget_allocate_segment(ffff8000ffffc298,ffff800032792790,f0,ffff8000327926e0) at shmget_allocate_segment+0x1a7 sys_shmget(ffff8000ffffc298,ffff800032792790,ffff8000327926e0) at sys_shmget+0x1b2 sys/kern/sysv_shm.c:482 syscall(ffff800032792790) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff800032792790) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3887abed200, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800032792380 rbx 0xffff800029b7cdbf rdx 0xffff800001290ec0 rcx 0xffff8000ffffc298 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x5c31b9f14f1ca41d r11 0x68e647cc51649908 r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff81e356c5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800032792370 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=403602 pid=36222 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=0xffff80002a10d700,0xffff8000ffffc530 process=0xffff8000372716a8 user=0xffff80003278d000, vmspace=0xfffffd80695de3a0 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 66411 287763 7694 0 2 0 syz-executor 12704 179708 78631 0 2 0 syz-executor 99375 96595 68347 0 2 0 syz-executor 36222 269526 126 0 7 0 syz-executor *36222 403602 126 0 7 0x4000000 syz-executor 58563 313801 72918 0 2 0 syz-executor 58563 79990 72918 0 3 0x4000080 fsleep syz-executor 58563 49537 72918 0 2 0x4000000 syz-executor 25674 112795 92597 0 2 0 syz-executor 25674 431321 92597 0 2 0x4000000 syz-executor 26034 92113 25322 0 2 0 syz-executor 26034 505576 25322 0 3 0x4000080 fsleep syz-executor 75361 133476 0 0 3 0x14200 bored sosplice 48702 344809 0 0 3 0x14280 nfsidl nfsio 71620 31657 0 0 3 0x14280 nfsidl nfsio 16229 434073 0 0 3 0x14280 nfsidl nfsio 7281 377366 0 0 3 0x14280 nfsidl nfsio 44756 385531 0 0 3 0x14280 nfsidl nfsio 66554 459064 0 0 3 0x14280 nfsidl nfsio 50111 133335 0 0 3 0x14280 nfsidl nfsio 51120 490973 0 0 3 0x14280 nfsidl nfsio 29716 60304 0 0 3 0x14280 nfsidl nfsio 8445 476309 0 0 3 0x14280 nfsidl nfsio 24457 19203 0 0 3 0x14280 nfsidl nfsio 72384 299289 0 0 3 0x14280 nfsidl nfsio 33455 143369 0 0 3 0x14280 nfsidl nfsio 81432 322867 0 0 3 0x14280 nfsidl nfsio 76558 120872 0 0 3 0x14280 nfsidl nfsio 6351 190491 0 0 3 0x14280 nfsidl nfsio 17522 12080 0 0 3 0x14280 nfsidl nfsio 82938 503400 0 0 3 0x14280 nfsidl nfsio 40441 202738 0 0 3 0x14280 nfsidl nfsio 96221 192846 0 0 3 0x14280 nfsidl nfsio 68347 292132 86269 0 3 0x82 nanoslp syz-executor 78631 435219 86269 0 3 0x82 nanoslp syz-executor 7694 337838 86269 0 3 0x82 nanoslp syz-executor 25322 213295 86269 0 2 0x2 syz-executor 21186 520164 86269 0 3 0x82 wait syz-executor 92597 504557 86269 0 3 0x82 nanoslp syz-executor 126 401460 86269 0 3 0x82 nanoslp syz-executor 72918 169910 86269 0 2 0x2 syz-executor 86269 194800 29599 0 3 0x82 kqread syz-executor 29599 198280 12161 0 3 0x10008a sigsusp ksh 12161 259759 37582 0 3 0x98 kqread sshd-session 37582 420876 42166 0 3 0x92 kqread sshd-session 42968 235671 1 0 3 0x100083 ttyopn getty 42166 195301 1 0 3 0x88 kqread sshd 98767 258055 83372 74 3 0x1100092 bpf pflogd 83372 193650 1 0 3 0x80 sbwait pflogd 80022 30117 26525 73 3 0x1100090 kqread syslogd 26525 343175 1 0 3 0x100082 sbwait syslogd 8692 53678 1 0 3 0x100080 kqread resolvd 65426 425232 99102 77 3 0x100092 kqread dhcpleased 25300 55559 99102 77 3 0x100092 kqread dhcpleased 99102 298936 1 0 3 0x80 kqread dhcpleased 31243 390191 0 0 3 0x14200 bored smr 42675 306251 0 0 2 0x14200 zerothread 36532 119690 0 0 3 0x14200 aiodoned aiodoned 62509 421479 0 0 3 0x14200 syncer update 12481 319922 0 0 3 0x14200 cleaner cleaner 34110 254944 0 0 3 0x14200 reaper reaper 34030 67838 0 0 3 0x14200 pgdaemon pagedaemon 52446 146424 0 0 3 0x14200 bored viomb 60962 380074 0 0 3 0x40014200 acpi0 acpi0 25551 9195 0 0 3 0x40014200 idle1 32427 182003 0 0 3 0x14200 bored softnet3 49428 52058 0 0 3 0x14200 bored softnet2 12738 111780 0 0 3 0x14200 bored softnet1 61377 183719 0 0 3 0x14200 bored softnet0 24828 41674 0 0 3 0x14200 bored systqmp 95960 169675 0 0 3 0x14200 bored systq 64963 173262 0 0 3 0x14200 tmoslp softclockmp 93774 340813 0 0 3 0x40014200 tmoslp softclock 74851 245945 0 0 3 0x40014200 idle0 1 287004 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex shmpl r = 0 (0xffffffff835c7920) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 pool_get+0x103 sys/kern/subr_pool.c:579 #4 shmget_allocate_segment+0x1a7 #5 sys_shmget+0x1b2 sys/kern/sysv_shm.c:482 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 36222 (syz-executor) thread 0xffff8000ffffc298 (403602) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8363bb40) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #1 syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 #2 Xsyscall+0x128 exclusive mutex shmpl r = 0 (0xffffffff835c7920) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 pool_get+0x103 sys/kern/subr_pool.c:579 #4 shmget_allocate_segment+0x1a7 #5 sys_shmget+0x1b2 sys/kern/sysv_shm.c:482 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10205 11196K 11382K 166960K 11648 0 pcb 17 14K 15K 166960K 122 0 rtable 242 7K 8K 166960K 406 0 pf 38 18K 18K 166960K 64 0 ifaddr 45 8K 8K 166960K 57 0 ifgroup 57 2K 2K 166960K 69 0 counters 66 36K 36K 166960K 76 0 ioctlops 0 0K 4K 166960K 1518 0 iov 0 0K 16K 166960K 24 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1431 90K 91K 166960K 1690 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 22 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 93K 166960K 495 0 sigio 0 0K 0K 166960K 6 0 proc 72 91K 128K 166960K 559 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 59 0 in_multi 103 7K 7K 166960K 138 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 415 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 222 72K 87K 166960K 6318 0 UVM aobj 8 2K 2K 166960K 10 0 pinsyscall 43 86K 106K 166960K 1609 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 30 0 NDP 13 0K 2K 166960K 36 0 temp 50 6821K 6890K 166960K 20882 0 kqueue 13 20K 30K 166960K 86 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 24 0 0 1 0 1 1 0 8 0 rtpcb 120 75 0 71 1 0 1 1 0 8 0 rtentry 112 122 0 10 4 0 4 4 0 8 0 unpcb 144 205 0 188 2 1 1 2 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 808 133 0 127 2 0 2 2 0 8 1 arp 120 20 0 1 1 0 1 1 0 8 0 inpcb 336 644 0 635 14 6 8 8 0 8 6 nd6 136 26 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1168 5 0 4 2 1 1 1 0 8 0 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pffrag 232 4 0 1 1 0 1 1 0 482 0 pffrnode 88 4 0 1 1 0 1 1 0 8 0 pffrent 40 76 0 73 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 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pftag 88 2 0 1 1 0 1 1 0 8 0 pfstitem 24 58 0 3 1 0 1 1 0 8 0 pfstkey 128 58 0 3 2 0 2 2 0 8 0 pfstate 376 57 0 3 6 0 6 6 0 8 0 pfrule 1344 25 0 19 2 0 2 2 0 8 0 rttmr 136 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 549 0 37 33 1 32 32 0 8 0 art_table 32 551 0 37 6 1 5 5 0 8 0 art_node 16 119 0 19 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 20 0 10 1 0 1 1 0 8 0 shmpl 112 7 0 2 1 0 1 1 0 8 0 pool(0xffffffff835c7910:shmpl): page inconsistency: page 0xfffffd806615c000; 29 on list, 5 missing, 35 items per page dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2214 0 713 95 0 95 95 0 8 0 ffsino 272 2214 0 713 101 0 101 101 0 8 0 nchpl 144 2886 0 1201 63 0 63 63 0 8 0 uvmvnodes 80 2517 0 0 52 0 52 52 0 8 0 vnodes 216 2517 0 0 140 0 140 140 0 8 0 namei 1024 9570 0 9570 3 2 1 2 0 8 1 percpumem 16 52 0 5 1 0 1 1 0 8 0 kstatmem 264 36 0 10 2 0 2 2 0 8 0 scxspl 216 8334 0 8334 3 2 1 2 1 8 1 plimitpl 152 79 0 62 1 0 1 1 0 8 0 sigapl 424 828 0 757 9 0 9 9 0 8 0 futexpl 64 5940 0 5938 1 0 1 1 0 8 0 knotepl 120 495 0 0 15 0 15 15 0 8 0 kqueuepl 216 153 0 144 3 2 1 3 0 8 0 pipepl 320 158 0 131 3 0 3 3 0 8 0 fdescpl 496 788 0 756 5 0 5 5 0 8 0 filepl 152 4116 0 3872 20 6 14 17 0 8 3 lockfpl 104 304 0 302 2 1 1 2 0 8 0 lockfspl 48 59 0 57 1 0 1 1 0 8 0 sessionpl 144 23 0 14 1 0 1 1 0 8 0 pgrppl 48 39 0 22 1 0 1 1 0 8 0 ucredpl 104 473 0 459 1 0 1 1 0 8 0 zombiepl 144 758 0 757 1 0 1 1 0 8 0 processpl 1160 828 0 757 6 0 6 6 0 8 0 procpl 648 1471 0 1395 8 0 8 8 0 8 1 sockpl 664 929 0 899 16 6 10 10 0 8 6 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 140 0 0 18 0 18 18 0 8 0 mcl2k 2048 21 0 0 3 0 3 3 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 240 0 0 15 0 15 15 0 8 0 bufpl 280 2906 0 94 201 0 201 201 0 8 0 anonpl 24 163415 0 160154 68 22 46 46 0 185 21 amapchunkpl 152 20118 0 19670 29 6 23 28 0 158 2 amappl16 200 4065 0 4041 27 17 10 15 0 8 8 amappl15 192 27 0 27 1 1 0 1 0 8 0 amappl14 184 116 0 104 1 0 1 1 0 8 0 amappl13 176 6 0 6 2 2 0 1 0 8 0 amappl12 168 1446 0 1416 4 2 2 3 0 8 0 amappl11 160 57 0 43 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 1 0 1 0 8 0 amappl9 144 138 0 138 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 135 0 123 1 0 1 1 0 8 0 amappl6 120 187 0 186 1 0 1 1 0 8 0 amappl5 112 133 0 122 1 0 1 1 0 8 0 amappl4 104 325 0 305 1 0 1 1 0 8 0 amappl3 96 3895 0 3806 3 0 3 3 0 8 0 amappl2 88 1077 0 994 3 0 3 3 0 8 0 amappl1 80 8986 0 8419 15 1 14 15 0 8 0 amappl 88 5890 0 5731 5 0 5 5 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 9 0 2 1 0 1 1 0 8 0 uaddrrnd 24 788 0 756 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 788 0 756 1 0 1 1 0 8 0 vmmpekpl 168 7897 0 7858 3 0 3 3 0 8 0 vmmpepl 168 55783 0 53918 104 9 95 95 0 357 8 vmsppl 448 787 0 756 6 2 4 5 0 8 0 rwobjpl 56 21356 0 17924 50 1 49 49 0 8 0 pdppl 4096 1583 0 1512 103 32 71 85 0 8 0 pvpl 32 14516 0 0 118 0 118 118 0 265 0 pmappl 248 787 0 756 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 406 0 47 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff834d4ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 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(ffffffff8363b938) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8363b938) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80002f986db0,ffff800000079e00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff8363b938) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8363b938) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x796b4ed12560, count: 6 ddb{0}> trace x86_ipi_db(ffffffff834d4ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 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(ffffffff8363b938) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8363b938) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80002f986db0,ffff800000079e00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff8363b938) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8363b938) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x796b4ed12560, count: -9 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:437 panic(ffffffff83072598) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff835c7910,1,ffff800032792538) at pool_do_get+0x5e6 pool_get(ffffffff835c7910,1) at pool_get+0x141 shmget_allocate_segment(ffff8000ffffc298,ffff800032792790,f0,ffff8000327926e0) at shmget_allocate_segment+0x1a7 sys_shmget(ffff8000ffffc298,ffff800032792790,ffff8000327926e0) at sys_shmget+0x1b2 sys/kern/sysv_shm.c:482 syscall(ffff800032792790) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff800032792790) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3887abed200, count: 7 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83072598) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff835c7910,1,ffff800032792538) at pool_do_get+0x5e6 pool_get(ffffffff835c7910,1) at pool_get+0x141 shmget_allocate_segment(ffff8000ffffc298,ffff800032792790,f0,ffff8000327926e0) at shmget_allocate_segment+0x1a7 sys_shmget(ffff8000ffffc298,ffff800032792790,ffff8000327926e0) at sys_shmget+0x1b2 sys/kern/sysv_shm.c:482 syscall(ffff800032792790) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff800032792790) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3887abed200, count: -8