kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Sun Sep 29 00:11:25 PDT 2019 OpenBSD/amd64 (ci-openbsd-multicore-6.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.10.31' (ECDSA) to the list of known hosts. 2019/09/29 00:11:46 parsed 1 programs 2019/09/29 00:11:53 executed programs: 0 login: panic: pool_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd806f5d9a00+16 0x0!=0xf8bc3cb900f7b6f4 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 466538 96471 0 0x2 0 1 syz-executor.1 *284828 80950 74 0x100012 0 0K pflogd db_enter() at db_enter+0x18 panic() at panic+0x15c pool_cache_get(ffffffff826477d8) at pool_cache_get+0x323 pool_get() at pool_get+0x91 m_get(2,3) at m_get+0x4c sbappendaddr(fffffd806e97dd88,fffffd806e97de10,ffffffff82512888,fffffd806f5d9900,0) at sbappendaddr+0x140 uipc_usrreq(fffffd806e97da88,9,fffffd806f5d9900,0,0,ffff800020ac0778) at uipc_usrreq+0xbb9 sosend(fffffd806e97da88,0,ffff800020aab300,0,0,0) at sosend+0x645 dosendsyslog(ffff800020ac0778,7f7ffffe8390,3d,0,0) at dosendsyslog+0x2b8 sys_sendsyslog() at sys_sendsyslog+0x13e syscall(ffff800020aab560) at syscall+0x4a4 Xsyscall(6,70,3d,70,1fee,15dd1de86038) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffea910, 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{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 0xfffffd806f5d9a00+16 0x0!=0xf8bc3cb900f7b6f4 ddb{0}> trace db_enter() at db_enter+0x18 panic() at panic+0x15c pool_cache_get(ffffffff826477d8) at pool_cache_get+0x323 pool_get() at pool_get+0x91 m_get(2,3) at m_get+0x4c sbappendaddr(fffffd806e97dd88,fffffd806e97de10,ffffffff82512888,fffffd806f5d9900,0) at sbappendaddr+0x140 uipc_usrreq(fffffd806e97da88,9,fffffd806f5d9900,0,0,ffff800020ac0778) at uipc_usrreq+0xbb9 sosend(fffffd806e97da88,0,ffff800020aab300,0,0,0) at sosend+0x645 dosendsyslog(ffff800020ac0778,7f7ffffe8390,3d,0,0) at dosendsyslog+0x2b8 sys_sendsyslog() at sys_sendsyslog+0x13e syscall(ffff800020aab560) at syscall+0x4a4 Xsyscall(6,70,3d,70,1fee,15dd1de86038) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffea910, count: -12 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020aaaea0 rbx 0xffff800020aaaf50 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81bc379f kprintf+0x16f r9 0x1 r10 0xf2ddea0f98c2dc41 r11 0xeedb38097ef75c4 r12 0x3000000008 r13 0xffff800020aaaeb0 r14 0x100 r15 0x1 rip 0xffffffff819d3248 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020aaae90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (pflogd) pid=284828 stat=onproc flags process=100012 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac0ee0,0xffff800020ac1168 process=0xffff800020adc700 user=0xffff800020aa6000, vmspace=0xfffffd806e7d9458 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 96471 466538 14359 0 7 0x2 syz-executor.1 30302 265193 14359 0 2 0x482 syz-executor.0 14359 68159 5752 0 3 0x82 kqread syz-execprog 14359 34835 5752 0 3 0x4000082 thrsleep syz-execprog 14359 278144 5752 0 3 0x4000082 thrsleep syz-execprog 14359 216704 5752 0 3 0x4000082 thrsleep syz-execprog 14359 249599 5752 0 3 0x4000082 thrsleep syz-execprog 14359 400452 5752 0 3 0x4000082 thrsleep syz-execprog 14359 169916 5752 0 3 0x4000082 thrsleep syz-execprog 14359 146571 5752 0 3 0x4000082 thrsleep syz-execprog 14359 150460 5752 0 3 0x4000082 thrsleep syz-execprog 14359 336144 5752 0 3 0x4000082 thrsleep syz-execprog 5752 224296 57378 0 3 0x10008a pause ksh 57378 62057 19938 0 3 0x92 select sshd 68395 187202 1 0 3 0x100083 ttyin getty 19938 183581 1 0 3 0x80 select sshd *80950 284828 53482 74 7 0x100012 pflogd 53482 151201 1 0 3 0x80 netio pflogd 10693 179601 67503 73 3 0x100090 kqread syslogd 67503 296265 1 0 3 0x100082 netio syslogd 15627 260095 1 77 3 0x100090 poll dhclient 98975 358315 1 0 3 0x80 poll dhclient 9030 203113 0 0 3 0x14200 pgzero zerothread 86716 254956 0 0 3 0x14200 aiodoned aiodoned 97360 383459 0 0 3 0x14200 syncer update 45524 139981 0 0 3 0x14200 cleaner cleaner 42639 135795 0 0 3 0x14200 reaper reaper 80741 366086 0 0 3 0x14200 pgdaemon pagedaemon 44817 233880 0 0 3 0x14200 bored crynlk 63527 315955 0 0 3 0x14200 bored crypto 34440 705 0 0 3 0x40014200 acpi0 acpi0 29134 158549 0 0 3 0x40014200 idle1 91789 305240 0 0 3 0x14200 bored softnet 99977 273117 0 0 3 0x14200 bored systqmp 16380 217460 0 0 3 0x14200 bored systq 81835 328682 0 0 3 0x40014200 bored softclock 96735 63415 0 0 3 0x40014200 idle0 6649 243030 0 0 3 0x14200 bored smr 1 353035 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 80950 (pflogd) thread 0xffff800020ac0778 (284828) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff826721f8) #0 witness_lock+0x52e #1 syscall+0x400 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9462 6387K 6387K 78643K 10549 0 0 pcb 13 8K 8K 78643K 13 0 0 rtable 93 3K 3K 78643K 205 0 0 ifaddr 38 10K 10K 78643K 423 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1469 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1181 74K 74K 78643K 1186 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 1K 78643K 2 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 2 0K 0K 78643K 2 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 3 8K 24K 78643K 419 0 0 proc 59 63K 95K 78643K 424 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 in_multi 33 2K 2K 78643K 33 0 0 ether_multi 1 0K 0K 78643K 1 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 18 79K 79K 78643K 18 0 0 exec 0 0K 1K 78643K 212 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 85 20K 21K 78643K 1797 0 0 UVM aobj 2 2K 2K 78643K 2 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 NDP 6 0K 0K 78643K 10 0 0 temp 55 3546K 3610K 78643K 4206 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 6 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 7 2 0 2 2 0 8 0 unpcb 120 29 0 19 1 0 1 1 0 8 0 syncache 264 5 0 5 1 1 0 1 0 8 0 tcpcb 544 8 0 5 1 0 1 1 0 8 0 inpcb 280 423 0 417 1 0 1 1 0 8 0 nd6 48 4 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 213 0 4 14 0 14 14 0 8 0 art_table 32 214 0 4 2 0 2 2 0 8 0 art_node 16 44 0 10 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1811 0 404 46 0 46 46 0 8 0 ffsino 272 1811 0 404 94 0 94 94 0 8 0 nchpl 144 2437 0 819 61 0 61 61 0 8 1 uvmvnodes 72 1821 0 0 34 0 34 34 0 8 0 vnodes 208 1821 0 0 96 0 96 96 0 8 0 namei 1024 5782 0 5782 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 6570 0 6570 8 1 7 7 0 8 7 plimitpl 152 16 0 8 1 0 1 1 0 8 0 sigapl 432 624 0 610 3 0 3 3 0 8 1 futexpl 56 1749 0 1749 1 0 1 1 0 8 1 knotepl 112 51 0 34 1 0 1 1 0 8 0 kqueuepl 104 2 0 0 1 0 1 1 0 8 0 pipepl 112 162 0 143 2 1 1 1 0 8 0 fdescpl 488 625 0 610 3 0 3 3 0 8 0 filepl 152 1919 0 1852 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 20 0 9 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 52 0 43 1 0 1 1 0 8 0 zombiepl 144 610 0 608 2 1 1 1 0 8 0 processpl 896 640 0 608 4 0 4 4 0 8 0 procpl 632 1039 0 998 4 0 4 4 0 8 0 sockpl 384 471 0 453 3 0 3 3 0 8 1 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 56 0 0 7 0 7 7 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 135 0 0 8 0 8 8 0 8 0 mbufpl: pool(0xffffffff826477d8:mbufpl): free list modified: page 0xfffffd806ce3f000; item ordinal 8; addr 0xfffffd806ce3ff00 (p 0xfffffd8077887000); offset 0x0=0x0 pool(mbufpl): free list modified: page 0xfffffd806ce3f000; item ordinal 8; addr 0xfffffd806ce3ff00 (p 0xfffffd8077887000); offset 0x0=0x0 mbufpl: pool(0xffffffff826477d8:mbufpl): page inconsistency: page 0xfffffd806ce3f000; item ordinal 9; addr 0xf85f5a29ab402239 bufpl 256 6281 0 1315 311 0 311 311 0 8 0 anonpl 16 41817 0 39249 16 2 14 14 0 124 3 amapchunkpl 152 2195 0 2110 6 0 6 6 0 158 1 amappl16 192 1998 0 1902 6 0 6 6 0 8 0 amappl14 176 35 0 30 2 1 1 1 0 8 0 amappl13 168 1 0 0 1 0 1 1 0 8 0 amappl12 160 200 0 197 1 0 1 1 0 8 0 amappl11 152 53 0 38 1 0 1 1 0 8 0 amappl10 144 14 0 10 1 0 1 1 0 8 0 amappl9 136 472 0 466 1 0 1 1 0 8 0 amappl8 128 140 0 129 1 0 1 1 0 8 0 amappl7 120 38 0 34 1 0 1 1 0 8 0 amappl6 112 89 0 76 1 0 1 1 0 8 0 amappl5 104 325 0 310 1 0 1 1 0 8 0 amappl4 96 699 0 674 1 0 1 1 0 8 0 amappl3 88 306 0 301 1 0 1 1 0 8 0 amappl2 80 4075 0 4011 3 0 3 3 0 8 1 amappl1 72 21248 0 20822 25 7 18 20 0 8 8 amappl 80 1285 0 1252 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 625 0 610 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 625 0 610 1 0 1 1 0 8 0 vmmpekpl 168 8182 0 8159 2 0 2 2 0 8 0 vmmpepl 168 61779 0 60742 89 8 81 81 0 357 32 vmsppl 368 624 0 610 2 0 2 2 0 8 0 pdppl 4096 1257 0 1220 6 0 6 6 0 8 0 pvpl 32 168587 0 163444 119 4 115 115 0 265 72 pmappl 232 624 0 610 2 0 2 2 0 8 1 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 453 0 3 13 0 13 13 0 8 0 ddb{0}>