login: panic: pool_p_free: rttmr free list modified: page 0xfffffd800c3bf000; item addr 0xfffffd800c3bfe60; offset 0x10=0x838edc30 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *333775 97155 0 0x14000 0x200 0 systqmp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83366faa) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_p_free(ffffffff838e9988,fffffd800c3bff90) at pool_p_free+0x2d1 sys/kern/subr_pool.c:986 pool_gc_pages(0) at pool_gc_pages+0x357 sys/kern/subr_pool.c:1587 taskq_thread(ffffffff837af570) at taskq_thread+0x157 sys/kern/kern_task.c:446 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: pool_p_free: rttmr free list modified: page 0xfffffd800c3bf000; item addr 0xfffffd800c3bfe60; offset 0x10=0x838edc30 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83366faa) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_p_free(ffffffff838e9988,fffffd800c3bff90) at pool_p_free+0x2d1 sys/kern/subr_pool.c:986 pool_gc_pages(0) at pool_gc_pages+0x357 sys/kern/subr_pool.c:1587 taskq_thread(ffffffff837af570) at taskq_thread+0x157 sys/kern/kern_task.c:446 end trace frame: 0x0, count: -5 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a21a0d0 rbx 0xffffffff83813ddf cpu_info_full_primary+0x2ddf rdx 0 rcx 0xffff8000ffffe298 rax 0xffffffff83812ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x91cef5b8dbc5809b r11 0x15ab7fd4a6893b88 r12 0xffffffff83813be0 cpu_info_full_primary+0x2be0 r13 0 r14 0 r15 0x1 rip 0xffffffff82b41545 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a21a0c0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (systqmp) tid=333775 pid=97155 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffffe000,0xffff8000ffffe540 process=0xffff8000ffff9380 user=0xffff80002a215000, vmspace=0xffffffff83996400 estcpu=0, cpticks=5, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 81256 294179 42553 0 2 0 syz-executor 81256 179654 42553 0 3 0x4000080 fsleep syz-executor 92480 447061 8343 0 2 0 syz-executor 92480 87578 8343 0 3 0x4000080 bpf syz-executor 26170 178549 5034 0 2 0xc80 syz-executor 26170 267366 5034 0 3 0x4000080 fsleep syz-executor 26170 482597 5034 0 3 0x4000080 fifow syz-executor 76300 31299 82834 0 3 0x3000 suspend syz-executor 76300 462708 82834 0 3 0x4081000 biowait syz-executor 54660 222089 1 0 3 0x100083 ttyin getty 42553 486403 52130 0 2 0xc82 syz-executor 37954 86525 52130 0 2 0xc82 syz-executor 82834 194858 52130 0 2 0xc82 syz-executor 8343 132792 52130 0 3 0x82 nanoslp syz-executor 63174 13698 52130 0 2 0xc82 syz-executor 5034 397920 52130 0 2 0xc82 syz-executor 77031 8302 97807 0 3 0x82 sbwait sshd-session 75641 354511 52130 0 2 0xc82 syz-executor 78576 467453 52130 0 3 0x82 wait syz-executor 12395 288021 0 0 3 0x14200 bored sosplice 52130 263354 79926 0 3 0x82 kqread syz-executor 79926 60853 51431 0 3 0x10008a sigsusp ksh 51431 486189 73125 0 3 0x98 kqread sshd-session 73125 326264 97807 0 3 0x92 kqread sshd-session 97807 186486 1 0 3 0x88 kqread sshd 18147 512943 87363 74 3 0x1100092 bpf pflogd 87363 394552 1 0 3 0x80 sbwait pflogd 48001 258450 76137 73 3 0x1100090 kqread syslogd 76137 402078 1 0 3 0x100082 sbwait syslogd 28746 213487 1 0 3 0x100080 kqread resolvd 87686 55206 4074 77 3 0x100092 kqread dhcpleased 35663 398315 4074 77 3 0x100092 kqread dhcpleased 4074 455375 1 0 3 0x80 kqread dhcpleased 32329 1866 0 0 3 0x14200 bored smr 91072 514317 0 0 3 0x14200 pgzero zerothread 73518 339068 0 0 3 0x14200 aiodoned aiodoned 18375 465721 0 0 3 0x14200 syncer update 40192 299149 0 0 3 0x14200 cleaner cleaner 12130 295447 0 0 3 0x14200 reaper reaper 80108 112353 0 0 3 0x14200 pgdaemon pagedaemon 92720 12431 0 0 3 0x14200 bored viomb 16323 405440 0 0 3 0x40014200 acpi0 acpi0 19555 237276 0 0 7 0x40014200 idle1 92518 371737 0 0 3 0x14200 bored softnet7 59762 308471 0 0 3 0x14200 bored softnet6 994 308549 0 0 3 0x14200 bored softnet5 22443 19413 0 0 3 0x14200 bored softnet4 22394 324718 0 0 3 0x14200 bored softnet3 59308 425089 0 0 3 0x14200 bored softnet2 75655 518269 0 0 3 0x14200 bored softnet1 12803 51121 0 0 3 0x14200 bored softnet0 *97155 333775 0 0 7 0x14200 systqmp 18760 466725 0 0 3 0x14200 bored systq 91169 335514 0 0 3 0x14200 tmoslp softclockmp 73379 436617 0 0 3 0x40014200 tmoslp softclock 62221 373218 0 0 3 0x40014200 idle0 1 351578 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 76300 (syz-executor) thread 0xffff80003680c7f0 (462708) exclusive rrwlock inode r = 0 (0xfffffd807c79e908) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vn_write+0x18f sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x242 sys/kern/sys_generic.c:380 #7 sys_write+0xa2 sys/kern/sys_generic.c:300 #8 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #9 Xsyscall+0x128 Process 97155 (systqmp) thread 0xffff8000ffffe298 (333775) shared rwlock pools r = 0 (0xffffffff837d8728) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_read+0x3e8 sys/kern/kern_rwlock.c:413 #2 pool_gc_pages+0x2e sys/kern/subr_pool.c:1564 #3 taskq_thread+0x157 sys/kern/kern_task.c:446 #4 proc_trampoline+0x10 shared rwlock systqmp r = 0 (0xffffffff837af5e8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10237 11128K 11862K 166960K 14676 0 pcb 19 18K 20K 166960K 686 0 rtable 215 12K 13K 166960K 799 0 pf 39 18K 67485K 166960K 410 0 ifaddr 42 8K 9K 166960K 244 0 ifgroup 64 2K 2K 166960K 433 0 sysctl 4 1K 9K 166960K 24 0 counters 72 37K 37K 166960K 596 0 ioctlops 0 0K 4K 166960K 2093 0 iov 0 0K 28K 166960K 191 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1497 94K 94K 166960K 3971 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 28 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 156 0 dirhash 12 2K 2K 166960K 75 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 106K 166960K 2774 0 sigio 1 0K 0K 166960K 237 0 proc 72 115K 196K 166960K 1181 0 subproc 72 4K 4K 166960K 192 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 466 0 in_multi 81 5K 7K 166960K 348 0 ether_multi 1 0K 0K 166960K 29 0 mrt 1 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 121 546K 546K 166960K 121 0 exec 0 0K 1K 166960K 1270 0 fusefs mount 1 32K 32K 166960K 1 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 267 185K 208K 166960K 25749 0 UVM aobj 8 4K 4K 166960K 9 0 pinsyscall 45 90K 104K 166960K 4258 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 246 0 NDP 14 0K 1K 166960K 182 0 temp 83 8652K 26572K 166960K 147868 0 kqueue 13 20K 32K 166960K 518 0 SYN cache 2 8K 16K 166960K 3 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 223 0 220 1 0 1 1 0 8 0 rtentry 176 291 0 212 5 0 5 5 0 8 0 unpcb 144 2146 0 2125 15 11 4 8 0 8 3 syncache 336 7 0 7 3 3 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 1158 0 1151 14 13 1 8 0 8 0 arp 128 36 0 22 1 0 1 1 0 8 0 inpcb 328 3746 0 3734 28 21 7 24 0 8 5 nd6 144 56 0 42 1 0 1 1 0 8 0 pkpcb 40 33 0 33 2 1 1 1 0 8 1 kcovpl 48 21 0 13 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1192 219 0 218 1 0 1 1 0 8 0 pppxif 1504 49 0 49 3 2 1 1 0 8 1 pffrag 232 73 0 58 1 0 1 1 0 482 0 pffrnode 88 68 0 56 1 0 1 1 0 8 0 pffrent 40 136 0 121 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 pfstitem 24 183 0 46 1 0 1 1 0 8 0 pfstkey 128 183 0 46 5 0 5 5 0 8 0 pfstate 384 183 0 46 14 0 14 14 0 8 0 pfrule 1344 21 0 15 2 0 2 2 0 8 0 rttmr 136 2 0 2 2 2 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 1335 0 972 38 11 27 29 0 8 1 art_table 40 1338 0 972 5 0 5 5 0 8 0 art_node 32 288 0 223 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 150 0 140 1 0 1 1 0 8 0 shmpl 112 6 0 1 1 0 1 1 0 8 0 dirhash 1024 59 0 42 3 0 3 3 0 8 0 dino2pl 256 6726 0 5191 97 0 97 97 0 8 0 ffsino 296 6726 0 5191 119 0 119 119 0 8 0 nchpl 144 10341 0 8601 66 1 65 65 0 8 0 rtmask 32 28 0 28 2 1 1 1 0 8 1 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 36697 0 36697 2 1 1 2 0 8 1 percpumem 16 313 0 262 1 0 1 1 0 8 0 kstatmem 264 284 0 252 5 2 3 3 0 8 0 scsiplug 72 10 0 10 3 2 1 1 0 8 1 scxspl 216 87474 0 87473 10 8 2 5 1 8 1 plimitpl 152 618 0 599 1 0 1 1 0 8 0 sigapl 424 3097 0 3041 9 1 8 9 0 8 0 knotepl 120 777 0 0 24 0 24 24 0 8 0 kqueuepl 224 905 0 894 5 3 2 3 0 8 1 pipepl 344 640 0 613 10 7 3 9 0 8 0 fdescpl 528 3041 0 3008 3 0 3 3 0 8 0 filepl 160 21372 0 21137 33 15 18 27 0 8 6 lockfpl 104 1429 0 1426 2 1 1 2 0 8 0 lockfspl 48 569 0 566 1 0 1 1 0 8 0 sessionpl 144 43 0 33 1 0 1 1 0 8 0 pgrppl 48 153 0 135 1 0 1 1 0 8 0 ucredpl 104 3432 0 3417 1 0 1 1 0 8 0 zombiepl 144 3046 0 3041 1 0 1 1 0 8 0 processpl 1248 3097 0 3041 7 0 7 7 0 8 0 procpl 664 7327 0 7266 9 0 9 9 0 8 0 sosppl 168 17 0 17 5 4 1 1 0 8 1 sockpl 752 6211 0 6175 58 46 12 31 0 8 7 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 113 0 0 15 0 15 15 0 8 0 mcl2k 2048 80 0 0 10 0 10 10 0 8 0 mtagpl 96 13 0 0 1 0 1 1 0 8 0 mbufpl 256 909 0 0 55 0 55 55 0 8 0 bufpl 280 39527 0 33384 440 0 440 440 0 8 0 anonpl 32 19226 0 0 155 0 155 155 0 246 0 amapchunkpl 152 90426 0 89734 52 12 40 40 0 158 7 amappl16 200 14000 0 13550 77 41 36 45 0 8 8 amappl15 192 9 0 9 2 2 0 1 0 8 0 amappl14 184 156 0 142 1 0 1 1 0 8 0 amappl13 176 1 0 1 1 1 0 1 0 8 0 amappl12 168 3915 0 3882 3 1 2 2 0 8 0 amappl11 160 53 0 39 1 0 1 1 0 8 0 amappl10 152 14 0 14 1 1 0 1 0 8 0 amappl9 144 294 0 294 2 1 1 1 0 8 1 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 152 0 138 1 0 1 1 0 8 0 amappl6 120 312 0 307 1 0 1 1 0 8 0 amappl5 112 180 0 170 1 0 1 1 0 8 0 amappl4 104 359 0 339 1 0 1 1 0 8 0 amappl3 96 18416 0 18295 5 1 4 4 0 8 0 amappl2 88 915 0 845 2 0 2 2 0 8 0 amappl1 80 21018 0 20320 17 1 16 16 0 8 0 amappl 88 24374 0 24188 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 66 0 66 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 259 0 259 4 3 1 1 0 8 1 dma64 64 40 0 40 3 3 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 8 0 1 1 0 1 1 0 8 0 uaddrrnd 24 3041 0 3008 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3041 0 3008 1 0 1 1 0 8 0 vmmpekpl 168 23118 0 23061 4 0 4 4 0 8 0 vmmpepl 168 199677 0 197031 147 13 134 134 0 357 4 vmsppl 488 3040 0 3008 5 0 5 5 0 8 0 rwobjpl 80 59665 0 52249 160 0 160 160 0 8 1 pdppl 4096 6089 0 6016 119 44 75 87 0 8 2 pvpl 32 27423 0 0 221 0 221 221 0 265 0 pmappl 256 3040 0 3008 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 372 0 76 9 0 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83366faa) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_p_free(ffffffff838e9988,fffffd800c3bff90) at pool_p_free+0x2d1 sys/kern/subr_pool.c:986 pool_gc_pages(0) at pool_gc_pages+0x357 sys/kern/subr_pool.c:1587 taskq_thread(ffffffff837af570) at taskq_thread+0x157 sys/kern/kern_task.c:446 end trace frame: 0x0, count: -5 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5