panic(ffffffff821ea825) at panic+0x15c sys/kern/subr_prf.c:207 __assert(ffffffff8223ff66,ffffffff8222aba9,2a2,ffffffff8220dbdd) at __assert+0x2b sys/kern/subr_prf.c:154 proc_trampoline_mp() at proc_trampoline_mp+0x123 end trace frame: 0x0, count: 11 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 0xfffffd8067626300+16 0x0!=0xd8a2bda2427823c2 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ea825) at panic+0x15c sys/kern/subr_prf.c:207 __assert(ffffffff8223ff66,ffffffff8222aba9,2a2,ffffffff8220dbdd) at __assert+0x2b sys/kern/subr_prf.c:154 proc_trampoline_mp() at proc_trampoline_mp+0x123 end trace frame: 0x0, count: -4 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020b8b970 rbx 0xffff800020b8ba20 rdx 0xffff800020ae7398 rcx 0 rax 0 r8 0xffffffff82098d1f kprintf+0x16f r9 0x1 r10 0x25 r11 0x54800da436ab8627 r12 0x3000000008 r13 0xffff800020b8b980 r14 0x104 r15 0x1 rip 0xffffffff821760c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b8b960 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=477130 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ae6eb8,0xffff800020ae69e8 process=0xffff800020a9da60 user=0xffff800020b86000, vmspace=0xfffffd807f0005c0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 99967 101135 57839 0 2 0 syz-executor.1 99967 328492 57839 0 7 0x4000000 syz-executor.1 35102 522866 17891 0 2 0 syz-executor.0 *35102 477130 17891 0 7 0x4000000 syz-executor.0 96887 57683 1 0 3 0x100083 ttyin getty 78199 113432 0 0 3 0x14200 bored sosplice 17891 439158 76731 0 3 0x82 nanosleep syz-executor.0 57839 98133 76731 0 3 0x82 nanosleep syz-executor.1 76731 473122 46036 0 3 0x82 thrsleep syz-fuzzer 76731 254851 46036 0 3 0x4000082 nanosleep syz-fuzzer 76731 65632 46036 0 3 0x4000082 thrsleep syz-fuzzer 76731 395884 46036 0 3 0x4000082 thrsleep syz-fuzzer 76731 21769 46036 0 3 0x4000082 thrsleep syz-fuzzer 76731 45359 46036 0 3 0x4000082 thrsleep syz-fuzzer 76731 227830 46036 0 3 0x4000082 thrsleep syz-fuzzer 76731 392352 46036 0 3 0x4000082 thrsleep syz-fuzzer 76731 201292 46036 0 3 0x4000082 kqread syz-fuzzer 76731 173034 46036 0 3 0x4000082 thrsleep syz-fuzzer 46036 59122 33694 0 3 0x10008a pause ksh 33694 514920 60652 0 3 0x92 select sshd 60652 31157 1 0 3 0x80 select sshd 91597 449595 49943 74 3 0x100092 bpf pflogd 49943 157430 1 0 3 0x80 netio pflogd 9377 447141 50229 73 3 0x100090 kqread syslogd 50229 385555 1 0 3 0x100082 netio syslogd 65060 233327 1 77 3 0x100090 poll dhclient 20127 374703 1 0 3 0x80 poll dhclient 5432 274211 0 0 2 0x14200 zerothread 37919 447360 0 0 3 0x14200 aiodoned aiodoned 88109 115431 0 0 3 0x14200 syncer update 17760 455973 0 0 3 0x14200 cleaner cleaner 93990 323052 0 0 3 0x14200 reaper reaper 44028 63352 0 0 3 0x14200 pgdaemon pagedaemon 71550 166016 0 0 3 0x14200 bored crynlk 32754 163422 0 0 3 0x14200 bored crypto 75346 312769 0 0 3 0x40014200 acpi0 acpi0 95353 413671 0 0 3 0x40014200 idle1 93786 258586 0 0 3 0x14200 bored softnet 34830 104675 0 0 3 0x14200 bored systqmp 8994 263312 0 0 3 0x14200 bored systq 66051 77420 0 0 3 0x40014200 bored softclock 22119 268109 0 0 3 0x40014200 idle0 43934 86713 0 0 3 0x14200 bored smr 1 369360 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 99967 (syz-executor.1) thread 0xffff800020ae69d8 (328492) exclusive rwlock netlock r = 0 (0xffffffff824e9118) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x559 sys/kern/uipc_socket.c:537 #3 sendit+0x52b sys/kern/uipc_syscalls.c:657 #4 sys_sendmsg+0x1a4 sys/kern/uipc_syscalls.c:562 #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9523 6417K 7304K 78643K 11487 0 pcb 14 8K 8K 78643K 128 0 rtable 118 4K 4K 78643K 289 0 ifaddr 76 15K 15K 78643K 107 0 counters 43 33K 34K 78643K 53 0 ioctlops 0 0K 4K 78643K 1481 0 iov 0 0K 24K 78643K 85 0 mount 1 1K 1K 78643K 1 0 vnodes 1230 77K 78K 78643K 1484 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 0K 0K 78643K 46 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 261 0 sigio 0 0K 0K 78643K 2 0 proc 61 63K 83K 78643K 493 0 subproc 32 2K 2K 78643K 38 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 29 0 in_multi 53 3K 3K 78643K 76 0 ether_multi 1 0K 0K 78643K 11 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 73 334K 334K 78643K 73 0 exec 0 0K 1K 78643K 235 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 112 22K 22K 78643K 1845 0 UVM aobj 11 2K 2K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 95 0 NDP 12 0K 0K 78643K 21 0 temp 114 3026K 3104K 78643K 12966 0 kqueue 3 4K 14K 78643K 15 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 9 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 32 0 30 1 0 1 1 0 8 0 rtentry 112 50 0 1 2 0 2 2 0 8 0 unpcb 120 257 0 247 1 0 1 1 0 8 0 syncache 264 10 0 10 2 1 1 1 0 8 1 tcpqe 32 58 0 58 2 1 1 1 0 8 1 tcpcb 544 127 0 122 1 0 1 1 0 8 0 inpcb 280 496 0 483 2 0 2 2 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pffrag 232 11 0 11 1 0 1 1 0 482 1 pffrnode 88 11 0 11 1 0 1 1 0 8 1 pffrent 40 323 0 323 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 48 0 3 1 0 1 1 0 8 0 pfstkey 112 48 0 3 2 0 2 2 0 8 0 pfstate 328 48 0 3 4 0 4 4 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 200 0 0 13 0 13 13 0 8 0 art_table 32 201 0 0 2 0 2 2 0 8 0 art_node 16 49 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 24 0 16 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 38 0 28 1 0 1 1 0 8 0 shmpl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1817 0 412 46 0 46 46 0 8 0 ffsino 272 1817 0 412 94 0 94 94 0 8 0 nchpl 144 2400 0 795 61 0 61 61 0 8 0 uvmvnodes 72 2048 0 0 38 0 38 38 0 8 0 vnodes 208 2048 0 0 108 0 108 108 0 8 0 namei 1024 7138 0 7138 1 0 1 1 0 8 1 percpumem 16 37 0 5 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 7134 0 7134 7 6 1 6 0 8 1 plimitpl 152 38 0 30 1 0 1 1 0 8 0 sigapl 432 461 0 445 3 1 2 3 0 8 0 futexpl 56 5371 0 5371 1 0 1 1 0 8 1 knotepl 112 70 0 51 1 0 1 1 0 8 0 kqueuepl 144 49 0 47 1 0 1 1 0 8 0 pipelkpl 48 134 0 124 1 0 1 1 0 8 0 pipepl 120 268 0 249 1 0 1 1 0 8 0 fdescpl 496 462 0 445 3 0 3 3 0 8 0 filepl 152 3395 0 3294 5 0 5 5 0 8 1 lockfpl 104 91 0 90 1 0 1 1 0 8 0 lockfspl 48 33 0 32 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 27 0 16 1 0 1 1 0 8 0 ucredpl 96 406 0 397 1 0 1 1 0 8 0 zombiepl 144 445 0 445 1 0 1 1 0 8 1 processpl 960 478 0 445 5 0 5 5 0 8 0 procpl 624 1074 0 1030 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 4 0 4 1 1 0 1 0 8 0 sockpl 400 786 0 766 5 0 5 5 0 8 3 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 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 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 161 0 0 20 0 20 20 0 8 0 mtagpl 80 14 0 0 1 0 1 1 0 8 0 mbufpl 256 379 0 0 22 0 22 22 0 8 0 bufpl 280 6677 0 409 448 0 448 448 0 8 0 anonpl 16 62890 0 45941 86 1 85 85 0 124 16 amapchunkpl 152 2549 0 2404 8 1 7 8 0 158 0 amappl16 192 2623 0 1699 62 7 55 59 0 8 8 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 119 0 115 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 75 0 57 1 0 1 1 0 8 0 amappl10 144 24 0 17 1 0 1 1 0 8 0 amappl9 136 389 0 386 1 0 1 1 0 8 0 amappl8 128 316 0 294 1 0 1 1 0 8 0 amappl7 120 128 0 115 1 0 1 1 0 8 0 amappl6 112 26 0 21 2 1 1 1 0 8 0 amappl5 104 365 0 346 1 0 1 1 0 8 0 amappl4 96 511 0 479 1 0 1 1 0 8 0 amappl3 88 111 0 105 1 0 1 1 0 8 0 amappl2 80 2759 0 2682 3 1 2 3 0 8 0 amappl1 72 20332 0 19877 26 16 10 20 0 8 0 amappl 80 1331 0 1285 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 462 0 445 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 462 0 445 1 0 1 1 0 8 0 vmmpekpl 168 7760 0 7728 2 0 2 2 0 8 0 vmmpepl 168 63717 0 61551 163 24 139 153 0 357 44 vmsppl 368 461 0 445 2 0 2 2 0 8 0 pdppl 4096 931 0 890 6 0 6 6 0 8 0 pvpl 32 195405 0 175239 203 3 200 203 0 265 34 pmappl 232 461 0 445 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 180 0 3 6 0 6 6 0 8 0