login: """"panic: pool_do_get: shmpl free list modified: page 0xfffffd802d631000; item addr 0xfffffd802d631240; offset 0x10=0xdeafbe00 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *490761 91447 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:399 panic() at panic+0x15c sys/kern/subr_prf.c:208 pool_do_get(ffffffff8225f0e0,1,ffff8000149e1d54) at pool_do_get+0x48b sys/kern/subr_pool.c:750 pool_get(ffffffff8225f0e0,1) at pool_get+0xc1 sys/kern/subr_pool.c:587 shmget_allocate_segment(ffff8000ffff32d8,ffff8000149e1f38,0,ffff8000149e1f20) at shmget_allocate_segment+0x15e sys/kern/sysv_shm.c:409 sys_shmget(ffff8000ffff32d8,ffff8000149e1f38,ffff8000149e1f20) at sys_shmget+0x13f sys/kern/sysv_shm.c:472 syscall(ffff8000149e1fd0) at syscall+0x541 Xsyscall(6,0,fffffffffffffff4,0,4,2bd07cbc0d8) at Xsyscall+0x128 end of kernel end trace frame: 0x2bfe4bf78f0, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic pool_do_get: shmpl free list modified: page 0xfffffd802d631000; item addr 0xfffffd802d631240; offset 0x10=0xdeafbe00 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:399 panic() at panic+0x15c sys/kern/subr_prf.c:208 pool_do_get(ffffffff8225f0e0,1,ffff8000149e1d54) at pool_do_get+0x48b sys/kern/subr_pool.c:750 pool_get(ffffffff8225f0e0,1) at pool_get+0xc1 sys/kern/subr_pool.c:587 shmget_allocate_segment(ffff8000ffff32d8,ffff8000149e1f38,0,ffff8000149e1f20) at shmget_allocate_segment+0x15e sys/kern/sysv_shm.c:409 sys_shmget(ffff8000ffff32d8,ffff8000149e1f38,ffff8000149e1f20) at sys_shmget+0x13f sys/kern/sysv_shm.c:472 syscall(ffff8000149e1fd0) at syscall+0x541 Xsyscall(6,0,fffffffffffffff4,0,4,2bd07cbc0d8) at Xsyscall+0x128 end of kernel end trace frame: 0x2bfe4bf78f0, count: -8 ddb> show registers rdi 0xffffffff81058cc7 db_enter+0x17 rsi 0x360c __ALIGN_SIZE+0x260c rbp 0xffff8000149e1bb0 rbx 0xffff8000149e1c60 rdx 0x360d __ALIGN_SIZE+0x260d rcx 0xffff800002d3c000 rax 0xffff800002d3c000 r8 0xffff8000149e1b70 r9 0x1 r10 0xffff80000193bd00 r11 0x5a5899caf78587fa r12 0x3000000008 r13 0xffff8000149e1bc0 r14 0x100 r15 0x1 rip 0xffffffff81058cc8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000149e1ba0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=490761 stat=onproc flags process=0 proc=4000000 pri=77, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2720,0xffff8000ffff3c48 process=0xffff8000ffff7078 user=0xffff8000149dd000, vmspace=0xfffffd803f013108 estcpu=27, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 58125 8957 36963 0 2 0 syz-executor.0 58125 486611 36963 0 3 0x4000080 fsleep syz-executor.0 91447 345035 45794 0 2 0 syz-executor.1 91447 41889 45794 0 2 0x4000000 syz-executor.1 *91447 490761 45794 0 7 0x4000000 syz-executor.1 91447 408717 45794 0 3 0x4000080 fsleep syz-executor.1 45794 305606 97149 0 3 0x82 nanosleep syz-executor.1 66770 306915 1 0 3 0x100083 ttyin getty 59837 336235 0 0 3 0x14200 bored sosplice 36963 170759 97149 0 2 0x482 syz-executor.0 97149 207136 39192 0 3 0x82 thrsleep syz-fuzzer 97149 328543 39192 0 3 0x4000082 thrsleep syz-fuzzer 97149 178663 39192 0 3 0x4000082 thrsleep syz-fuzzer 97149 203430 39192 0 3 0x4000082 thrsleep syz-fuzzer 97149 363392 39192 0 3 0x4000082 thrsleep syz-fuzzer 97149 16302 39192 0 3 0x4000082 thrsleep syz-fuzzer 97149 407970 39192 0 3 0x4000082 thrsleep syz-fuzzer 97149 421412 39192 0 3 0x4000082 kqread syz-fuzzer 39192 236137 85846 0 3 0x10008a pause ksh 85846 516830 99770 0 3 0x92 select sshd 99770 26728 1 0 3 0x80 select sshd 22645 429939 7471 73 3 0x100090 kqread syslogd 7471 458508 1 0 3 0x100082 netio syslogd 37364 300965 1 77 3 0x100090 poll dhclient 27969 329397 1 0 3 0x80 poll dhclient 30461 322069 0 0 2 0x14200 zerothread 54906 253094 0 0 3 0x14200 aiodoned aiodoned 73840 187716 0 0 3 0x14200 syncer update 41722 134010 0 0 3 0x14200 cleaner cleaner 30908 495807 0 0 3 0x14200 reaper reaper 51400 288019 0 0 3 0x14200 pgdaemon pagedaemon 30960 467364 0 0 3 0x14200 bored crynlk 63736 100115 0 0 3 0x14200 bored crypto 25232 20931 0 0 3 0x40014200 acpi0 acpi0 6406 182065 0 0 3 0x14200 bored softnet 92087 511760 0 0 3 0x14200 bored systqmp 95649 131765 0 0 3 0x14200 bored systq 55932 73990 0 0 3 0x40014200 bored softclock 44107 289002 0 0 3 0x40014200 idle0 42461 191333 0 0 3 0x14200 bored smr 1 129697 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9510 6365K 6381K 78643K 11072 0 0 pcb 23 9K 10K 78643K 707 0 0 rtable 100 3K 3K 78643K 465 0 0 ifaddr 58 13K 14K 78643K 213 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 50 0 0 iov 0 0K 24K 78643K 202 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1202 75K 76K 78643K 1972 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 3 5K 5K 78643K 23 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 0K 78643K 182 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 6 17K 17K 78643K 1262 0 0 sigio 1 0K 0K 78643K 16 0 0 proc 42 30K 46K 78643K 474 0 0 subproc 64 65538K 67586K 78643K 107 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 140 0 0 in_multi 33 2K 2K 78643K 99 0 0 ether_multi 1 0K 0K 78643K 13 0 0 mrt 0 0K 0K 78643K 5 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 72 318K 318K 78643K 72 0 0 exec 0 0K 1K 78643K 273 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 87 20K 21K 78643K 3918 0 0 UVM aobj 86 3K 4K 78643K 91 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 53 0 0 NDP 12 0K 0K 78643K 57 0 0 temp 170 2355K 2483K 78643K 6441 0 0 kqueue 0 0K 0K 78643K 13 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 5 0 1 1 0 1 1 0 8 0 inpcbpl 280 628 0 621 1 0 1 1 0 8 0 plimitpl 152 51 0 44 1 0 1 1 0 8 0 rtentry 112 50 0 10 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 225 0 221 1 0 1 1 0 8 0 nd6 48 6 0 2 1 0 1 1 0 8 0 ppxss 1128 33 0 33 6 5 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 229 0 41 12 0 12 12 0 8 0 art_table 32 230 0 41 2 0 2 2 0 8 0 art_node 16 49 0 15 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 4 1 0 1 1 0 8 0 semapl 112 180 0 170 1 0 1 1 0 8 0 shmpl 112 89 0 5 3 0 3 3 0 8 0 shmpl: pool(0xffffffff8225f0e0:shmpl): page inconsistency: page 0xfffffd802d631000; item ordinal 0; addr 0xe2cb00d244a68372 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3866 0 2441 47 0 47 47 0 8 0 ffsino 240 3866 0 2441 84 0 84 84 0 8 0 nchpl 144 5864 0 4254 61 0 61 61 0 8 0 uvmvnodes 72 4055 0 0 74 0 74 74 0 8 0 vnodes 200 4055 0 0 214 0 214 214 0 8 0 namei 1024 17774 0 17774 2 1 1 1 0 8 1 scsiplug 64 4 0 4 3 2 1 1 0 8 1 scxspl 192 19530 0 19530 16 15 1 5 0 8 1 sigapl 432 1432 0 1418 2 0 2 2 0 8 0 futexpl 56 21410 0 21408 1 0 1 1 0 8 0 knotepl 112 388 0 361 2 0 2 2 0 8 0 kqueuepl 104 347 0 345 1 0 1 1 0 8 0 pipepl 112 900 0 881 3 2 1 2 0 8 0 fdescpl 424 1433 0 1418 2 0 2 2 0 8 0 filepl 120 9052 0 8952 5 1 4 5 0 8 0 lockfpl 104 506 0 504 2 1 1 1 0 8 0 lockfspl 32 868 0 867 2 1 1 1 0 8 0 sessionpl 112 23 0 13 1 0 1 1 0 8 0 pgrppl 48 45 0 35 1 0 1 1 0 8 0 ucredpl 96 2465 0 2458 1 0 1 1 0 8 0 zombiepl 144 1418 0 1418 2 1 1 1 0 8 1 processpl 840 1448 0 1418 4 0 4 4 0 8 0 procpl 600 3206 0 3165 4 0 4 4 0 8 0 sosppl 128 27 0 27 5 5 0 1 0 8 0 sockpl 384 1243 0 1226 3 0 3 3 0 8 1 mcl64k 65536 282 0 282 33 32 1 29 0 8 1 mcl16k 16384 8 0 8 5 5 0 1 0 8 0 mcl12k 12288 30 0 30 6 5 1 1 0 8 1 mcl9k 9216 18 0 18 9 8 1 1 0 8 1 mcl8k 8192 25 0 25 7 7 0 1 0 8 0 mcl4k 4096 85 0 85 2 1 1 1 0 8 1 mcl2k2 2112 10 0 10 4 4 0 1 0 8 0 mcl2k 2048 48670 0 48633 18 12 6 12 0 8 0 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 86158 0 86088 26 19 7 18 0 8 2 bufpl 256 8561 0 4246 270 0 270 270 0 8 0 anonpl 16 151702 0 142809 74 22 52 53 0 62 12 amapchunkpl 152 5800 0 5714 8 3 5 5 0 158 1 amappl16 192 8381 0 7878 77 44 33 37 0 8 7 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 632 0 627 1 0 1 1 0 8 0 amappl13 168 25 0 22 1 0 1 1 0 8 0 amappl12 160 6 0 6 1 1 0 1 0 8 0 amappl11 152 187 0 177 1 0 1 1 0 8 0 amappl10 144 97 0 93 2 1 1 1 0 8 0 amappl9 136 347 0 343 1 0 1 1 0 8 0 amappl8 128 745 0 725 1 0 1 1 0 8 0 amappl7 120 25 0 22 1 0 1 1 0 8 0 amappl6 112 657 0 650 1 0 1 1 0 8 0 amappl5 104 163 0 150 1 0 1 1 0 8 0 amappl4 96 333 0 307 2 1 1 2 0 8 0 amappl3 88 184 0 177 1 0 1 1 0 8 0 amappl2 80 13723 0 13661 2 0 2 2 0 8 0 amappl1 72 34166 0 33731 24 15 9 19 0 8 0 amappl 72 3466 0 3431 1 0 1 1 0 75 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 90 0 5 2 0 2 2 0 8 0 uaddrrnd 24 1433 0 1418 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1433 0 1418 1 0 1 1 0 8 0 vmmpekpl 168 14052 0 14031 3 1 2 2 0 8 0 vmmpepl 168 156307 0 154774 141 62 79 92 0 357 12 vmsppl 264 1432 0 1418 1 0 1 1 0 8 0 pdppl 4096 2872 0 2836 5 0 5 5 0 8 0 pvpl 32 449100 0 436703 199 58 141 144 0 265 41 pmappl 192 1432 0 1418 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 471 0 79 13 1 12 13 0 8 0