panic: pr_find_pagehead: pdppl: incorrect page Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 290162 55728 0 0 0 0 syz-executor.6 *157225 97064 0 0x14000 0x200 1K reaper db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825af124) at panic+0x177 sys/kern/subr_prf.c:198 pool_do_put(ffffffff82b6e1f8,fffffd8071311000) at pool_do_put+0x36a pool_put(ffffffff82b6e1f8,fffffd8071311000) at pool_put+0x8b sys/kern/subr_pool.c:799 pmap_destroy(fffffd8069c255d0) at pmap_destroy+0x25a sys/arch/amd64/amd64/pmap.c:1409 uvm_map_teardown(fffffd80689c81a0) at uvm_map_teardown+0x29a sys/uvm/uvm_map.c:2601 uvmspace_free(fffffd80689c81a0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3513 reaper(ffff800021233508) at reaper+0x19a sys/kern/kern_exit.c:448 end trace frame: 0x0, 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: pr_find_pagehead: pdppl: incorrect page ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825af124) at panic+0x177 sys/kern/subr_prf.c:198 pool_do_put(ffffffff82b6e1f8,fffffd8071311000) at pool_do_put+0x36a pool_put(ffffffff82b6e1f8,fffffd8071311000) at pool_put+0x8b sys/kern/subr_pool.c:799 pmap_destroy(fffffd8069c255d0) at pmap_destroy+0x25a sys/arch/amd64/amd64/pmap.c:1409 uvm_map_teardown(fffffd80689c81a0) at uvm_map_teardown+0x29a sys/uvm/uvm_map.c:2601 uvmspace_free(fffffd80689c81a0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3513 reaper(ffff800021233508) at reaper+0x19a sys/kern/kern_exit.c:448 end trace frame: 0x0, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000212395c0 rbx 0xffff800020dd9b8f rdx 0 rcx 0 rax 0xffff800021233508 r8 0x101010101010101 r9 0x8080808080808080 r10 0x28d8584a2612f61f r11 0xa81f51954bc52c6e r12 0xffff800020dd9990 r13 0 r14 0 r15 0x1 rip 0xffffffff81d642c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000212395b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (reaper) pid=157225 stat=onproc flags process=14000 proc=200 pri=4, usrpri=85, nice=20 forw=0xffffffffffffffff, list=0xffff800021233a48,0xffff800021232fd8 process=0xffff8000fffff670 user=0xffff800021234000, vmspace=0xffffffff82bb1a08 estcpu=35, cpticks=7, pctcpu=4.32 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 59210 424323 59326 0 2 0 syz-executor.1 59210 239509 59326 0 3 0x4000080 fsleep syz-executor.1 55728 290162 56776 0 7 0 syz-executor.6 55728 354409 56776 0 2 0x4000000 syz-executor.6 2958 243769 16399 0 2 0 syz-executor.5 2958 372094 16399 0 3 0x4000080 fsleep syz-executor.5 41787 55504 54783 0 2 0 syz-executor.3 41787 243923 54783 0 3 0x4000080 fsleep syz-executor.3 20078 96383 72792 0 2 0 syz-executor.0 20078 276357 72792 0 3 0x4000080 fsleep syz-executor.0 20078 53800 72792 0 3 0x4000080 fsleep syz-executor.0 50748 227658 23460 0 2 0 syz-executor.7 50748 161839 23460 0 3 0x4000080 fsleep syz-executor.7 51414 131624 95457 0 3 0x82 nanoslp syz-executor.2 16399 437907 95457 0 3 0x82 nanoslp syz-executor.5 36035 71519 95457 0 3 0x82 nanoslp syz-executor.4 56776 416755 95457 0 3 0x82 nanoslp syz-executor.6 68658 444122 0 0 3 0x14200 acct acct 54783 56338 95457 0 3 0x82 nanoslp syz-executor.3 72792 414022 95457 0 3 0x82 nanoslp syz-executor.0 59326 225837 95457 0 3 0x82 nanoslp syz-executor.1 13088 123361 1 0 3 0x100083 ttyin getty 23460 142992 95457 0 3 0x82 nanoslp syz-executor.7 79190 354414 0 0 3 0x14200 bored sosplice 95457 207364 75576 0 3 0x82 thrsleep syz-fuzzer 95457 43665 75576 0 3 0x4000082 thrsleep syz-fuzzer 95457 392014 75576 0 3 0x4000082 thrsleep syz-fuzzer 95457 72216 75576 0 3 0x4000082 wait syz-fuzzer 95457 152364 75576 0 3 0x4000082 wait syz-fuzzer 95457 521480 75576 0 3 0x4000082 thrsleep syz-fuzzer 95457 310858 75576 0 3 0x4000082 kqread syz-fuzzer 95457 109261 75576 0 3 0x4000082 wait syz-fuzzer 95457 186166 75576 0 3 0x4000082 thrsleep syz-fuzzer 95457 395110 75576 0 3 0x4000082 thrsleep syz-fuzzer 95457 157929 75576 0 3 0x4000082 wait syz-fuzzer 95457 399270 75576 0 3 0x4000082 wait syz-fuzzer 95457 251757 75576 0 3 0x4000082 wait syz-fuzzer 95457 475560 75576 0 3 0x4000082 wait syz-fuzzer 95457 403497 75576 0 3 0x4000082 thrsleep syz-fuzzer 95457 8203 75576 0 3 0x4000082 wait syz-fuzzer 75576 96190 66844 0 3 0x10008a sigsusp ksh 66844 220307 22025 0 3 0x9a kqread sshd 22025 402568 1 0 3 0x88 kqread sshd 75915 407060 31788 74 3 0x1100092 bpf pflogd 31788 417259 1 0 3 0x80 netio pflogd 41179 30589 17525 73 3 0x1100090 kqread syslogd 17525 508244 1 0 3 0x100082 netio syslogd 39633 76968 1 0 3 0x100080 kqread resolvd 83807 31228 45426 77 3 0x100092 kqread dhcpleased 9160 454935 45426 77 3 0x100092 kqread dhcpleased 45426 299658 1 0 3 0x80 kqread dhcpleased 33989 465976 0 0 3 0x14200 bored smr 33357 200144 0 0 2 0x14200 zerothread 75320 78615 0 0 3 0x14200 aiodoned aiodoned 11070 245494 0 0 3 0x14200 syncer update 79888 260086 0 0 3 0x14200 cleaner cleaner *97064 157225 0 0 7 0x14200 reaper 69437 93605 0 0 3 0x14200 pgdaemon pagedaemon 34256 128955 0 0 3 0x14200 bored viomb 18475 37981 0 0 3 0x40014200 acpi0 acpi0 55093 489402 0 0 3 0x40014200 idle1 62132 394633 0 0 3 0x14200 bored softnet 83656 207269 0 0 3 0x14200 bored softnet 77259 455713 0 0 3 0x14200 bored softnet 63610 137073 0 0 3 0x14200 bored softnet 27359 211038 0 0 3 0x14200 bored systqmp 28200 270470 0 0 3 0x14200 bored systq 47474 102977 0 0 3 0x40014200 bored softclock 85083 381174 0 0 3 0x40014200 idle0 1 288702 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10211 6504K 7084K 78643K 22422 0 pcb 13 12K 13K 78643K 644 0 rtable 193 7K 9K 78643K 2822 0 ifaddr 86 20K 20K 78643K 515 0 counters 58 35K 36K 78643K 276 0 ioctlops 0 0K 4K 78643K 2161 0 iov 0 0K 24K 78643K 939 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1491 93K 93K 78643K 10156 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 50 0 VM map 2 1K 1K 78643K 2 0 sem 20 6K 8K 78643K 130 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 85K 78643K 18696 0 sigio 0 0K 0K 78643K 140 0 proc 71 91K 152K 78643K 1439 0 subproc 104 6K 6K 78643K 455 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 448 0 in_multi 78 5K 6K 78643K 637 0 ether_multi 1 0K 0K 78643K 91 0 mrt 1 0K 0K 78643K 50 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 85 387K 387K 78643K 85 0 exec 0 0K 1K 78643K 1823 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 397 508K 568K 78643K 114412 0 UVM aobj 131 4K 4K 78643K 154 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 125 0 NDP 13 0K 2K 78643K 178 0 temp 133 4702K 70238K 78643K 136691 0 kqueue 12 18K 26K 78643K 622 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 2206 0 2137 11 8 3 3 0 8 0 rtentry 112 479 0 395 4 1 3 4 0 8 0 unpcb 144 11648 0 11633 49 46 3 10 0 8 2 syncache 296 40 0 40 5 5 0 1 0 8 0 tcpqe 32 471 0 471 6 6 0 1 0 8 0 tcpcb 776 7019 0 7015 24 17 7 8 0 8 6 arp 120 80 0 64 1 0 1 1 0 8 0 inpcb 368 8767 0 8760 38 31 7 13 0 8 6 pool(0xffffffff82b75698:inpcb): page inconsistency: page 0x0; 0 on list, 0 missing, 11 items per page nd6 48 110 0 89 1 0 1 1 0 8 0 pkpcb 40 21 0 21 4 4 0 1 0 8 0 kcovpl 48 35 0 27 1 0 1 1 0 8 0 mppekey 1024 5 0 5 2 2 0 1 0 8 0 ppxss 1256 36 0 36 6 6 0 1 0 8 0 pppxif 1448 14 0 14 4 4 0 1 0 8 0 pfstscr 40 10 0 6 1 0 1 1 0 8 0 pffrag 232 16 0 16 2 2 0 1 0 482 0 pffrnode 88 16 0 16 2 2 0 1 0 8 0 pffrent 40 32 0 32 2 2 0 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 pfanchor 1280 899 26 387 44 1 43 43 0 8 0 pfstitem 24 8 0 4 1 0 1 1 0 8 0 pfstkey 120 14 0 13 1 0 1 1 0 8 0 pfstate 384 9 0 5 1 0 1 1 0 8 0 rttmr 136 15 0 15 3 3 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1921 0 1582 42 20 22 30 0 8 0 art_table 32 1922 0 1582 4 1 3 4 0 8 0 art_node 16 478 0 405 1 0 1 1 0 8 0 sysvmsgpl 40 30 0 10 1 0 1 1 0 8 0 semapl 112 117 0 99 1 0 1 1 0 8 0 shmpl 112 151 0 23 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 22631 0 21152 93 0 93 93 0 8 0 ffsino 272 22631 0 21152 99 0 99 99 0 8 0 nchpl 144 44720 0 43080 63 0 63 63 0 8 0 uvmvnodes 80 6792 0 0 139 0 139 139 0 8 0 vnodes 216 6792 0 0 378 0 378 378 0 8 0 namei 1024 131772 0 131772 5 4 1 2 0 8 1 percpumem 16 150 0 109 1 0 1 1 0 8 0 vcpupl 2048 29 0 3 4 0 4 4 0 8 0 vmpool 568 29 0 3 3 1 2 3 0 8 0 kstatmem 264 206 0 180 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 216 135694 0 135694 16 15 1 8 0 8 1 plimitpl 152 321 0 305 1 0 1 1 0 8 0 sigapl 424 18965 0 18915 7 1 6 6 0 8 0 futexpl 64 109396 0 109390 7 6 1 1 0 8 0 knotepl 120 672 0 0 15 1 14 15 0 8 0 kqueuepl 216 2013 0 2005 11 10 1 5 0 8 0 pipepl 320 2216 0 2188 34 26 8 8 0 8 5 fdescpl 496 18939 0 18910 6 2 4 5 0 8 0 filepl 152 83695 0 83389 79 62 17 20 0 8 5 lockfpl 104 1441 0 1439 4 3 1 2 0 8 0 lockfspl 48 559 0 557 1 0 1 1 0 8 0 sessionpl 144 52 0 35 1 0 1 1 0 8 0 pgrppl 48 82 0 65 1 0 1 1 0 8 0 ucredpl 104 3989 0 3976 1 0 1 1 0 8 0 zombiepl 144 18917 0 18915 1 0 1 1 0 8 0 processpl 1072 18965 0 18915 4 0 4 4 0 8 0 procpl 672 42974 0 42902 10 3 7 8 0 8 0 srpgc 96 36 0 36 7 7 0 1 0 8 0 sosppl 168 61 0 61 8 8 0 1 0 8 0 sockpl 488 22657 0 22566 184 172 12 34 0 8 0 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 14 0 0 2 0 2 2 0 8 0 mcl12k 12288 41 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 33 0 0 3 0 3 3 0 8 0 mcl4k 4096 33 0 0 3 0 3 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 674 0 0 39 9 30 39 0 8 0 mtagpl 96 294 0 0 5 0 5 5 0 8 0 mbufpl 256 3912 0 0 219 0 219 219 0 8 0 bufpl 288 29488 0 22697 486 0 486 486 0 8 0 anonpl 24 3264223 0 3249403 256 154 102 223 0 186 0 amapchunkpl 152 321898 0 321168 104 73 31 85 0 158 0 amappl16 200 25088 0 24659 82 59 23 31 0 8 0 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 236 0 220 2 1 1 2 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 767 0 764 1 0 1 1 0 8 0 amappl11 160 55 0 40 1 0 1 1 0 8 0 amappl10 152 62 0 50 1 0 1 1 0 8 0 amappl9 144 965 0 965 11 11 0 1 0 8 0 amappl8 136 413 0 319 5 1 4 4 0 8 0 amappl7 128 112 0 92 1 0 1 1 0 8 0 amappl6 120 636 0 614 2 1 1 2 0 8 0 amappl5 112 168 0 157 1 0 1 1 0 8 0 amappl4 104 895 0 854 3 1 2 2 0 8 0 amappl3 96 51438 0 51380 2 0 2 2 0 8 0 amappl2 88 19869 0 19788 3 1 2 3 0 8 0 amappl1 80 405683 0 404905 25 7 18 22 0 8 1 amappl 88 113765 0 113536 6 0 6 6 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 153 0 23 3 0 3 3 0 8 0 uaddrrnd 24 18968 0 18913 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 18968 0 18913 1 0 1 1 0 8 0 vmmpekpl 168 113294 0 113225 4 0 4 4 0 8 0 vmmpepl 168 1634884 0 1632159 238 110 128 141 0 357 2 vmsppl 368 18967 0 18912 7 1 6 6 0 8 0 rwobjpl 56 400340 0 391696 127 4 123 123 0 8 0 pdppl 4096 37943 0 37850 625 530 95 102 0 8 2 pool(0xffffffff82b6e1f8:pdppl): page inconsistency: page 0x0; 0 on list, 0 missing, 1 items per page pool(0xffffffff82b6e1f8:pdppl): page inconsistency: page 0x0; 0 on list, 0 missing, 1 items per page pvpl 32 6764207 0 6743390 534 338 196 418 0 265 0 pmappl 248 18967 0 18912 5 1 4 4 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1683 0 605 32 0 32 32 0 8 0 phpool: pool(0xffffffff82ab2ec0:phpool): page inconsistency: page 0x0; at page head addr 0xfffffd805e132f90 (p 0xfffffd805e132000) ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff829cbff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 end of kernel end trace frame: 0x7f7ffff037d0, count: 12 ddb{0}> trace x86_ipi_db(ffffffff829cbff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 end of kernel end trace frame: 0x7f7ffff037d0, count: -3 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825af124) at panic+0x177 sys/kern/subr_prf.c:198 pool_do_put(ffffffff82b6e1f8,fffffd8071311000) at pool_do_put+0x36a pool_put(ffffffff82b6e1f8,fffffd8071311000) at pool_put+0x8b sys/kern/subr_pool.c:799 pmap_destroy(fffffd8069c255d0) at pmap_destroy+0x25a sys/arch/amd64/amd64/pmap.c:1409 uvm_map_teardown(fffffd80689c81a0) at uvm_map_teardown+0x29a sys/uvm/uvm_map.c:2601 uvmspace_free(fffffd80689c81a0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3513 reaper(ffff800021233508) at reaper+0x19a sys/kern/kern_exit.c:448 end trace frame: 0x0, count: 7 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825af124) at panic+0x177 sys/kern/subr_prf.c:198 pool_do_put(ffffffff82b6e1f8,fffffd8071311000) at pool_do_put+0x36a pool_put(ffffffff82b6e1f8,fffffd8071311000) at pool_put+0x8b sys/kern/subr_pool.c:799 pmap_destroy(fffffd8069c255d0) at pmap_destroy+0x25a sys/arch/amd64/amd64/pmap.c:1409 uvm_map_teardown(fffffd80689c81a0) at uvm_map_teardown+0x29a sys/uvm/uvm_map.c:2601 uvmspace_free(fffffd80689c81a0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3513 reaper(ffff800021233508) at reaper+0x19a sys/kern/kern_exit.c:448 end trace frame: 0x0, count: -8