panic(ffffffff821f491e) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff8267f0d0) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff8267f0d0) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff8267f0d0,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_get(2,3) at m_get+0x4c sys/kern/uipc_mbuf.c:250 sbappendaddr(fffffd806f6e94b0,fffffd806f6e9538,ffffffff823bb608,fffffd8066377c00,0) at sbappendaddr+0x223 sys/kern/uipc_socket2.c:801 rtm_sendup(fffffd806f6e94b0,fffffd8072b9da00,1) at rtm_sendup+0xef sys/net/rtsock.c:594 route_input(fffffd8072b9da00,fffffd806f6e94b0,21) at route_input+0x1cc sys/net/rtsock.c:560 route_output(fffffd8072b9da00,fffffd806f6e94b0,0,0) at route_output+0x88e sys/net/rtsock.c:870 route_usrreq(fffffd806f6e94b0,9,fffffd8072b9da00,0,0,ffff800020ac64f8) at route_usrreq+0x36f sys/net/rtsock.c:275 sosend(fffffd806f6e94b0,0,ffff800021b7cd60,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:549 sendit(ffff800020ac64f8,4,ffff800021b7ce40,0,ffff800021b7cf20) at sendit+0x52b sys/kern/uipc_syscalls.c:657 sys_sendto(ffff800020ac64f8,ffff800021b7ced8,ffff800021b7cf20) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:522 syscall(ffff800021b7cfa0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021b7cfa0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 end trace frame: 0xffff800021b7d020, count: 0 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 pool_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd8066378600+16 0x0!=0x8d1b74b07e8676c3 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821f491e) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff8267f0d0) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff8267f0d0) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff8267f0d0,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_get(2,3) at m_get+0x4c sys/kern/uipc_mbuf.c:250 sbappendaddr(fffffd806f6e94b0,fffffd806f6e9538,ffffffff823bb608,fffffd8066377c00,0) at sbappendaddr+0x223 sys/kern/uipc_socket2.c:801 rtm_sendup(fffffd806f6e94b0,fffffd8072b9da00,1) at rtm_sendup+0xef sys/net/rtsock.c:594 route_input(fffffd8072b9da00,fffffd806f6e94b0,21) at route_input+0x1cc sys/net/rtsock.c:560 route_output(fffffd8072b9da00,fffffd806f6e94b0,0,0) at route_output+0x88e sys/net/rtsock.c:870 route_usrreq(fffffd806f6e94b0,9,fffffd8072b9da00,0,0,ffff800020ac64f8) at route_usrreq+0x36f sys/net/rtsock.c:275 sosend(fffffd806f6e94b0,0,ffff800021b7cd60,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:549 sendit(ffff800020ac64f8,4,ffff800021b7ce40,0,ffff800021b7cf20) at sendit+0x52b sys/kern/uipc_syscalls.c:657 sys_sendto(ffff800020ac64f8,ffff800021b7ced8,ffff800021b7cf20) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:522 syscall(ffff800021b7cfa0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021b7cfa0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc7e81688d80, count: -15 ddb{0}> show registers rdi 0xffffffff815761a7 db_enter+0x17 rsi 0x2c822 acpi_pdirpa+0x1868a rbp 0xffff800021b7c710 rbx 0xffff800021b7c7c0 rdx 0x2c823 acpi_pdirpa+0x1868b rcx 0xffff800020f6c000 rax 0xffff800020f6c000 r8 0xffffffff81adaa1f kprintf+0x16f r9 0x1 r10 0x25 r11 0x80bcef2ab7800b0d r12 0x3000000008 r13 0xffff800021b7c720 r14 0x100 r15 0x1 rip 0xffffffff815761a8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021b7c700 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=421737 stat=onproc flags process=0 proc=4000000 pri=56, usrpri=60, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac7ae8,0xffffffff8268d120 process=0xffff800020a92f80 user=0xffff800021b78000, vmspace=0xfffffd807efffb80 estcpu=10, cpticks=18, pctcpu=0.0 user=0, sys=15, intr=3 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 44392 162814 23586 0 7 0 syz-executor.0 44392 59958 23586 0 3 0x4000080 ttyout syz-executor.0 44392 485288 23586 0 2 0x4000080 syz-executor.0 *44392 421737 23586 0 7 0x4000000 syz-executor.0 83635 249780 1 0 3 0x100083 ttyin getty 28784 398864 82618 0 3 0x82 piperd syz-executor.1 23586 62686 82618 0 3 0x82 nanosleep syz-executor.0 82618 266555 63333 0 3 0x82 thrsleep syz-fuzzer 82618 225702 63333 0 3 0x4000082 nanosleep syz-fuzzer 82618 126098 63333 0 3 0x4000082 thrsleep syz-fuzzer 82618 486023 63333 0 3 0x4000082 thrsleep syz-fuzzer 82618 145490 63333 0 3 0x4000082 thrsleep syz-fuzzer 82618 57871 63333 0 3 0x4000082 thrsleep syz-fuzzer 82618 333912 63333 0 3 0x4000082 thrsleep syz-fuzzer 82618 158569 63333 0 3 0x4000082 nanosleep syz-fuzzer 82618 493017 63333 0 3 0x4000082 thrsleep syz-fuzzer 82618 138551 63333 0 3 0x4000082 kqread syz-fuzzer 63333 43259 50888 0 3 0x10008a pause ksh 50888 241928 31478 0 3 0x92 select sshd 31478 20836 1 0 3 0x80 select sshd 26476 45167 41424 74 3 0x100092 bpf pflogd 41424 303495 1 0 3 0x80 netio pflogd 6149 390659 54595 73 3 0x100090 kqread syslogd 54595 255045 1 0 3 0x100082 netio syslogd 16841 221320 1 77 3 0x100090 poll dhclient 79143 290829 1 0 3 0x80 poll dhclient 82884 345666 0 0 3 0x14200 bored smr 18458 151215 0 0 3 0x14200 pgzero zerothread 98119 385655 0 0 3 0x14200 aiodoned aiodoned 73794 201996 0 0 3 0x14200 syncer update 9891 50983 0 0 3 0x14200 cleaner cleaner 53234 387715 0 0 3 0x14200 reaper reaper 97753 99816 0 0 3 0x14200 pgdaemon pagedaemon 13608 513173 0 0 3 0x14200 bored crynlk 40245 26934 0 0 3 0x14200 bored crypto 82722 98976 0 0 3 0x40014200 acpi0 acpi0 40010 502293 0 0 3 0x40014200 idle1 47410 314004 0 0 3 0x14200 bored softnet 98813 98302 0 0 3 0x14200 bored systqmp 28768 517497 0 0 3 0x14200 bored systq 19137 95607 0 0 3 0x40014200 bored softclock 73100 137620 0 0 3 0x40014200 idle0 1 409130 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 44392 (syz-executor.0) thread 0xffff800020ac64f8 (421737) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82667560) #0 witness_lock+0x4c5 sys/kern/subr_witness.c:1164 #1 solock+0x66 sys/kern/uipc_socket2.c:292 #2 sosend+0x559 sys/kern/uipc_socket.c:537 #3 sendit+0x52b sys/kern/uipc_syscalls.c:657 #4 sys_sendto+0x80 sys/kern/uipc_syscalls.c:522 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #6 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9498 6535K 6729K 78643K 10747 0 pcb 13 8K 8K 78643K 46 0 rtable 104 3K 4K 78643K 342 0 ifaddr 61 13K 13K 78643K 76 0 counters 43 33K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1471 0 iov 0 0K 16K 78643K 27 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1277 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 1K 1K 78643K 2 0 sem 10 1K 1K 78643K 14 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 5 13K 25K 78643K 148 0 sigio 0 0K 0K 78643K 4 0 proc 61 63K 95K 78643K 456 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 9 0 in_multi 58 3K 3K 78643K 85 0 ether_multi 1 0K 0K 78643K 4 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 224 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 100 21K 22K 78643K 1408 0 UVM aobj 8 2K 2K 78643K 10 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 20 0 NDP 8 0K 0K 78643K 16 0 temp 92 3040K 3104K 78643K 2616 0 kqueue 3 4K 12K 78643K 15 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 153 0 149 1 0 1 1 0 8 0 rtentry 112 58 0 16 2 0 2 2 0 8 0 unpcb 120 129 0 119 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 74 0 74 1 1 0 1 0 8 0 tcpcb 544 46 0 42 1 0 1 1 0 8 0 inpcb 280 202 0 194 2 0 2 2 0 8 1 nd6 48 10 0 5 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 0 1 1 0 8 1 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 45 0 45 1 1 0 1 0 8 0 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 26 0 0 1 0 1 1 0 8 0 pfstkey 112 26 0 0 1 0 1 1 0 8 0 pfstate 328 26 0 0 3 0 3 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 275 0 88 13 0 13 13 0 8 0 art_table 32 276 0 88 2 0 2 2 0 8 0 art_node 16 57 0 18 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 8 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1592 0 183 46 0 46 46 0 8 0 ffsino 272 1592 0 183 95 0 95 95 0 8 0 nchpl 144 2021 0 402 61 0 61 61 0 8 0 uvmvnodes 72 1675 0 0 31 0 31 31 0 8 0 vnodes 208 1675 0 0 89 0 89 89 0 8 0 namei 1024 5227 0 5227 1 0 1 1 0 8 1 percpumem 16 33 0 1 1 0 1 1 0 8 0 vmpool 560 2 0 2 1 0 1 1 0 8 1 scxspl 192 6138 0 6138 8 1 7 7 0 8 7 plimitpl 152 23 0 15 1 0 1 1 0 8 0 sigapl 424 364 0 333 4 0 4 4 0 8 0 futexpl 56 2069 0 2069 1 0 1 1 0 8 1 knotepl 112 67 0 48 1 0 1 1 0 8 0 kqueuepl 144 28 0 26 1 0 1 1 0 8 0 pipelkpl 48 92 0 82 1 0 1 1 0 8 0 pipepl 120 184 0 165 1 0 1 1 0 8 0 fdescpl 496 349 0 333 3 0 3 3 0 8 0 filepl 152 2061 0 1957 5 0 5 5 0 8 0 lockfpl 104 33 0 32 1 0 1 1 0 8 0 lockfspl 48 10 0 9 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 21 0 10 1 0 1 1 0 8 0 ucredpl 96 101 0 92 1 0 1 1 0 8 0 zombiepl 144 333 0 333 1 0 1 1 0 8 1 processpl 984 364 0 333 5 0 5 5 0 8 0 procpl 624 655 0 612 5 0 5 5 0 8 1 sockpl 400 489 0 468 4 0 4 4 0 8 1 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 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 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 153 0 0 19 0 19 19 0 8 0 mtagpl 80 10 0 0 1 0 1 1 0 8 0 mbufpl 256 536 0 0 33 0 33 33 0 8 0 bufpl 280 4389 0 174 302 0 302 302 0 8 0 anonpl 16 44341 0 30286 58 1 57 57 0 124 0 amapchunkpl 152 1593 0 1454 7 0 7 7 0 158 0 amappl16 192 1402 0 645 39 0 39 39 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 120 0 116 2 1 1 1 0 8 0 amappl13 168 26 0 25 1 0 1 1 0 8 0 amappl12 160 2 0 2 1 1 0 1 0 8 0 amappl11 152 72 0 53 1 0 1 1 0 8 0 amappl10 144 16 0 12 1 0 1 1 0 8 0 amappl9 136 390 0 386 1 0 1 1 0 8 0 amappl8 128 295 0 282 1 0 1 1 0 8 0 amappl7 120 119 0 108 1 0 1 1 0 8 0 amappl6 112 28 0 22 1 0 1 1 0 8 0 amappl5 104 246 0 229 1 0 1 1 0 8 0 amappl4 96 505 0 474 2 1 1 2 0 8 0 amappl3 88 114 0 106 1 0 1 1 0 8 0 amappl2 80 1839 0 1769 3 1 2 3 0 8 0 amappl1 72 17953 0 17502 24 14 10 20 0 8 0 amappl 80 903 0 857 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 9 0 2 1 0 1 1 0 8 0 uaddrrnd 24 351 0 335 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 351 0 335 1 0 1 1 0 8 0 vmmpekpl 168 6606 0 6574 2 0 2 2 0 8 0 vmmpepl 168 49160 0 47264 102 4 98 101 0 357 14 vmsppl 368 350 0 335 2 0 2 2 0 8 0 pdppl 4096 710 0 670 6 0 6 6 0 8 0 pvpl 32 156381 0 139185 142 0 142 142 0 265 2 pmappl 232 350 0 335 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 190 0 3 6 0 6 6 0 8 0