Warning: Permanently added '10.128.1.23' (ECDSA) to the list of known hosts. 2020/05/08 21:32:17 parsed 1 programs 2020/05/08 21:32:20 executed programs: 0 login: panic: pool_do_get: mbufpl free list modified: page 0xfffffd806f722000; item addr 0xfffffd806f722b00; offset 0x0=0x0 != 0x2ce324d9c8cac843 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 397557 28314 0 0x2 0x4000000 0K syz-execprog *500136 44575 0 0x12 0 1 sshd db_enter() at db_enter+0x18 panic(ffffffff82270f77) at panic+0x15c pool_do_get(ffffffff8264bc38,2,ffff800020e90ab8) at pool_do_get+0x439 pool_get(ffffffff8264bc38,2) at pool_get+0xeb m_gethdr(2,2) at m_gethdr+0x4c tcp_output(ffff800000a0c760) at tcp_output+0x14e6 tcp_usrreq(fffffd806eb42968,9,fffffd806f722d00,0,0,ffff800020ede760) at tcp_usrreq+0xa55 sosend(fffffd806eb42968,0,ffff800020e90f38,0,0,80) at sosend+0x671 dofilewritev(ffff800020ede760,4,ffff800020e90f38,0,ffff800020e91020) at dofilewritev+0x1b6 sys_write(ffff800020ede760,ffff800020e90fd0,ffff800020e91020) at sys_write+0x83 syscall(ffff800020e910a0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcbe80, 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 0xfffffd806f722000; item addr 0xfffffd806f722b00; offset 0x0=0x0 != 0x2ce324d9c8cac843 ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff82270f77) at panic+0x15c pool_do_get(ffffffff8264bc38,2,ffff800020e90ab8) at pool_do_get+0x439 pool_get(ffffffff8264bc38,2) at pool_get+0xeb m_gethdr(2,2) at m_gethdr+0x4c tcp_output(ffff800000a0c760) at tcp_output+0x14e6 tcp_usrreq(fffffd806eb42968,9,fffffd806f722d00,0,0,ffff800020ede760) at tcp_usrreq+0xa55 sosend(fffffd806eb42968,0,ffff800020e90f38,0,0,80) at sosend+0x671 dofilewritev(ffff800020ede760,4,ffff800020e90f38,0,ffff800020e91020) at dofilewritev+0x1b6 sys_write(ffff800020ede760,ffff800020e90fd0,ffff800020e91020) at sys_write+0x83 syscall(ffff800020e910a0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcbe80, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e90900 rbx 0xffff800020e909b0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81b4951f kprintf+0x16f r9 0x1 r10 0x79aa2b2e6b45b5ba r11 0xf15039d6af266670 r12 0x3000000008 r13 0xffff800020e90910 r14 0x100 r15 0x1 rip 0xffffffff818b7698 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e908f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (sshd) pid=500136 stat=onproc flags process=12 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ede280,0xffff800020edeec0 process=0xffff800020ec8f78 user=0xffff800020e8c000, vmspace=0xfffffd806e9535c8 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 49621 506620 28314 0 2 0x2 syz-executor.0 28314 290692 97876 0 3 0x82 nanosleep syz-execprog 28314 20616 97876 0 3 0x4000082 nanosleep syz-execprog 28314 397557 97876 0 7 0x4000002 syz-execprog 28314 195363 97876 0 3 0x4000082 thrsleep syz-execprog 28314 45562 97876 0 3 0x4000082 thrsleep syz-execprog 28314 234319 97876 0 3 0x4000082 thrsleep syz-execprog 28314 260233 97876 0 3 0x4000082 thrsleep syz-execprog 28314 184433 97876 0 3 0x4000082 thrsleep syz-execprog 28314 469062 97876 0 3 0x4000082 thrsleep syz-execprog 97876 78922 44575 0 3 0x10008a pause ksh *44575 500136 67994 0 7 0x12 sshd 49188 69344 1 0 3 0x100083 ttyin getty 67994 156394 1 0 3 0x80 select sshd 45511 133823 72505 74 3 0x100092 bpf pflogd 72505 227382 1 0 3 0x80 netio pflogd 98880 156791 39477 73 3 0x100090 kqread syslogd 39477 229810 1 0 3 0x100082 netio syslogd 5689 473400 1 77 3 0x100090 poll dhclient 21625 177468 1 0 3 0x80 poll dhclient 53011 215430 0 0 3 0x14200 bored smr 648 332930 0 0 3 0x14200 pgzero zerothread 93216 326285 0 0 3 0x14200 aiodoned aiodoned 65354 304576 0 0 3 0x14200 syncer update 23455 362047 0 0 3 0x14200 cleaner cleaner 22274 288971 0 0 3 0x14200 reaper reaper 62958 158349 0 0 3 0x14200 pgdaemon pagedaemon 40696 30813 0 0 3 0x14200 bored crynlk 47716 168986 0 0 3 0x14200 bored crypto 4329 30612 0 0 3 0x40014200 acpi0 acpi0 32217 483811 0 0 3 0x40014200 idle1 73072 387898 0 0 3 0x14200 bored softnet 71797 382609 0 0 3 0x14200 bored systqmp 21043 210742 0 0 3 0x14200 bored systq 5710 360206 0 0 3 0x40014200 bored softclock 354 195131 0 0 3 0x40014200 idle0 1 453345 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 (0xffffffff8264bc48) #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 49621 (syz-executor.0) thread 0xffff800020e6c758 (506620) exclusive rrwlock inode r = 0 (0xfffffd806b9241a8) #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 (0xfffffd806b9245e8) #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 44575 (sshd) thread 0xffff800020ede760 (500136) exclusive rwlock netlock r = 0 (0xffffffff824c7db8) #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 (0xffffffff8264bc48) #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 9466 6395K 6395K 78643K 10557 0 pcb 13 8K 8K 78643K 13 0 rtable 83 2K 2K 78643K 163 0 ifaddr 37 9K 9K 78643K 272 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 1823 197K 290K 78643K 12980 0 file desc 2 4K 12K 78643K 251 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 78 12K 12K 78643K 1185 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 3033K 3097K 78643K 2333 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 267 0 261 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 10 0 6 2 1 1 1 0 8 0 pfstkey 112 10 0 6 2 1 1 1 0 8 0 pfstate 328 10 0 6 2 1 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 145 0 0 10 0 10 10 0 8 0 art_table 32 146 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 1657 0 255 88 0 88 88 0 8 0 ffsino 272 1657 0 255 94 0 94 94 0 8 0 nchpl 144 2106 0 506 60 0 60 60 0 8 0 uvmvnodes 72 1667 0 0 31 0 31 31 0 8 0 vnodes 208 1667 0 0 88 0 88 88 0 8 0 namei 1024 5138 0 5138 2 1 1 1 0 8 1 percpumem 16 31 0 0 1 0 1 1 0 8 0 scxspl 192 5413 0 5413 26 25 1 7 0 8 1 plimitpl 152 15 0 8 1 0 1 1 0 8 0 sigapl 424 474 0 445 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 459 0 445 3 0 3 3 0 8 0 filepl 152 1576 0 1518 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 445 0 445 2 1 1 1 0 8 1 processpl 984 474 0 445 5 0 5 5 0 8 1 procpl 624 482 0 445 3 0 3 3 0 8 0 sockpl 400 313 0 295 2 0 2 2 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 77 0 0 10 0 10 10 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 127 0 0 7 0 7 7 0 8 0 mbufpl: pool(0xffffffff8264bc38:mbufpl): free list modified: page 0xfffffd806f722000; item ordinal 0; addr 0xfffffd806f722b00 (p 0xfffffd806f2ce000); offset 0x0=0x0 mbufpl: pool(0xffffffff8264bc38:mbufpl): page inconsistency: page 0xfffffd806f722000; item ordinal 1; addr 0xb0ba4097d361e748 bufpl 280 3214 0 132 221 0 221 221 0 8 0 anonpl 16 29282 0 26893 14 2 12 12 0 124 1 amapchunkpl 152 1082 0 1001 4 0 4 4 0 158 0 amappl16 192 1386 0 1292 5 0 5 5 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 31 0 26 1 0 1 1 0 8 0 amappl13 168 23 0 21 2 1 1 1 0 8 0 amappl12 160 10 0 8 2 1 1 1 0 8 0 amappl11 152 52 0 37 1 0 1 1 0 8 0 amappl10 144 16 0 13 1 0 1 1 0 8 0 amappl9 136 215 0 214 1 0 1 1 0 8 0 amappl8 128 275 0 266 1 0 1 1 0 8 0 amappl7 120 121 0 110 1 0 1 1 0 8 0 amappl6 112 21 0 20 2 1 1 1 0 8 0 amappl5 104 388 0 374 1 0 1 1 0 8 0 amappl4 96 499 0 472 1 0 1 1 0 8 0 amappl3 88 105 0 99 1 0 1 1 0 8 0 amappl2 80 1347 0 1289 2 0 2 2 0 8 0 amappl1 72 17471 0 17049 23 5 18 18 0 8 8 amappl 80 712 0 682 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 459 0 445 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 459 0 445 1 0 1 1 0 8 0 vmmpekpl 168 6826 0 6802 2 0 2 2 0 8 0 vmmpepl 168 42522 0 41536 81 9 72 72 0 357 28 vmsppl 368 458 0 445 2 0 2 2 0 8 0 pdppl 4096 926 0 890 6 0 6 6 0 8 0 pvpl 32 140156 0 135293 106 2 104 104 0 265 63 pmappl 232 458 0 445 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 234 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(ffffffff82520ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xc6 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc kqueue_scan(fffffd806e987750,40,c000047698,0,ffff800020ede010,ffff800020f1f95c) at kqueue_scan+0x2b6 sys_kevent(ffff800020ede010,ffff800020f1f9d0,ffff800020f1fa20) at sys_kevent+0x464 syscall(ffff800020f1faa0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc000047e98, count: 7 ddb{0}> trace x86_ipi_db(ffffffff82520ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xc6 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc kqueue_scan(fffffd806e987750,40,c000047698,0,ffff800020ede010,ffff800020f1f95c) at kqueue_scan+0x2b6 sys_kevent(ffff800020ede010,ffff800020f1f9d0,ffff800020f1fa20) at sys_kevent+0x464 syscall(ffff800020f1faa0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc000047e98, count: -8 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 panic(ffffffff82270f77) at panic+0x15c pool_do_get(ffffffff8264bc38,2,ffff800020e90ab8) at pool_do_get+0x439 pool_get(ffffffff8264bc38,2) at pool_get+0xeb m_gethdr(2,2) at m_gethdr+0x4c tcp_output(ffff800000a0c760) at tcp_output+0x14e6 tcp_usrreq(fffffd806eb42968,9,fffffd806f722d00,0,0,ffff800020ede760) at tcp_usrreq+0xa55 sosend(fffffd806eb42968,0,ffff800020e90f38,0,0,80) at sosend+0x671 dofilewritev(ffff800020ede760,4,ffff800020e90f38,0,ffff800020e91020) at dofilewritev+0x1b6 sys_write(ffff800020ede760,ffff800020e90fd0,ffff800020e91020) at sys_write+0x83 syscall(ffff800020e910a0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcbe80, count: 3 ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff82270f77) at panic+0x15c pool_do_get(ffffffff8264bc38,2,ffff800020e90ab8) at pool_do_get+0x439 pool_get(ffffffff8264bc38,2) at pool_get+0xeb m_gethdr(2,2) at m_gethdr+0x4c tcp_output(ffff800000a0c760) at tcp_output+0x14e6 tcp_usrreq(fffffd806eb42968,9,fffffd806f722d00,0,0,ffff800020ede760) at tcp_usrreq+0xa55 sosend(fffffd806eb42968,0,ffff800020e90f38,0,0,80) at sosend+0x671 dofilewritev(ffff800020ede760,4,ffff800020e90f38,0,ffff800020e91020) at dofilewritev+0x1b6 sys_write(ffff800020ede760,ffff800020e90fd0,ffff800020e91020) at sys_write+0x83 syscall(ffff800020e910a0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcbe80, count: -12