Warning: Permanently added '10.128.15.193' (ECDSA) to the list of known hosts. 2020/06/06 17:17:05 parsed 1 programs 2020/06/06 17:17:08 executed programs: 0 login: panic: pool_do_get: mbufpl free list modified: page 0xfffffd806d5f7000; item addr 0xfffffd806d5f7b00; offset 0x0=0x0 != 0xbaa84fb11db8d978 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 487779 7891 0 0x2 0 0K syz-execprog * 67786 30309 0 0x12 0 1 sshd db_enter() at db_enter+0x18 panic(ffffffff822751b4) at panic+0x15c pool_do_get(ffffffff826b7ec0,2,ffff800020ed7388) at pool_do_get+0x439 pool_get(ffffffff826b7ec0,2) at pool_get+0xeb m_gethdr(2,2) at m_gethdr+0x4c tcp_output(ffff800000a0b320) at tcp_output+0x14e6 tcp_usrreq(fffffd806eb39af8,9,fffffd806d918f00,0,0,ffff800020ed1870) at tcp_usrreq+0xa55 sosend(fffffd806eb39af8,0,ffff800020ed7808,0,0,80) at sosend+0x671 dofilewritev(ffff800020ed1870,4,ffff800020ed7808,0,ffff800020ed78f0) at dofilewritev+0x1b6 sys_write(ffff800020ed1870,ffff800020ed78a0,ffff800020ed78f0) at sys_write+0x83 syscall(ffff800020ed7970) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffef320, 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 0xfffffd806d5f7000; item addr 0xfffffd806d5f7b00; offset 0x0=0x0 != 0xbaa84fb11db8d978 ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff822751b4) at panic+0x15c pool_do_get(ffffffff826b7ec0,2,ffff800020ed7388) at pool_do_get+0x439 pool_get(ffffffff826b7ec0,2) at pool_get+0xeb m_gethdr(2,2) at m_gethdr+0x4c tcp_output(ffff800000a0b320) at tcp_output+0x14e6 tcp_usrreq(fffffd806eb39af8,9,fffffd806d918f00,0,0,ffff800020ed1870) at tcp_usrreq+0xa55 sosend(fffffd806eb39af8,0,ffff800020ed7808,0,0,80) at sosend+0x671 dofilewritev(ffff800020ed1870,4,ffff800020ed7808,0,ffff800020ed78f0) at dofilewritev+0x1b6 sys_write(ffff800020ed1870,ffff800020ed78a0,ffff800020ed78f0) at sys_write+0x83 syscall(ffff800020ed7970) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffef320, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020ed71d0 rbx 0xffff800020ed7280 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81c69d7f kprintf+0x16f r9 0x1 r10 0x2 r11 0x8aa88edf165184b1 r12 0x3000000008 r13 0xffff800020ed71e0 r14 0x100 r15 0x1 rip 0xffffffff81f40c18 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020ed71c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (sshd) pid=67786 stat=onproc flags process=12 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020ed0760,0xffff800020ed09e0 process=0xffff800020ec8ba0 user=0xffff800020ed2000, vmspace=0xfffffd806e94c5c8 estcpu=1, cpticks=1, pctcpu=0.1 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 10841 119100 7891 0 2 0x2 syz-executor.0 7891 487779 2150 0 7 0x2 syz-execprog 7891 7553 2150 0 3 0x4000082 nanosleep syz-execprog 7891 214226 2150 0 3 0x4000082 thrsleep syz-execprog 7891 504000 2150 0 3 0x4000082 thrsleep syz-execprog 7891 117316 2150 0 3 0x4000082 thrsleep syz-execprog 7891 62638 2150 0 3 0x4000082 thrsleep syz-execprog 7891 508811 2150 0 3 0x4000082 thrsleep syz-execprog 7891 251647 2150 0 3 0x4000082 thrsleep syz-execprog 7891 283246 2150 0 3 0x4000082 nanosleep syz-execprog 2150 94250 30309 0 3 0x10008a pause ksh *30309 67786 14272 0 7 0x12 sshd 63146 473622 1 0 3 0x100083 ttyin getty 14272 85240 1 0 3 0x80 select sshd 36123 418092 80923 74 3 0x100092 bpf pflogd 80923 523804 1 0 3 0x80 netio pflogd 36444 477042 86906 73 3 0x100090 kqread syslogd 86906 443404 1 0 3 0x100082 netio syslogd 43308 419635 1 77 3 0x100090 poll dhclient 70196 312546 1 0 3 0x80 poll dhclient 86493 393187 0 0 3 0x14200 bored smr 34561 90180 0 0 3 0x14200 pgzero zerothread 42486 343928 0 0 3 0x14200 aiodoned aiodoned 74817 216613 0 0 3 0x14200 syncer update 42084 181132 0 0 3 0x14200 cleaner cleaner 34337 60617 0 0 3 0x14200 reaper reaper 63780 448998 0 0 3 0x14200 pgdaemon pagedaemon 55063 121132 0 0 3 0x14200 bored crynlk 16472 308080 0 0 3 0x14200 bored crypto 92498 113577 0 0 3 0x40014200 acpi0 acpi0 64664 379694 0 0 3 0x40014200 idle1 26486 444623 0 0 3 0x14200 bored softnet 41705 328341 0 0 3 0x14200 bored systqmp 2467 328742 0 0 3 0x14200 bored systq 97867 360685 0 0 3 0x40014200 bored softclock 52648 62704 0 0 3 0x40014200 idle0 1 327165 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 (0xffffffff826b7ed0) #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 10841 (syz-executor.0) thread 0xffff800020e6c278 (119100) exclusive rrwlock inode r = 0 (0xfffffd806b9071a8) #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 (0xfffffd806b9076f8) #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 7891 (syz-execprog) thread 0xffff800020ed0c40 (487779) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff826b0e70) #0 witness_lock+0x4c7 #1 uvm_map_inentry+0xbe #2 syscall+0x397 #3 Xsyscall+0x128 Process 30309 (sshd) thread 0xffff800020ed1870 (67786) exclusive rwlock netlock r = 0 (0xffffffff824e45e8) #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 (0xffffffff826b7ed0) #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 293 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 272 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 73 12K 12K 78643K 1198 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 2378 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 288 0 282 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 0 1 0 1 1 0 8 0 pfstkey 112 11 0 0 1 0 1 1 0 8 0 pfstate 328 11 0 0 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 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 1678 0 276 88 0 88 88 0 8 0 ffsino 272 1678 0 276 94 0 94 94 0 8 0 nchpl 144 2150 0 548 60 0 60 60 0 8 0 uvmvnodes 72 1688 0 0 31 0 31 31 0 8 0 vnodes 208 1688 0 0 89 0 89 89 0 8 0 namei 1024 5228 0 5228 2 1 1 1 0 8 1 percpumem 16 31 0 0 1 0 1 1 0 8 0 scxspl 192 5533 0 5533 8 1 7 7 0 8 7 plimitpl 152 15 0 8 1 0 1 1 0 8 0 sigapl 424 495 0 466 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 480 0 466 3 0 3 3 0 8 0 filepl 152 1624 0 1566 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 466 0 466 2 1 1 1 0 8 1 processpl 984 495 0 466 5 0 5 5 0 8 1 procpl 624 503 0 466 4 0 4 4 0 8 1 sockpl 400 334 0 316 2 0 2 2 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 79 0 0 10 0 10 10 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 99 0 0 6 0 6 6 0 8 0 mbufpl: pool(0xffffffff826b7ec0:mbufpl): free list modified: page 0xfffffd806d5f7000; item ordinal 0; addr 0xfffffd806d5f7b00 (p 0xfffffd806dfac000); offset 0x0=0x0 pool(mbufpl): free list modified: page 0xfffffd806d5f7000; item ordinal 0; addr 0xfffffd806d5f7b00 (p 0xfffffd806dfac000); offset 0x0=0x0 mbufpl: pool(0xffffffff826b7ec0:mbufpl): page inconsistency: page 0xfffffd806d5f7000; item ordinal 1; addr 0xd9c13452366873e4 bufpl 280 3241 0 133 222 0 222 222 0 8 0 anonpl 16 28769 0 26956 14 2 12 12 0 124 3 amapchunkpl 152 1045 0 979 5 0 5 5 0 158 1 amappl16 192 1191 0 1146 3 0 3 3 0 8 0 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 25 0 22 1 0 1 1 0 8 0 amappl13 168 23 0 21 2 1 1 1 0 8 0 amappl12 160 9 0 5 2 1 1 1 0 8 0 amappl11 152 51 0 36 1 0 1 1 0 8 0 amappl10 144 274 0 271 1 0 1 1 0 8 0 amappl9 136 226 0 225 1 0 1 1 0 8 0 amappl8 128 267 0 259 1 0 1 1 0 8 0 amappl7 120 112 0 102 1 0 1 1 0 8 0 amappl6 112 23 0 20 2 1 1 1 0 8 0 amappl5 104 393 0 378 1 0 1 1 0 8 0 amappl4 96 492 0 465 1 0 1 1 0 8 0 amappl3 88 106 0 101 1 0 1 1 0 8 0 amappl2 80 1362 0 1302 3 1 2 2 0 8 0 amappl1 72 17775 0 17349 23 5 18 18 0 8 8 amappl 80 728 0 700 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 480 0 466 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 480 0 466 1 0 1 1 0 8 0 vmmpekpl 168 6840 0 6815 2 0 2 2 0 8 0 vmmpepl 168 43462 0 42518 82 9 73 73 0 357 31 vmsppl 368 479 0 466 2 0 2 2 0 8 0 pdppl 4096 968 0 932 6 0 6 6 0 8 0 pvpl 32 141204 0 137022 106 2 104 104 0 265 69 pmappl 232 479 0 466 1 0 1 1 0 8 0 extentpl 40 53 0 36 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(ffffffff824e9ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xc6 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 spllower(d) at spllower+0x87 tsleep(fffffd806e9a9d80,118,ffffffff8224e418,0) at tsleep+0x1aa kqueue_sleep(fffffd806e9a9d80,0) at kqueue_sleep+0x1a0 kqueue_scan(fffffd806e9a9d80,40,7f7ffffbdce0,0,ffff800020ed0c40,ffff800020f13c7c) at kqueue_scan+0x2b6 sys_kevent(ffff800020ed0c40,ffff800020f13cf0,ffff800020f13d40) at sys_kevent+0x464 syscall(ffff800020f13dc0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbe4e0, count: 5 ddb{0}> trace x86_ipi_db(ffffffff824e9ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xc6 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 spllower(d) at spllower+0x87 tsleep(fffffd806e9a9d80,118,ffffffff8224e418,0) at tsleep+0x1aa kqueue_sleep(fffffd806e9a9d80,0) at kqueue_sleep+0x1a0 kqueue_scan(fffffd806e9a9d80,40,7f7ffffbdce0,0,ffff800020ed0c40,ffff800020f13c7c) at kqueue_scan+0x2b6 sys_kevent(ffff800020ed0c40,ffff800020f13cf0,ffff800020f13d40) at sys_kevent+0x464 syscall(ffff800020f13dc0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbe4e0, count: -10 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 panic(ffffffff822751b4) at panic+0x15c pool_do_get(ffffffff826b7ec0,2,ffff800020ed7388) at pool_do_get+0x439 pool_get(ffffffff826b7ec0,2) at pool_get+0xeb m_gethdr(2,2) at m_gethdr+0x4c tcp_output(ffff800000a0b320) at tcp_output+0x14e6 tcp_usrreq(fffffd806eb39af8,9,fffffd806d918f00,0,0,ffff800020ed1870) at tcp_usrreq+0xa55 sosend(fffffd806eb39af8,0,ffff800020ed7808,0,0,80) at sosend+0x671 dofilewritev(ffff800020ed1870,4,ffff800020ed7808,0,ffff800020ed78f0) at dofilewritev+0x1b6 sys_write(ffff800020ed1870,ffff800020ed78a0,ffff800020ed78f0) at sys_write+0x83 syscall(ffff800020ed7970) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffef320, count: 3 ddb{1}>