Warning: Permanently added '10.128.0.6' (ECDSA) to the list of known hosts. 2020/06/03 13:27:23 parsed 1 programs 2020/06/03 13:27:27 executed programs: 0 login: panic: pool_do_get: mbufpl free list modified: page 0xfffffd806d6f4000; item addr 0xfffffd806d6f4100; offset 0x0=0x0 != 0xad46c7f68df0c899 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 344472 5524 0 0x2 0x4000000 0K syz-execprog * 39114 77009 0 0x12 0 1 sshd db_enter() at db_enter+0x18 panic(ffffffff82276432) at panic+0x15c pool_do_get(ffffffff82666280,2,ffff800020e8d7b8) at pool_do_get+0x439 pool_get(ffffffff82666280,2) at pool_get+0xeb m_gethdr(2,2) at m_gethdr+0x4c tcp_output(ffff800000a0c760) at tcp_output+0x14e6 tcp_usrreq(fffffd806eb36af8,9,fffffd806d6f4000,0,0,ffff800020ed1ae0) at tcp_usrreq+0xa55 sosend(fffffd806eb36af8,0,ffff800020e8dc38,0,0,80) at sosend+0x671 dofilewritev(ffff800020ed1ae0,4,ffff800020e8dc38,0,ffff800020e8dd20) at dofilewritev+0x1b6 sys_write(ffff800020ed1ae0,ffff800020e8dcd0,ffff800020e8dd20) at sys_write+0x83 syscall(ffff800020e8dda0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd86c0, count: 3 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_do_get: mbufpl free list modified: page 0xfffffd806d6f4000; item addr 0xfffffd806d6f4100; offset 0x0=0x0 != 0xad46c7f68df0c899 ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff82276432) at panic+0x15c pool_do_get(ffffffff82666280,2,ffff800020e8d7b8) at pool_do_get+0x439 pool_get(ffffffff82666280,2) at pool_get+0xeb m_gethdr(2,2) at m_gethdr+0x4c tcp_output(ffff800000a0c760) at tcp_output+0x14e6 tcp_usrreq(fffffd806eb36af8,9,fffffd806d6f4000,0,0,ffff800020ed1ae0) at tcp_usrreq+0xa55 sosend(fffffd806eb36af8,0,ffff800020e8dc38,0,0,80) at sosend+0x671 dofilewritev(ffff800020ed1ae0,4,ffff800020e8dc38,0,ffff800020e8dd20) at dofilewritev+0x1b6 sys_write(ffff800020ed1ae0,ffff800020e8dcd0,ffff800020e8dd20) at sys_write+0x83 syscall(ffff800020e8dda0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd86c0, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e8d600 rbx 0xffff800020e8d6b0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81c317bf kprintf+0x16f r9 0x1 r10 0x2 r11 0xaf62e0362bcaf66c r12 0x3000000008 r13 0xffff800020e8d610 r14 0x100 r15 0x1 rip 0xffffffff81232738 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e8d5f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (sshd) pid=39114 stat=onproc flags process=12 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020ed04f0,0xffff800020ed0290 process=0xffff800020ec9350 user=0xffff800020e88000, vmspace=0xfffffd806e95a458 estcpu=1, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 7539 53034 5524 0 2 0x2 syz-executor.0 5524 146138 5682 0 3 0x82 nanosleep syz-execprog 5524 260184 5682 0 3 0x4000082 nanosleep syz-execprog 5524 344472 5682 0 7 0x4000002 syz-execprog 5524 181252 5682 0 3 0x4000082 thrsleep syz-execprog 5524 193402 5682 0 3 0x4000082 thrsleep syz-execprog 5524 438387 5682 0 3 0x4000082 thrsleep syz-execprog 5524 374702 5682 0 3 0x4000082 thrsleep syz-execprog 5524 57610 5682 0 3 0x4000082 thrsleep syz-execprog 5524 71500 5682 0 3 0x4000082 thrsleep syz-execprog 5682 283264 77009 0 3 0x10008a pause ksh *77009 39114 62518 0 7 0x12 sshd 48541 227757 1 0 3 0x100083 ttyin getty 62518 129416 1 0 3 0x80 select sshd 575 186283 38382 74 3 0x100092 bpf pflogd 38382 399757 1 0 3 0x80 netio pflogd 92059 330627 71643 73 3 0x100090 kqread syslogd 71643 269504 1 0 3 0x100082 netio syslogd 80204 360216 1 77 3 0x100090 poll dhclient 12366 414463 1 0 3 0x80 poll dhclient 33570 66414 0 0 3 0x14200 bored smr 9801 377842 0 0 3 0x14200 pgzero zerothread 47968 45519 0 0 3 0x14200 aiodoned aiodoned 86368 72026 0 0 3 0x14200 syncer update 6238 189960 0 0 3 0x14200 cleaner cleaner 41089 275415 0 0 3 0x14200 reaper reaper 27780 49097 0 0 3 0x14200 pgdaemon pagedaemon 34305 497322 0 0 3 0x14200 bored crynlk 23682 498304 0 0 3 0x14200 bored crypto 7892 44020 0 0 3 0x40014200 acpi0 acpi0 37593 191824 0 0 3 0x40014200 idle1 65754 393538 0 0 3 0x14200 bored softnet 35788 458133 0 0 3 0x14200 bored systqmp 22058 297087 0 0 3 0x14200 bored systq 10732 501335 0 0 3 0x40014200 bored softclock 60345 217683 0 0 3 0x40014200 idle0 1 126136 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex mbufpl r = 0 (0xffffffff82666290) #0 witness_lock+0x4c7 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b #3 pool_get+0xbf #4 m_gethdr+0x4c #5 tcp_output+0x14e6 #6 tcp_usrreq+0xa55 #7 sosend+0x671 #8 dofilewritev+0x1b6 #9 sys_write+0x83 #10 syscall+0x4a4 #11 Xsyscall+0x128 Process 7539 (syz-executor.0) thread 0xffff800020e6c758 (53034) exclusive rrwlock inode r = 0 (0xfffffd806b915098) #0 witness_lock+0x4c7 #1 rw_enter+0x453 #2 rrw_enter+0x88 #3 VOP_LOCK+0x4b #4 vn_lock+0x81 #5 vget+0x1c8 #6 ufs_ihashget+0x141 #7 ffs_vget+0x74 #8 ufs_lookup+0x14b7 #9 VOP_LOOKUP+0x5b #10 vfs_lookup+0x7a6 #11 namei+0x63c #12 dounlinkat+0x99 #13 syscall+0x4a4 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b915b38) #0 witness_lock+0x4c7 #1 rw_enter+0x453 #2 rrw_enter+0x88 #3 VOP_LOCK+0x4b #4 vn_lock+0x81 #5 vfs_lookup+0xe6 #6 namei+0x63c #7 dounlinkat+0x99 #8 syscall+0x4a4 #9 Xsyscall+0x128 Process 77009 (sshd) thread 0xffff800020ed1ae0 (39114) exclusive rwlock netlock r = 0 (0xffffffff82496048) #0 witness_lock+0x4c7 #1 solock+0x5a #2 sosend+0x559 #3 dofilewritev+0x1b6 #4 sys_write+0x83 #5 syscall+0x4a4 #6 Xsyscall+0x128 exclusive mutex mbufpl r = 0 (0xffffffff82666290) #0 witness_lock+0x4c7 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b #3 pool_get+0xbf #4 m_gethdr+0x4c #5 tcp_output+0x14e6 #6 tcp_usrreq+0xa55 #7 sosend+0x671 #8 dofilewritev+0x1b6 #9 sys_write+0x83 #10 syscall+0x4a4 #11 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9467 6396K 6396K 78643K 10560 0 pcb 13 8K 8K 78643K 13 0 rtable 83 2K 2K 78643K 163 0 ifaddr 37 9K 9K 78643K 277 0 counters 41 33K 33K 78643K 41 0 ioctlops 0 0K 4K 78643K 1468 0 mount 1 1K 1K 78643K 1 0 vnodes 1183 74K 75K 78643K 1188 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 2 4K 12K 78643K 256 0 proc 59 63K 83K 78643K 398 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 22 1K 1K 78643K 22 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 19 95K 95K 78643K 19 0 exec 0 0K 1K 78643K 197 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 76 12K 12K 78643K 1188 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 5 0K 0K 78643K 7 0 temp 29 3029K 3093K 78643K 2346 0 kqueue 3 4K 4K 78643K 3 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 4 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 17 0 15 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 120 29 0 19 1 0 1 1 0 8 0 syncache 264 5 0 5 2 2 0 1 0 8 0 tcpcb 544 8 0 5 1 0 1 1 0 8 0 inpcb 280 272 0 266 1 0 1 1 0 8 0 nd6 48 3 0 0 1 0 1 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 11 0 1 1 0 1 1 0 8 0 pfstkey 112 11 0 1 1 0 1 1 0 8 0 pfstate 328 11 0 1 1 0 1 1 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 143 0 0 9 0 9 9 0 8 0 art_table 32 144 0 0 2 0 2 2 0 8 0 art_node 16 33 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1662 0 260 88 0 88 88 0 8 0 ffsino 272 1662 0 260 94 0 94 94 0 8 0 nchpl 144 2118 0 516 60 0 60 60 0 8 0 uvmvnodes 72 1672 0 0 31 0 31 31 0 8 0 vnodes 208 1672 0 0 88 0 88 88 0 8 0 namei 1024 5164 0 5164 2 1 1 1 0 8 1 percpumem 16 31 0 0 1 0 1 1 0 8 0 scxspl 192 5426 0 5426 5 1 4 4 0 8 4 plimitpl 152 15 0 8 1 0 1 1 0 8 0 sigapl 424 479 0 450 4 0 4 4 0 8 0 knotepl 112 47 0 36 1 0 1 1 0 8 0 kqueuepl 144 2 0 0 1 0 1 1 0 8 0 pipelkpl 48 77 0 70 2 1 1 1 0 8 0 pipepl 120 154 0 141 2 1 1 1 0 8 0 fdescpl 496 464 0 450 3 0 3 3 0 8 0 filepl 152 1592 0 1534 3 0 3 3 0 8 0 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 62 0 53 1 0 1 1 0 8 0 zombiepl 144 450 0 450 2 1 1 1 0 8 1 processpl 984 479 0 450 5 0 5 5 0 8 1 procpl 624 487 0 450 3 0 3 3 0 8 0 sockpl 400 318 0 300 2 0 2 2 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 80 0 0 10 0 10 10 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 112 0 0 7 0 7 7 0 8 0 mbufpl: pool(0xffffffff82666280:mbufpl): free list modified: page 0xfffffd806d6f4000; item ordinal 0; addr 0xfffffd806d6f4100 (p 0xfffffd806dc46000); offset 0x0=0x0 pool(mbufpl): free list modified: page 0xfffffd806d6f4000; item ordinal 0; addr 0xfffffd806d6f4100 (p 0xfffffd806dc46000); offset 0x0=0x0 mbufpl: pool(0xffffffff82666280:mbufpl): page inconsistency: page 0xfffffd806d6f4000; item ordinal 1; addr 0x958cd9580dcf5f1d mbufpl: pool(0xffffffff82666280:mbufpl): free list modified: page 0xfffffd806d874000; item ordinal 0; addr 0xfffffd806d874b00 (p 0xfffffd806dc46000); offset 0x0=0x0 pool(mbufpl): free list modified: page 0xfffffd806d874000; item ordinal 0; addr 0xfffffd806d874b00 (p 0xfffffd806dc46000); offset 0x0=0x0 mbufpl: pool(0xffffffff82666280:mbufpl): page inconsistency: page 0xfffffd806d874000; item ordinal 1; addr 0x2bc1ac86c0db0395 mbufpl: pool(0xffffffff82666280:mbufpl): free list modified: page 0xfffffd807f01e000; item ordinal 0; addr 0xfffffd807f01e200 (p 0xfffffd807f7c4000); offset 0x0=0x0 pool(mbufpl): free list modified: page 0xfffffd807f01e000; item ordinal 0; addr 0xfffffd807f01e200 (p 0xfffffd807f7c4000); offset 0x0=0x0 mbufpl: pool(0xffffffff82666280:mbufpl): page inconsistency: page 0xfffffd807f01e000; item ordinal 1; addr 0x845fd334b14540ac bufpl 280 3227 0 133 221 0 221 221 0 8 0 anonpl 16 28313 0 26516 14 2 12 12 0 124 4 amapchunkpl 152 975 0 909 5 0 5 5 0 158 2 amappl16 192 1123 0 1078 3 0 3 3 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 27 0 23 1 0 1 1 0 8 0 amappl13 168 22 0 20 2 1 1 1 0 8 0 amappl12 160 10 0 9 2 1 1 1 0 8 0 amappl11 152 52 0 37 1 0 1 1 0 8 0 amappl10 144 261 0 256 1 0 1 1 0 8 0 amappl9 136 219 0 218 1 0 1 1 0 8 0 amappl8 128 276 0 267 1 0 1 1 0 8 0 amappl7 120 353 0 342 1 0 1 1 0 8 0 amappl6 112 22 0 20 2 1 1 1 0 8 0 amappl5 104 389 0 375 1 0 1 1 0 8 0 amappl4 96 488 0 464 1 0 1 1 0 8 0 amappl3 88 108 0 102 1 0 1 1 0 8 0 amappl2 80 1392 0 1330 2 0 2 2 0 8 0 amappl1 72 17282 0 16864 23 5 18 18 0 8 8 amappl 80 712 0 684 1 0 1 1 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 464 0 450 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 464 0 450 1 0 1 1 0 8 0 vmmpekpl 168 6816 0 6794 2 0 2 2 0 8 0 vmmpepl 168 42590 0 41653 83 11 72 72 0 357 29 vmsppl 368 463 0 450 2 0 2 2 0 8 0 pdppl 4096 936 0 900 6 0 6 6 0 8 0 pvpl 32 139305 0 135140 107 3 104 104 0 265 70 pmappl 232 463 0 450 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 233 0 4 7 0 7 7 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82507ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xc6 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 _kernel_lock_held() at _kernel_lock_held+0xcd kqueue_sleep(fffffd806e99ae10,0) at kqueue_sleep+0x1a0 kqueue_scan(fffffd806e99ae10,40,c000045698,0,ffff800020ed0eb0,ffff800020f21d7c) at kqueue_scan+0x2b6 sys_kevent(ffff800020ed0eb0,ffff800020f21df0,ffff800020f21e40) at sys_kevent+0x464 syscall(ffff800020f21ec0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc000045e98, count: 6 ddb{0}>