panic: pool_do_get: sockpl free list modified: page 0xfffffd8079630000; item addr 0xfffffd8079630230; offset 0x0=0x0 != 0xfb1d5d3d07c889cc Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *288927 44572 0 0x8000000 0x4000000 0 syz-executor.0 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8285fd38) at panic+0x165 sys/kern/subr_prf.c:198 pool_do_get(ffffffff82d34db8,9,ffff8000375c2f9c) at pool_do_get+0x434 pool_get(ffffffff82d34db8,9) at pool_get+0xba sys/kern/subr_pool.c:582 soalloc(ffffffff82bd95b0,1) at soalloc+0x58 sys/kern/uipc_socket.c:141 socreate(1,ffff8000375c30b8,1,0) at socreate+0xa6 sys/kern/uipc_socket.c:201 sys_socket(ffff80002a6c14a8,ffff8000375c3210,ffff8000375c3160) at sys_socket+0xdc sys/kern/uipc_syscalls.c:101 syscall(ffff8000375c3210) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd552f4ff490, count: 6 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 *cpu0: pool_do_get: sockpl free list modified: page 0xfffffd8079630000; item addr 0xfffffd8079630230; offset 0x0=0x0 != 0xfb1d5d3d07c889cc ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8285fd38) at panic+0x165 sys/kern/subr_prf.c:198 pool_do_get(ffffffff82d34db8,9,ffff8000375c2f9c) at pool_do_get+0x434 pool_get(ffffffff82d34db8,9) at pool_get+0xba sys/kern/subr_pool.c:582 soalloc(ffffffff82bd95b0,1) at soalloc+0x58 sys/kern/uipc_socket.c:141 socreate(1,ffff8000375c30b8,1,0) at socreate+0xa6 sys/kern/uipc_socket.c:201 sys_socket(ffff80002a6c14a8,ffff8000375c3210,ffff8000375c3160) at sys_socket+0xdc sys/kern/uipc_syscalls.c:101 syscall(ffff8000375c3210) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd552f4ff490, count: -9 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000375c2e10 rbx 0xfffffd8079630230 rdx 0 rcx 0 rax 0xffff80002a6c14a8 r8 0x101010101010101 r9 0x8080808080808080 r10 0x67b2292d51280fb3 r11 0x7b29ffa97afbf008 r12 0 r13 0xfffffd806858a460 r14 0 r15 0x1 rip 0xffffffff8190e68c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff8000375c2e00 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) tid=288927 pid=44572 tcnt=3 stat=onproc flags process=8000000 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a6c0cf8,0xffff80002f57c2d8 process=0xffff8000377c10e8 user=0xffff8000375be000, vmspace=0xfffffd8069137010 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 84756 238581 36060 0 2 0x8000010 syz-executor.4 84756 518786 36060 0 3 0xc000090 fsleep syz-executor.4 66425 2452 51992 0 2 0x8000000 syz-executor.1 66425 300738 51992 0 3 0xc000080 fsleep syz-executor.1 44572 497011 46096 0 2 0x8000000 syz-executor.0 *44572 288927 46096 0 7 0xc000000 syz-executor.0 44572 419660 46096 0 3 0xc000080 fsleep syz-executor.0 36578 133872 20939 0 2 0x8000000 syz-executor.3 36578 15046 20939 0 3 0xc000080 fsleep syz-executor.3 652 332371 57794 0 2 0x8000000 syz-executor.6 652 504341 57794 0 3 0xc000080 fsleep syz-executor.6 20168 287215 49193 0 2 0x8000000 syz-executor.7 20168 225650 49193 0 3 0xc000080 kqread syz-executor.7 20168 398352 49193 0 3 0xc000080 fsleep syz-executor.7 88241 415303 91677 0 3 0x8000080 nanoslp syz-executor.2 88241 384468 91677 0 3 0xc000080 ttyout syz-executor.2 88241 163809 91677 0 3 0xc000080 fsleep syz-executor.2 20939 311860 91940 0 3 0x8000082 nanoslp syz-executor.3 91677 29327 91940 0 3 0x8000082 nanoslp syz-executor.2 10299 374921 91940 0 3 0x8000082 nanoslp syz-executor.5 49193 184454 91940 0 3 0x8000082 nanoslp syz-executor.7 46096 468102 91940 0 3 0x8000082 nanoslp syz-executor.0 57794 72809 91940 0 3 0x8000082 nanoslp syz-executor.6 36060 166625 91940 0 3 0x8000082 nanoslp syz-executor.4 51992 127042 91940 0 3 0x8000082 nanoslp syz-executor.1 60744 304471 1 0 3 0x18100083 ttyin getty 96594 430767 0 0 3 0x14200 acct acct 63773 31376 0 0 3 0x14280 nfsidl nfsio 81833 521307 0 0 3 0x14280 nfsidl nfsio 52087 225732 0 0 3 0x14280 nfsidl nfsio 53941 392445 0 0 3 0x14280 nfsidl nfsio 12098 471799 0 0 3 0x14280 nfsidl nfsio 43181 310393 0 0 3 0x14280 nfsidl nfsio 88094 339084 0 0 3 0x14280 nfsidl nfsio 86259 165097 0 0 3 0x14280 nfsidl nfsio 93667 155376 0 0 3 0x14280 nfsidl nfsio 68668 133030 0 0 3 0x14280 nfsidl nfsio 81843 367869 0 0 3 0x14280 nfsidl nfsio 88997 329685 0 0 3 0x14280 nfsidl nfsio 88072 123571 0 0 3 0x14280 nfsidl nfsio 22198 28879 0 0 3 0x14280 nfsidl nfsio 7771 431360 0 0 3 0x14280 nfsidl nfsio 81925 152586 0 0 3 0x14280 nfsidl nfsio 40231 273696 0 0 3 0x14280 nfsidl nfsio 24152 60342 0 0 3 0x14280 nfsidl nfsio 77181 117284 0 0 3 0x14280 nfsidl nfsio 74656 91583 0 0 3 0x14280 nfsidl nfsio 32670 330880 0 0 3 0x14200 bored sosplice 91940 83884 23309 0 3 0x1a000082 wait syz-fuzzer 91940 199138 23309 0 3 0x1e000082 thrsleep syz-fuzzer 91940 300697 23309 0 3 0x1e000082 wait syz-fuzzer 91940 451242 23309 0 3 0x1e000082 wait syz-fuzzer 91940 19010 23309 0 3 0x1e000082 wait syz-fuzzer 91940 516205 23309 0 3 0x1e000082 wait syz-fuzzer 91940 254242 23309 0 3 0x1e000082 thrsleep syz-fuzzer 91940 184157 23309 0 3 0x1e000082 thrsleep syz-fuzzer 91940 376922 23309 0 3 0x1e000082 thrsleep syz-fuzzer 91940 424708 23309 0 3 0x1e000082 thrsleep syz-fuzzer 91940 344751 23309 0 3 0x1e000082 kqread syz-fuzzer 91940 105484 23309 0 3 0x1e000082 wait syz-fuzzer 91940 235752 23309 0 3 0x1e000082 wait syz-fuzzer 91940 494182 23309 0 3 0x1e000082 wait syz-fuzzer 23309 333492 33959 0 3 0x810008a sigsusp ksh 33959 155114 73333 0 3 0x1800009a kqread sshd 73333 500069 1 0 3 0x18000088 kqread sshd 60897 370921 6606 73 3 0x19100090 kqread syslogd 6606 175040 1 0 3 0x18100082 sbwait syslogd 95532 231643 1 0 3 0x18100080 kqread resolvd 26869 316725 98639 77 3 0x18100092 kqread dhcpleased 17583 170968 98639 77 3 0x18100092 kqread dhcpleased 98639 461354 1 0 3 0x18000080 kqread dhcpleased 10922 240719 0 0 3 0x14200 bored smr 56475 63949 0 0 2 0x14200 zerothread 88691 59227 0 0 3 0x14200 aiodoned aiodoned 63263 375268 0 0 3 0x14200 syncer update 52784 299228 0 0 3 0x14200 cleaner cleaner 87093 518583 0 0 3 0x14200 reaper reaper 31085 129646 0 0 3 0x14200 pgdaemon pagedaemon 79264 377071 0 0 3 0x14200 bored viomb 9833 548 0 0 3 0x40014200 acpi0 acpi0 7301 395453 0 0 3 0x14200 bored softnet3 74623 73422 0 0 3 0x14200 bored softnet2 12668 167481 0 0 3 0x14200 bored softnet1 77460 213602 0 0 3 0x14200 bored softnet0 84318 1891 0 0 3 0x14200 bored systqmp 26942 29298 0 0 3 0x14200 bored systq 40068 130652 0 0 3 0x40014200 tmoslp softclock 1369 382472 0 0 3 0x40014200 idle0 1 425182 0 0 3 0x8000082 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 devbuf 10184 6493K 11028K 166960K 18621 0 pcb 17 14K 16K 166960K 449 0 rtable 201 14K 15K 166960K 6279 0 pf 31 9K 10K 166960K 550 0 ifaddr 41 12K 13K 166960K 863 0 ifgroup 54 2K 2K 166960K 1039 0 sysctl 4 1K 2K 166960K 16 0 counters 31 17K 18K 166960K 268 0 ioctlops 0 0K 2K 166960K 410 0 iov 0 0K 24K 166960K 218 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1505 95K 95K 166960K 7208 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 68K 76K 166960K 92 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 272 0 dirhash 12 2K 3K 166960K 117 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 18 65K 113K 166960K 5961 0 sigio 0 0K 0K 166960K 73 0 proc 60 67K 124K 166960K 5933 0 subproc 104 6K 8K 166960K 2838 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 509 0 in_multi 85 6K 7K 166960K 2252 0 ether_multi 1 0K 0K 166960K 32 0 mrt 1 0K 0K 166960K 17 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 3184 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 316 81K 108K 166960K 44356 0 UVM aobj 162 7K 7K 166960K 174 0 pinsyscall 38 76K 108K 166960K 12130 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 229 0 NDP 12 0K 2K 166960K 636 0 temp 78 6812K 14748K 166960K 198254 0 kqueue 14 22K 28K 166960K 458 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 760 0 757 1 0 1 1 0 8 0 rtentry 112 2269 0 2181 4 0 4 4 0 8 1 unpcb 144 2989 0 2965 6 0 6 6 0 8 5 syncache 336 4 0 4 1 0 1 1 0 8 1 sackhl 24 1 31 1 1 0 1 1 0 8 1 tcpqe 32 38 0 38 1 0 1 1 0 8 1 tcpcb 808 1212 0 1207 8 0 8 8 0 8 7 arp 88 421 0 405 1 0 1 1 0 8 0 ipq 40 20 0 19 1 0 1 1 0 8 0 ipqe 40 374 0 373 1 0 1 1 0 8 0 inpcb 352 4699 0 4687 15 6 9 14 0 8 7 nd6 104 599 0 577 1 0 1 1 0 8 0 pkpcb 40 26 0 26 1 0 1 1 0 8 1 kcovpl 48 218 0 210 1 0 1 1 0 8 0 ppxss 1072 9 0 9 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 9171 0 8790 117 88 29 29 0 8 2 art_table 32 9172 0 8790 4 0 4 4 0 8 0 art_node 16 2257 0 2178 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 9 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 268 0 258 1 0 1 1 0 8 0 shmpl 112 171 0 12 5 0 5 5 0 8 0 dirhash 1024 87 0 70 3 0 3 3 0 8 0 dino2pl 256 7662 0 6142 96 0 96 96 0 8 0 ffsino 240 7662 0 6142 90 0 90 90 0 8 0 nchpl 144 14287 0 13681 67 34 33 67 0 8 8 uvmvnodes 80 10253 0 0 210 0 210 210 0 8 0 vnodes 216 10253 0 0 570 0 570 570 0 8 0 namei 1024 66585 0 66585 2 0 2 2 0 8 2 vcpupl 3904 24 0 2 3 0 3 3 0 8 0 vmpool 664 35 0 13 3 0 3 3 0 8 1 kstatmem 264 498 0 474 3 0 3 3 0 8 1 scsiplug 72 8 0 8 1 0 1 1 0 8 1 scxspl 216 120120 0 120120 8 0 8 8 1 8 8 plimitpl 152 789 0 772 1 0 1 1 0 8 0 sigapl 424 5871 0 5804 9 0 9 9 0 8 0 futexpl 64 64347 0 64340 1 0 1 1 0 8 0 knotepl 120 20048 0 19714 36 24 12 24 0 8 1 kqueuepl 184 992 0 982 2 0 2 2 0 8 1 pipepl 288 1431 0 1403 5 0 5 5 0 8 2 fdescpl 432 5830 0 5801 5 0 5 5 0 8 1 filepl 120 33304 0 33044 15 0 15 15 0 8 7 lockfpl 104 1300 0 1298 2 0 2 2 0 8 1 lockfspl 48 484 0 482 1 0 1 1 0 8 0 sessionpl 144 217 0 201 1 0 1 1 0 8 0 pgrppl 48 272 0 256 1 0 1 1 0 8 0 ucredpl 104 4480 0 4467 1 0 1 1 0 8 0 zombiepl 144 5805 0 5804 1 0 1 1 0 8 0 processpl 1072 5871 0 5804 6 0 6 6 0 8 0 procpl 656 9707 0 9617 9 0 9 9 0 8 1 sosppl 168 41 0 41 1 0 1 1 0 8 1 sockpl 504 8511 0 8472 44 33 11 21 0 8 6 sockpl: pool(0xffffffff82d34db8:sockpl): free list modified: page 0xfffffd8079630000; item ordinal 0; addr 0xfffffd8079630230 (p 0xfffffd806858a000); offset 0x0=0x0 pool(sockpl): free list modified: page 0xfffffd8079630000; item ordinal 0; addr 0xfffffd8079630230 (p 0xfffffd806858a000); offset 0x0=0x0 sockpl: pool(0xffffffff82d34db8:sockpl): page inconsistency: page 0xfffffd8079630000; item ordinal 1; addr 0x7d4aa8f108ac2cc2 mcl64k 65536 18 0 18 1 0 1 1 0 8 1 mcl12k 12288 7 0 7 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 127 0 127 1 0 1 1 0 8 1 mcl4k 4096 18 0 18 1 0 1 1 0 8 1 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 51447 0 51345 42 21 21 36 0 8 7 mtagpl 96 204 0 196 1 0 1 1 0 8 0 mbufpl 256 152277 0 152052 80 58 22 27 0 8 6 bufpl 280 17028 0 6775 733 0 733 733 0 8 0 anonpl 24 770343 0 763829 96 0 96 96 0 188 27 amapchunkpl 152 140317 0 139608 48 0 48 48 0 158 20 amappl16 200 14129 0 13960 68 50 18 23 0 8 8 amappl15 192 239 0 238 1 0 1 1 0 8 0 amappl14 184 737 0 726 2 0 2 2 0 8 1 amappl13 176 48 0 47 1 0 1 1 0 8 0 amappl12 168 9294 0 9263 3 0 3 3 0 8 1 amappl11 160 52 0 42 1 0 1 1 0 8 0 amappl10 152 264 0 253 1 0 1 1 0 8 0 amappl9 144 141 0 141 1 0 1 1 0 8 1 amappl8 136 524 0 494 2 0 2 2 0 8 0 amappl7 128 71 0 57 1 0 1 1 0 8 0 amappl6 120 2748 0 2735 2 0 2 2 0 8 0 amappl5 112 947 0 933 1 0 1 1 0 8 0 amappl4 104 1782 0 1751 2 0 2 2 0 8 1 amappl3 96 25534 0 25443 3 0 3 3 0 8 0 amappl2 88 7026 0 6946 4 0 4 4 0 8 1 amappl1 80 39587 0 39089 22 3 19 22 0 8 7 amappl 88 42253 0 42042 6 0 6 6 0 92 1 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 173 0 12 3 0 3 3 0 8 0 uaddrrnd 24 5865 0 5814 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5865 0 5814 1 0 1 1 0 8 0 vmmpekpl 168 47759 0 47700 4 0 4 4 0 8 0 vmmpepl 168 423150 0 421159 113 0 113 113 0 357 23 vmsppl 344 5864 0 5814 6 0 6 6 0 8 0 rwobjpl 24 105457 0 93909 71 0 71 71 0 8 0 pdppl 4096 11736 0 11650 590 504 86 111 0 8 0 pvpl 32 2351428 0 2338109 370 18 352 370 0 265 207 pmappl 216 5864 0 5814 4 0 4 4 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1085 0 704 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8285fd38) at panic+0x165 sys/kern/subr_prf.c:198 pool_do_get(ffffffff82d34db8,9,ffff8000375c2f9c) at pool_do_get+0x434 pool_get(ffffffff82d34db8,9) at pool_get+0xba sys/kern/subr_pool.c:582 soalloc(ffffffff82bd95b0,1) at soalloc+0x58 sys/kern/uipc_socket.c:141 socreate(1,ffff8000375c30b8,1,0) at socreate+0xa6 sys/kern/uipc_socket.c:201 sys_socket(ffff80002a6c14a8,ffff8000375c3210,ffff8000375c3160) at sys_socket+0xdc sys/kern/uipc_syscalls.c:101 syscall(ffff8000375c3210) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd552f4ff490, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8285fd38) at panic+0x165 sys/kern/subr_prf.c:198 pool_do_get(ffffffff82d34db8,9,ffff8000375c2f9c) at pool_do_get+0x434 pool_get(ffffffff82d34db8,9) at pool_get+0xba sys/kern/subr_pool.c:582 soalloc(ffffffff82bd95b0,1) at soalloc+0x58 sys/kern/uipc_socket.c:141 socreate(1,ffff8000375c30b8,1,0) at socreate+0xa6 sys/kern/uipc_socket.c:201 sys_socket(ffff80002a6c14a8,ffff8000375c3210,ffff8000375c3160) at sys_socket+0xdc sys/kern/uipc_syscalls.c:101 syscall(ffff8000375c3210) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd552f4ff490, count: -9