panic: pool_p_free: tcpqe free list modified: page 0xfffffd80692aa000; item addr 0xfffffd80692aa008; offset 0x0=0x0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 102289 35305 0 0x14000 0x200 0 smr *442587 47851 0 0x14000 0x200 1 systqmp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8224911e) at panic+0x15c sys/kern/subr_prf.c:207 pool_p_free(ffffffff82640bf0,fffffd80692aaf90) at pool_p_free+0x1de sys/kern/subr_pool.c:983 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1578 taskq_thread(ffffffff824e9a30) at taskq_thread+0x9c sys/kern/kern_task.c:369 end trace frame: 0x0, count: 10 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 pool_p_free: tcpqe free list modified: page 0xfffffd80692aa000; item addr 0xfffffd80692aa008; offset 0x0=0x0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8224911e) at panic+0x15c sys/kern/subr_prf.c:207 pool_p_free(ffffffff82640bf0,fffffd80692aaf90) at pool_p_free+0x1de sys/kern/subr_pool.c:983 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1578 taskq_thread(ffffffff824e9a30) at taskq_thread+0x9c sys/kern/kern_task.c:369 end trace frame: 0x0, count: -5 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a33ab0 rbx 0xffff800020a33b60 rdx 0xffff800020a19110 rcx 0 rax 0 r8 0xffffffff8113b1df kprintf+0x16f r9 0x1 r10 0x25 r11 0x423d4061fa53db6d r12 0x3000000008 r13 0xffff800020a33ac0 r14 0x100 r15 0x1 rip 0xffffffff8193efd8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a33aa0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (systqmp) pid=442587 stat=onproc flags process=14000 proc=200 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a195f0,0xffff800020a18c40 process=0xffff800020a1a780 user=0xffff800020a2e000, vmspace=0xffffffff8265b178 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 97180 154769 98495 0 2 0 syz-executor.0 97180 453301 98495 0 2 0x4000000 syz-executor.0 45670 376880 20233 0 2 0x480 syz-executor.1 45670 103783 20233 0 3 0x4000080 nanosleep syz-executor.1 33610 331014 0 0 3 0x14200 bored sosplice 20233 101505 40568 0 2 0x482 syz-executor.1 98495 2298 40568 0 2 0x482 syz-executor.0 40568 321037 36264 0 2 0x482 syz-fuzzer 40568 22874 36264 0 2 0x4000482 syz-fuzzer 40568 46753 36264 0 3 0x4000082 thrsleep syz-fuzzer 40568 402074 36264 0 3 0x4000082 thrsleep syz-fuzzer 40568 384608 36264 0 3 0x4000082 thrsleep syz-fuzzer 40568 31628 36264 0 3 0x4000082 kqread syz-fuzzer 40568 144560 36264 0 3 0x4000082 thrsleep syz-fuzzer 40568 291552 36264 0 3 0x4000082 thrsleep syz-fuzzer 40568 37690 36264 0 3 0x4000082 thrsleep syz-fuzzer 40568 255491 36264 0 3 0x4000082 thrsleep syz-fuzzer 36264 84946 37809 0 3 0x10008a pause ksh 37809 254479 93053 0 3 0x92 select sshd 62253 155761 1 0 3 0x100083 ttyin getty 93053 401242 1 0 3 0x80 select sshd 30605 293305 59318 74 2 0x100492 pflogd 59318 65808 1 0 3 0x80 netio pflogd 78048 272531 51453 73 3 0x100090 kqread syslogd 51453 477167 1 0 3 0x100082 netio syslogd 25206 388365 1 77 3 0x100090 poll dhclient 94506 475223 1 0 2 0 dhclient 35305 102289 0 0 7 0x14200 smr 40656 53160 0 0 2 0x14200 zerothread 97338 225447 0 0 3 0x14200 aiodoned aiodoned 64649 35004 0 0 3 0x14200 syncer update 30977 463147 0 0 3 0x14200 cleaner cleaner 75599 130488 0 0 3 0x14200 reaper reaper 64029 284878 0 0 3 0x14200 pgdaemon pagedaemon 8211 404489 0 0 3 0x14200 bored crynlk 47871 89081 0 0 3 0x14200 bored crypto 94952 306611 0 0 3 0x40014200 acpi0 acpi0 88715 388655 0 0 3 0x40014200 idle1 36942 81806 0 0 3 0x14200 bored softnet *47851 442587 0 0 7 0x14200 systqmp 17364 428560 0 0 3 0x14200 bored systq 22246 424462 0 0 2 0x40014200 softclock 76752 191935 0 0 3 0x40014200 idle0 1 11705 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff82661eb8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvm_pmr_freepages+0x126 sys/uvm/uvm_pmemrange.c:1254 #4 uvm_km_pgremove_intrsafe+0x86 sys/uvm/uvm_km.c:294 #5 uvm_unmap_kill_entry+0x112 sys/uvm/uvm_map.c:2115 #6 uvm_unmap_remove+0x398 sys/uvm/uvm_map.c:2230 #7 uvm_unmap+0x85 vm_map_unlock_ln sys/uvm/uvm_map.c:5445 [inline] #7 uvm_unmap+0x85 sys/uvm/uvm_map.c:2040 #8 free+0x1fe sys/kern/kern_malloc.c:437 #9 bpf_d_smr+0x54 sys/net/bpf.c:1587 #10 smr_thread+0x296 sys/kern/kern_smr.c:117 #11 proc_trampoline+0x1c exclusive mutex &map->mtx r = 0 (0xffffffff82606e68) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 vm_map_lock_ln+0x60 sys/uvm/uvm_map.c:5418 #4 uvm_unmap+0x6b sys/uvm/uvm_map.c:2039 #5 free+0x1fe sys/kern/kern_malloc.c:437 #6 bpf_d_smr+0x54 sys/net/bpf.c:1587 #7 smr_thread+0x296 sys/kern/kern_smr.c:117 #8 proc_trampoline+0x1c Process 35305 (smr) thread 0xffff800020a6c9c8 (102289) shared rwlock smr r = 0 (0xffffffff824754b0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 smr_thread+0x242 sys/kern/kern_smr.c:117 #2 proc_trampoline+0x1c Process 47851 (systqmp) thread 0xffff800020a19110 (442587) shared rwlock pools r = 0 (0xffffffff824bce50) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 pool_gc_pages+0x21 sys/kern/subr_pool.c:1555 #2 taskq_thread+0x9c sys/kern/kern_task.c:369 #3 proc_trampoline+0x1c shared rwlock systqmp r = 0 (0xffffffff824e9a90) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 taskq_thread+0x8f sys/kern/kern_task.c:368 #2 proc_trampoline+0x1c ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9510 6420K 7186K 78643K 11070 0 pcb 13 8K 8K 78643K 43 0 rtable 104 3K 3K 78643K 268 0 ifaddr 72 14K 14K 78643K 93 0 counters 43 33K 34K 78643K 47 0 ioctlops 0 0K 4K 78643K 1471 0 iov 0 0K 16K 78643K 92 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1339 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 23 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 139 0 sigio 0 0K 0K 78643K 2 0 proc 61 63K 95K 78643K 444 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 11 0 in_multi 55 2K 3K 78643K 83 0 ether_multi 1 0K 0K 78643K 4 0 mrt 0 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 222 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 113 22K 38K 78643K 1395 0 UVM aobj 4 2K 3K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 8 0 NDP 12 0K 0K 78643K 22 0 temp 94 3018K 3082K 78643K 4833 0 kqueue 3 4K 10K 78643K 8 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 arp 64 7 0 1 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 27 0 25 1 0 1 1 0 8 0 rtentry 112 70 0 28 2 0 2 2 0 8 0 unpcb 120 131 0 121 2 0 2 2 0 8 1 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 573 0 573 2 2 0 2 0 8 0 tcpcb 544 66 0 62 1 0 1 1 0 8 0 inpcb 280 223 0 216 2 0 2 2 0 8 1 nd6 48 12 0 8 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 ppxss 1128 1 0 1 1 0 1 1 0 8 1 pffrag 232 3 0 3 1 0 1 1 0 482 1 pffrnode 88 3 0 3 1 0 1 1 0 8 1 pffrent 40 10 0 10 1 0 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 20 0 0 1 0 1 1 0 8 0 pfstkey 112 20 0 0 1 0 1 1 0 8 0 pfstate 328 20 0 0 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 333 0 153 13 0 13 13 0 8 1 art_table 32 335 0 153 2 0 2 2 0 8 0 art_node 16 69 0 30 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 6 1 0 1 1 0 8 1 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 21 0 11 1 0 1 1 0 8 0 shmpl 112 5 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1598 0 193 46 0 46 46 0 8 0 ffsino 272 1598 0 193 95 0 95 95 0 8 0 nchpl 144 1989 0 370 61 0 61 61 0 8 0 uvmvnodes 72 1739 0 0 32 0 32 32 0 8 0 vnodes 208 1739 0 0 92 0 92 92 0 8 0 namei 1024 5450 0 5450 1 0 1 1 0 8 1 percpumem 16 34 0 2 1 0 1 1 0 8 0 vmpool 560 2 0 2 1 0 1 1 0 8 1 scxspl 192 6073 0 6073 8 1 7 7 0 8 7 plimitpl 152 27 0 19 1 0 1 1 0 8 0 sigapl 424 355 0 322 4 0 4 4 0 8 0 futexpl 56 2630 0 2630 1 0 1 1 0 8 1 knotepl 112 61 0 42 1 0 1 1 0 8 0 kqueuepl 144 50 0 47 1 0 1 1 0 8 0 pipelkpl 48 119 0 109 1 0 1 1 0 8 0 pipepl 120 238 0 219 2 0 2 2 0 8 1 fdescpl 496 339 0 322 3 0 3 3 0 8 0 filepl 152 2137 0 2036 6 0 6 6 0 8 2 lockfpl 104 81 0 80 1 0 1 1 0 8 0 lockfspl 48 32 0 31 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 137 0 128 1 0 1 1 0 8 0 zombiepl 144 322 0 322 1 0 1 1 0 8 1 processpl 960 355 0 322 5 0 5 5 0 8 0 procpl 624 605 0 561 4 0 4 4 0 8 0 sosppl 128 8 0 8 1 0 1 1 0 8 1 sockpl 400 389 0 370 6 0 6 6 0 8 4 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 226 0 0 28 0 28 28 0 8 0 mtagpl 80 8 0 0 1 0 1 1 0 8 0 mbufpl 256 336 0 0 21 0 21 21 0 8 0 bufpl 280 4400 0 176 302 0 302 302 0 8 0 anonpl 16 53011 0 32069 86 1 85 85 0 124 0 amapchunkpl 152 1988 0 1837 13 0 13 13 0 158 6 amappl16 192 1738 0 572 59 0 59 59 0 8 0 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 7 0 5 2 1 1 1 0 8 0 amappl13 168 73 0 70 1 0 1 1 0 8 0 amappl12 160 10 0 8 1 0 1 1 0 8 0 amappl11 152 131 0 111 1 0 1 1 0 8 0 amappl10 144 17 0 12 1 0 1 1 0 8 0 amappl9 136 380 0 377 1 0 1 1 0 8 0 amappl8 128 326 0 301 1 0 1 1 0 8 0 amappl7 120 118 0 107 1 0 1 1 0 8 0 amappl6 112 87 0 79 1 0 1 1 0 8 0 amappl5 104 157 0 140 1 0 1 1 0 8 0 amappl4 96 615 0 576 2 1 1 2 0 8 0 amappl3 88 153 0 145 1 0 1 1 0 8 0 amappl2 80 1792 0 1714 3 1 2 3 0 8 0 amappl1 72 17530 0 17068 24 13 11 20 0 8 1 amappl 80 862 0 816 2 0 2 2 0 84 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 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 64 6 0 3 1 0 1 1 0 8 0 uaddrrnd 24 341 0 324 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 341 0 324 1 0 1 1 0 8 0 vmmpekpl 168 6638 0 6600 2 0 2 2 0 8 0 vmmpepl 168 49120 0 46687 118 2 116 116 0 357 10 vmsppl 368 340 0 324 2 0 2 2 0 8 0 pdppl 4096 690 0 648 6 0 6 6 0 8 0 pvpl 32 165967 0 141815 195 0 195 195 0 265 0 pmappl 232 340 0 324 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 190 0 3 6 0 6 6 0 8 0