panic(ffffffff821eebb1) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82642af0) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff82642af0) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff82642af0,1) at pool_get+0x91 sys/kern/subr_pool.c:572 m_gethdr(1,1) at m_gethdr+0x4c sys/kern/uipc_mbuf.c:283 m_getuio(ffff800020acf888,0,445c,ffff800020acfa08) at m_getuio+0xe4 sys/kern/uipc_socket.c:581 sosend(fffffd806eb63968,0,ffff800020acfa08,0,0,80) at sosend+0x54e sys/kern/uipc_socket.c:536 dofilewritev(ffff800020ade4f0,4,ffff800020acfa08,0,ffff800020acfaf0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020ade4f0,ffff800020acfaa0,ffff800020acfaf0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020acfb70) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020acfb70) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf620, count: 4 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_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd80646c3b00+16 0x0!=0x2be7d719288c302c ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821eebb1) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82642af0) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff82642af0) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff82642af0,1) at pool_get+0x91 sys/kern/subr_pool.c:572 m_gethdr(1,1) at m_gethdr+0x4c sys/kern/uipc_mbuf.c:283 m_getuio(ffff800020acf888,0,445c,ffff800020acfa08) at m_getuio+0xe4 sys/kern/uipc_socket.c:581 sosend(fffffd806eb63968,0,ffff800020acfa08,0,0,80) at sosend+0x54e sys/kern/uipc_socket.c:536 dofilewritev(ffff800020ade4f0,4,ffff800020acfa08,0,ffff800020acfaf0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020ade4f0,ffff800020acfaa0,ffff800020acfaf0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020acfb70) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020acfb70) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf620, count: -11 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020acf5b0 rbx 0xffff800020acf660 rdx 0xffff800020ade4f0 rcx 0 rax 0 r8 0xffffffff81053b4f kprintf+0x16f r9 0x1 r10 0x25 r11 0xd54791ea81df4b2b r12 0x3000000008 r13 0xffff800020acf5c0 r14 0x100 r15 0x1 rip 0xffffffff81fec828 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020acf5a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (sshd) pid=32762 stat=onproc flags process=12 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ade280,0xffff800020adeec0 process=0xffff800020ac8ba0 user=0xffff800020aca000, vmspace=0xfffffd806e993178 estcpu=0, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 17149 181037 23466 0 2 0 syz-executor.1 17149 433114 23466 0 3 0x4000080 fsleep syz-executor.1 17149 296476 23466 0 7 0x4000000 syz-executor.1 23690 165431 0 0 3 0x14200 bored sosplice 23466 189389 87148 0 2 0x482 syz-executor.1 62170 8166 87148 0 2 0x2 syz-executor.0 87148 163368 61199 0 3 0x82 thrsleep syz-fuzzer 87148 27864 61199 0 2 0x4000482 syz-fuzzer 87148 76227 61199 0 2 0x4000082 syz-fuzzer 87148 466085 61199 0 3 0x4000082 thrsleep syz-fuzzer 87148 88900 61199 0 3 0x4000082 thrsleep syz-fuzzer 87148 467486 61199 0 3 0x4000082 thrsleep syz-fuzzer 87148 94495 61199 0 3 0x4000082 thrsleep syz-fuzzer 87148 503742 61199 0 3 0x4000082 thrsleep syz-fuzzer 87148 264502 61199 0 2 0x4000082 syz-fuzzer 87148 185707 61199 0 3 0x4000082 thrsleep syz-fuzzer 61199 105829 2253 0 3 0x10008a pause ksh * 2253 32762 67769 0 7 0x12 sshd 27785 55959 1 0 3 0x100083 ttyin getty 67769 29156 1 0 3 0x80 select sshd 64153 308283 90789 74 3 0x100092 bpf pflogd 90789 54057 1 0 3 0x80 netio pflogd 98871 121787 78771 73 3 0x100090 kqread syslogd 78771 419652 1 0 3 0x100082 netio syslogd 55878 512440 1 77 3 0x100090 poll dhclient 8632 392122 1 0 3 0x80 poll dhclient 33208 350504 0 0 3 0x14200 bored smr 73779 513076 0 0 2 0x14200 zerothread 80488 284771 0 0 3 0x14200 aiodoned aiodoned 83962 391153 0 0 3 0x14200 syncer update 74247 193009 0 0 3 0x14200 cleaner cleaner 79248 477930 0 0 3 0x14200 reaper reaper 91888 502574 0 0 3 0x14200 pgdaemon pagedaemon 23220 322809 0 0 3 0x14200 bored crynlk 7545 43718 0 0 3 0x14200 bored crypto 29465 99396 0 0 3 0x40014200 acpi0 acpi0 52411 92212 0 0 3 0x40014200 idle1 9803 140409 0 0 3 0x14200 bored softnet 29086 283025 0 0 3 0x14200 bored systqmp 46720 107142 0 0 3 0x14200 bored systq 529 173681 0 0 3 0x40014200 bored softclock 49408 499794 0 0 3 0x40014200 idle0 1 439829 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 62170 (syz-executor.0) thread 0xffff800020a6c4e8 (8166) exclusive rrwlock inode r = 0 (0xfffffd806b42cb38) #0 witness_lock+0x4c5 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:602 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:575 #5 vget+0x1c8 sys/kern/vfs_subr.c:671 #6 ufs_ihashget+0x141 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x74 sys/ufs/ffs/ffs_vfsops.c:1329 #8 ufs_lookup+0x14b7 sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:90 #10 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568 #11 namei+0x63c sys/kern/vfs_lookup.c:249 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1860 #13 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b42c1a8) #0 witness_lock+0x4c5 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:602 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x63c sys/kern/vfs_lookup.c:249 #7 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1860 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9484 6401K 6724K 78643K 10636 0 pcb 13 8K 8K 78643K 21 0 rtable 83 2K 3K 78643K 213 0 ifaddr 42 10K 11K 78643K 58 0 counters 41 33K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1471 0 iov 0 0K 12K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1241 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 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 5 13K 25K 78643K 61 0 sigio 0 0K 0K 78643K 4 0 proc 60 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 in_multi 22 1K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 1K 78643K 211 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 96 21K 21K 78643K 1090 0 UVM aobj 2 2K 2K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 12 0 temp 74 3037K 3101K 78643K 2311 0 kqueue 3 4K 5K 78643K 4 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 6 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 21 0 19 1 0 1 1 0 8 0 rtentry 112 45 0 12 2 0 2 2 0 8 0 unpcb 120 41 0 31 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 69 0 69 1 0 1 1 0 8 1 tcpcb 544 22 0 18 1 0 1 1 0 8 0 inpcb 280 60 0 53 1 0 1 1 0 8 0 nd6 48 6 0 3 1 0 1 1 0 8 0 pffrag 232 1 0 1 1 0 1 1 0 482 1 pffrnode 88 1 0 1 1 0 1 1 0 8 1 pffrent 40 45 0 45 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 14 0 0 1 0 1 1 0 8 0 pfstkey 112 14 0 0 1 0 1 1 0 8 0 pfstate 328 14 0 0 2 0 2 2 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 188 0 44 12 0 12 12 0 8 1 art_table 32 189 0 44 2 0 2 2 0 8 0 art_node 16 44 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 shmpl 112 3 0 3 1 0 1 1 0 8 1 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1463 0 57 46 0 46 46 0 8 0 ffsino 272 1463 0 57 94 0 94 94 0 8 0 nchpl 144 1741 0 126 61 0 61 61 0 8 0 uvmvnodes 72 1523 0 0 28 0 28 28 0 8 0 vnodes 208 1523 0 0 81 0 81 81 0 8 0 namei 1024 4456 0 4456 1 0 1 1 0 8 1 percpumem 16 33 0 2 1 0 1 1 0 8 0 scxspl 192 5017 0 5017 2 1 1 2 0 8 1 plimitpl 152 17 0 9 1 0 1 1 0 8 0 sigapl 424 277 0 245 4 0 4 4 0 8 0 futexpl 56 419 0 418 1 0 1 1 0 8 0 knotepl 112 55 0 36 1 0 1 1 0 8 0 kqueuepl 144 8 0 6 1 0 1 1 0 8 0 pipelkpl 48 80 0 70 1 0 1 1 0 8 0 pipepl 120 160 0 141 1 0 1 1 0 8 0 fdescpl 496 261 0 245 3 0 3 3 0 8 0 filepl 152 1296 0 1193 5 0 5 5 0 8 1 lockfpl 104 19 0 18 1 0 1 1 0 8 0 lockfspl 48 9 0 8 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 22 0 11 1 0 1 1 0 8 0 ucredpl 96 54 0 45 1 0 1 1 0 8 0 zombiepl 144 245 0 245 1 0 1 1 0 8 1 processpl 984 277 0 245 5 0 5 5 0 8 0 procpl 624 352 0 309 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 0 1 1 0 8 1 sockpl 400 123 0 104 3 0 3 3 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 160 0 0 19 0 19 19 0 8 0 mtagpl 80 4 0 0 1 0 1 1 0 8 0 mbufpl 256 297 0 0 18 0 18 18 0 8 0 bufpl 280 4090 0 173 280 0 280 280 0 8 0 anonpl 16 36724 0 24358 51 1 50 50 0 124 0 amapchunkpl 152 1126 0 993 7 0 7 7 0 158 1 amappl16 192 895 0 236 34 0 34 34 0 8 0 amappl15 184 19 0 16 1 0 1 1 0 8 0 amappl14 176 5 0 4 2 1 1 1 0 8 0 amappl13 168 25 0 24 1 0 1 1 0 8 0 amappl12 160 10 0 10 1 1 0 1 0 8 0 amappl11 152 73 0 55 1 0 1 1 0 8 0 amappl10 144 19 0 13 1 0 1 1 0 8 0 amappl9 136 371 0 368 1 0 1 1 0 8 0 amappl8 128 301 0 289 1 0 1 1 0 8 0 amappl7 120 126 0 113 1 0 1 1 0 8 0 amappl6 112 24 0 20 2 1 1 1 0 8 0 amappl5 104 199 0 183 1 0 1 1 0 8 0 amappl4 96 509 0 475 2 1 1 2 0 8 0 amappl3 88 104 0 99 1 0 1 1 0 8 0 amappl2 80 1172 0 1101 3 1 2 3 0 8 0 amappl1 72 15934 0 15487 26 11 15 20 0 8 6 amappl 80 596 0 553 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 4 0 3 1 0 1 1 0 8 0 uaddrrnd 24 261 0 245 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 261 0 245 1 0 1 1 0 8 0 vmmpekpl 168 5998 0 5968 2 0 2 2 0 8 0 vmmpepl 168 38807 0 37018 107 7 100 100 0 357 22 vmsppl 368 260 0 245 2 0 2 2 0 8 0 pdppl 4096 530 0 490 6 0 6 6 0 8 0 pvpl 32 133573 0 118094 129 0 129 129 0 265 4 pmappl 232 260 0 245 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 171 0 3 5 0 5 5 0 8 0