'\FT.JSi[; YeBo ]EF0o݁7N./bus ./buspanic: pool_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd8065e8dc00+16 0x0!=0xe5b22b7b9d214182 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *163490 31795 0 0 0x4000000 0 syz-executor.1 365628 35432 0 0x14000 0x200 1 reaper db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82634e60) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1789 [inline] pool_cache_get(ffffffff82634e60) at pool_cache_get+0x323 sys/kern/subr_pool.c:1892 pool_get() at pool_get+0x91 sys/kern/subr_pool.c:572 m_gethdr(2,2) at m_gethdr+0x4c sys/kern/uipc_mbuf.c:283 ip_fragment(fffffd806319a600,ffff8000001732a8,5b4) at ip_fragment+0x13a sys/netinet/ip_output.c:682 ip_output(fffffd806319a600,0,fffffd806f6cb070,0,0,fffffd806f6cb000) at ip_output+0xfc1 sys/netinet/ip_output.c:501 udp_output(fffffd806f6cb000,fffffd806319a600,0,0) at udp_output+0x5af sys/netinet/udp_usrreq.c:1004 sosend(fffffd8066a1c028,0,ffff800023ba6e40,0,0,0) at sosend+0x645 sys/kern/uipc_socket.c:524 sendit(ffff800020ab18c8,6,ffff800023ba6f20,0,ffff800023ba7000) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020ab18c8,ffff800023ba6fb8,ffff800023ba7000) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 syscall(ffff800023ba7080) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023ba7080) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffffd7,0,6,d9080159010) at Xsyscall+0x128 end of kernel end trace frame: 0xd92f9b17d00, count: 2 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 0xfffffd8065e8dc00+16 0x0!=0xe5b22b7b9d214182 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82634e60) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1789 [inline] pool_cache_get(ffffffff82634e60) at pool_cache_get+0x323 sys/kern/subr_pool.c:1892 pool_get() at pool_get+0x91 sys/kern/subr_pool.c:572 m_gethdr(2,2) at m_gethdr+0x4c sys/kern/uipc_mbuf.c:283 ip_fragment(fffffd806319a600,ffff8000001732a8,5b4) at ip_fragment+0x13a sys/netinet/ip_output.c:682 ip_output(fffffd806319a600,0,fffffd806f6cb070,0,0,fffffd806f6cb000) at ip_output+0xfc1 sys/netinet/ip_output.c:501 udp_output(fffffd806f6cb000,fffffd806319a600,0,0) at udp_output+0x5af sys/netinet/udp_usrreq.c:1004 sosend(fffffd8066a1c028,0,ffff800023ba6e40,0,0,0) at sosend+0x645 sys/kern/uipc_socket.c:524 sendit(ffff800020ab18c8,6,ffff800023ba6f20,0,ffff800023ba7000) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020ab18c8,ffff800023ba6fb8,ffff800023ba7000) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 syscall(ffff800023ba7080) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023ba7080) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffffd7,0,6,d9080159010) at Xsyscall+0x128 end of kernel end trace frame: 0xd92f9b17d00, count: -13 ddb{0}> show registers rdi 0xffffffff816aed07 db_enter+0x17 rsi 0x8bdd __ALIGN_SIZE+0x7bdd rbp 0xffff800023ba68b0 rbx 0xffff800023ba6960 rdx 0x8bde __ALIGN_SIZE+0x7bde rcx 0xffff800021b66000 rax 0xffff800021b66000 r8 0xffffffff821395ef kprintf+0x16f r9 0x1 r10 0x25 r11 0x42243fa4a1fc22ee r12 0x3000000008 r13 0xffff800023ba68c0 r14 0x100 r15 0x1 rip 0xffffffff816aed08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800023ba68a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=163490 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ab13d8,0xffffffff8266fc68 process=0xffff800020add180 user=0xffff800023ba2000, vmspace=0xfffffd807f00bb80 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 31795 74845 76717 0 2 0 syz-executor.1 *31795 163490 76717 0 7 0x4000000 syz-executor.1 33320 490966 57355 60929 2 0x3010 syz-executor.0 57355 185001 46329 0 3 0x82 nanosleep syz-executor.0 64803 279542 0 0 3 0x14200 bored sosplice 76717 147049 46329 0 3 0x82 nanosleep syz-executor.1 46329 152879 39443 0 3 0x82 thrsleep syz-fuzzer 46329 235538 39443 0 3 0x4000082 nanosleep syz-fuzzer 46329 518278 39443 0 3 0x4000082 thrsleep syz-fuzzer 46329 100767 39443 0 3 0x4000082 thrsleep syz-fuzzer 46329 402577 39443 0 3 0x4000082 thrsleep syz-fuzzer 46329 360156 39443 0 3 0x4000082 thrsleep syz-fuzzer 46329 78143 39443 0 3 0x4000082 thrsleep syz-fuzzer 46329 430414 39443 0 3 0x4000082 thrsleep syz-fuzzer 46329 178863 39443 0 3 0x4000082 thrsleep syz-fuzzer 46329 51604 39443 0 3 0x4000082 kqread syz-fuzzer 39443 319326 52687 0 3 0x10008a pause ksh 52687 72682 40283 0 3 0x92 select sshd 91679 333308 1 0 3 0x100083 ttyin getty 40283 61017 1 0 3 0x80 select sshd 56554 73300 90918 74 3 0x100092 bpf pflogd 90918 86150 1 0 3 0x80 netio pflogd 67227 98350 62395 73 3 0x100090 kqread syslogd 62395 17913 1 0 3 0x100082 netio syslogd 54400 461516 1 77 3 0x100090 poll dhclient 528 369994 1 0 3 0x80 poll dhclient 71639 269482 0 0 2 0x14200 zerothread 25060 103016 0 0 3 0x14200 aiodoned aiodoned 56878 264319 0 0 3 0x14200 syncer update 68088 230769 0 0 3 0x14200 cleaner cleaner 35432 365628 0 0 7 0x14200 reaper 87923 95949 0 0 3 0x14200 pgdaemon pagedaemon 62533 55147 0 0 3 0x14200 bored crynlk 62740 203628 0 0 3 0x14200 bored crypto 86150 498636 0 0 3 0x40014200 acpi0 acpi0 89371 326790 0 0 3 0x40014200 idle1 23407 6073 0 0 3 0x14200 bored softnet 55963 431722 0 0 3 0x14200 bored systqmp 28604 85030 0 0 3 0x14200 bored systq 9573 405145 0 0 3 0x40014200 bored softclock 46098 204698 0 0 3 0x40014200 idle0 64710 187893 0 0 3 0x14200 bored smr 1 450693 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 31795 (syz-executor.1) thread 0xffff800020ab18c8 (163490) exclusive rwlock netlock r = 0 (0xffffffff82486268) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x51b sys/kern/uipc_socket.c:512 #3 sendit+0x52b sys/kern/uipc_syscalls.c:662 #4 sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #6 Xsyscall+0x128 Process 35432 (reaper) thread 0xffff800020a5fb30 (365628) exclusive rwlock vmmaplk r = 0 (0xffffffff8257ea78) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x447 sys/kern/kern_rwlock.c:306 #2 vm_map_lock_ln+0x10d sys/uvm/uvm_map.c:5339 #3 uvm_unmap+0x6b sys/uvm/uvm_map.c:2022 #4 uvm_uarea_free+0x36 sys/uvm/uvm_glue.c:287 #5 reaper+0x156 sys/kern/kern_exit.c:431 #6 proc_trampoline+0x1c exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82640b98) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 reaper+0x14e sys/kern/kern_exit.c:430 #2 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9552 6866K 8557K 78643K 14075 0 0 pcb 14 8K 9K 78643K 191 0 0 rtable 102 3K 4K 78643K 542 0 0 ifaddr 60 14K 14K 78643K 162 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1501 0 0 iov 0 0K 16K 78643K 60 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1246 78K 78K 78643K 2139 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 11 0 0 VM map 5 2K 2K 78643K 7 0 0 sem 12 0K 0K 78643K 198 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 6 17K 25K 78643K 494 0 0 sigio 0 0K 0K 78643K 10 0 0 proc 62 63K 83K 78643K 526 0 0 subproc 32 2K 2K 78643K 51 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 139 0 0 in_multi 29 1K 2K 78643K 72 0 0 ether_multi 1 0K 0K 78643K 6 0 0 mrt 0 0K 0K 78643K 4 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 54 238K 238K 78643K 54 0 0 exec 0 0K 1K 78643K 266 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 108 54K 64K 78643K 2685 0 0 UVM aobj 40 4K 4K 78643K 40 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 171 0 0 NDP 12 0K 0K 78643K 46 0 0 temp 172 3559K 3627K 78643K 38703 0 0 kqueue 0 0K 0K 78643K 1 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 24 0 18 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 39 0 37 1 0 1 1 0 8 0 rtentry 112 98 0 57 2 0 2 2 0 8 0 unpcb 120 237 0 226 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 83 0 83 1 1 0 1 0 8 0 tcpcb 544 575 0 569 4 3 1 4 0 8 0 inpcb 280 1284 0 1273 5 2 3 4 0 8 2 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 8 0 5 1 0 1 1 0 8 0 ppxss 1128 18 0 18 2 1 1 1 0 8 1 pffrag 232 17 0 17 2 1 1 1 0 482 1 pffrnode 88 17 0 17 2 1 1 1 0 8 1 pffrent 40 527 0 527 2 1 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 70 0 12 1 0 1 1 0 8 0 pfstkey 112 71 0 13 2 0 2 2 0 8 0 pfstate 328 71 0 12 5 0 5 5 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 382 0 173 17 2 15 15 0 8 0 art_table 32 383 0 173 2 0 2 2 0 8 0 art_node 16 97 0 59 1 0 1 1 0 8 0 sysvmsgpl 40 52 0 30 1 0 1 1 0 8 0 semapl 112 194 0 184 1 0 1 1 0 8 0 shmpl 112 38 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2143 0 738 46 0 46 46 0 8 0 ffsino 272 2143 0 738 95 0 95 95 0 8 0 nchpl 144 3067 0 1470 61 0 61 61 0 8 0 uvmvnodes 72 2993 0 0 55 0 55 55 0 8 0 vnodes 208 2993 0 0 158 0 158 158 0 8 0 namei 1024 9894 0 9894 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 552 5 0 2 1 0 1 1 0 8 0 scxspl 192 8960 0 8960 10 9 1 7 0 8 1 plimitpl 152 46 0 38 1 0 1 1 0 8 0 sigapl 432 691 0 675 3 1 2 3 0 8 0 futexpl 56 12248 0 12248 1 0 1 1 0 8 1 knotepl 112 113 0 94 1 0 1 1 0 8 0 kqueuepl 104 120 0 114 1 0 1 1 0 8 0 pipepl 112 538 0 515 2 1 1 2 0 8 0 fdescpl 488 692 0 675 3 0 3 3 0 8 0 filepl 152 5877 0 5760 8 1 7 7 0 8 2 lockfpl 104 158 0 156 1 0 1 1 0 8 0 lockfspl 48 56 0 54 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 31 0 20 1 0 1 1 0 8 0 ucredpl 96 541 0 531 1 0 1 1 0 8 0 zombiepl 144 676 0 675 1 0 1 1 0 8 0 processpl 896 708 0 675 4 0 4 4 0 8 0 procpl 632 1863 0 1820 5 0 5 5 0 8 1 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 4 0 4 1 0 1 1 0 8 1 sockpl 384 1569 0 1545 8 3 5 7 0 8 2 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 16 0 0 2 0 2 2 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 163 0 0 20 0 20 20 0 8 0 mtagpl 80 17 0 0 1 0 1 1 0 8 0 mbufpl 256 391 0 0 23 0 23 23 0 8 0 bufpl 256 7576 0 1318 392 0 392 392 0 8 0 anonpl 16 90056 0 71061 101 18 83 93 0 124 4 amapchunkpl 152 4683 0 4554 18 5 13 13 0 158 7 amappl16 192 3600 0 2522 71 16 55 65 0 8 1 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 33 0 32 1 0 1 1 0 8 0 amappl13 168 123 0 123 1 1 0 1 0 8 0 amappl12 160 6 0 3 1 0 1 1 0 8 0 amappl11 152 155 0 137 1 0 1 1 0 8 0 amappl10 144 249 0 244 1 0 1 1 0 8 0 amappl9 136 636 0 630 1 0 1 1 0 8 0 amappl8 128 185 0 159 1 0 1 1 0 8 0 amappl7 120 279 0 273 1 0 1 1 0 8 0 amappl6 112 160 0 149 1 0 1 1 0 8 0 amappl5 104 151 0 134 1 0 1 1 0 8 0 amappl4 96 1076 0 1040 2 1 1 2 0 8 0 amappl3 88 138 0 132 1 0 1 1 0 8 0 amappl2 80 4589 0 4508 3 1 2 3 0 8 0 amappl1 72 25021 0 24565 25 15 10 20 0 8 0 amappl 80 2132 0 2089 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 39 0 0 1 0 1 1 0 8 0 uaddrrnd 24 697 0 675 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 697 0 675 1 0 1 1 0 8 0 vmmpekpl 168 10058 0 10024 2 0 2 2 0 8 0 vmmpepl 168 92882 0 90545 160 27 133 138 0 357 30 vmsppl 368 691 0 675 2 0 2 2 0 8 0 pdppl 4096 1401 0 1357 6 0 6 6 0 8 0 pvpl 32 260466 0 238427 218 18 200 210 0 265 19 pmappl 232 696 0 677 3 1 2 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 573 0 8 17 0 17 17 0 8 0