kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Fri May 15 16:42:52 PDT 2020 OpenBSD/amd64 (ci-openbsd-multicore-9.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.15.196' (ECDSA) to the list of known hosts. 2020/05/15 16:43:14 parsed 1 programs 2020/05/15 16:43:18 executed programs: 0 login: panic: pool_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd806bdf5300+16 0x0!=0x3ae065dda6bdc8cc Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 27643 74690 74 0x100012 0 1K pflogd 81945 48104 73 0x100010 0x80 0 syslogd db_enter() at db_enter+0x18 panic(ffffffff821fc689) at panic+0x15c pool_cache_get(ffffffff82692510) at pool_cache_get+0x323 pool_get(ffffffff82692510,1) at pool_get+0x91 m_gethdr(1,1) at m_gethdr+0x4c m_getuio(ffff800020effa38,1,100000,ffff800020effb20) at m_getuio+0xe4 sosend(fffffd806eb31648,0,ffff800020effb20,0,0,0) at sosend+0x54e dosendsyslog(ffff800020ed0280,7f7ffffd68a0,3d,0,0) at dosendsyslog+0x2b8 sys_sendsyslog(ffff800020ed0280,ffff800020effcb0,ffff800020effd00) at sys_sendsyslog+0x13e syscall(ffff800020effd80) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8e20, count: 4 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_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd806bdf5300+16 0x0!=0x3ae065dda6bdc8cc ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff821fc689) at panic+0x15c pool_cache_get(ffffffff82692510) at pool_cache_get+0x323 pool_get(ffffffff82692510,1) at pool_get+0x91 m_gethdr(1,1) at m_gethdr+0x4c m_getuio(ffff800020effa38,1,100000,ffff800020effb20) at m_getuio+0xe4 sosend(fffffd806eb31648,0,ffff800020effb20,0,0,0) at sosend+0x54e dosendsyslog(ffff800020ed0280,7f7ffffd68a0,3d,0,0) at dosendsyslog+0x2b8 sys_sendsyslog(ffff800020ed0280,ffff800020effcb0,ffff800020effd00) at sys_sendsyslog+0x13e syscall(ffff800020effd80) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8e20, count: -11 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020eff760 rbx 0xffff800020eff810 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81f249ff kprintf+0x16f r9 0x1 r10 0x96015b5fcb81c1b1 r11 0x806f2d6cfc42726b r12 0x3000000008 r13 0xffff800020eff770 r14 0x100 r15 0x1 rip 0xffffffff81895b38 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020eff750 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (pflogd) pid=27643 stat=onproc flags process=100012 proc=0 pri=26, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ed0c40,0xffff800020ed13a0 process=0xffff800020ec9b00 user=0xffff800020efa000, vmspace=0xfffffd806e946738 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 6803 182746 99612 0 2 0x2 syz-executor.0 37179 119696 99612 0 3 0x82 nanosleep syz-executor.1 99612 452213 65403 0 3 0x82 kqread syz-execprog 99612 489642 65403 0 3 0x4000082 nanosleep syz-execprog 99612 268484 65403 0 3 0x4000082 thrsleep syz-execprog 99612 157243 65403 0 3 0x4000082 thrsleep syz-execprog 99612 479897 65403 0 3 0x4000082 thrsleep syz-execprog 99612 501442 65403 0 3 0x4000082 thrsleep syz-execprog 99612 84719 65403 0 3 0x4000082 thrsleep syz-execprog 99612 299797 65403 0 3 0x4000082 thrsleep syz-execprog 99612 273997 65403 0 3 0x4000082 thrsleep syz-execprog 99612 142207 65403 0 3 0x4000082 nanosleep syz-execprog 65403 137795 82325 0 3 0x10008a pause ksh 82325 320112 44877 0 3 0x92 select sshd 76279 77507 1 0 3 0x100083 ttyin getty 44877 50946 1 0 3 0x80 select sshd *74690 27643 65352 74 7 0x100012 pflogd 65352 18083 1 0 3 0x80 netio pflogd 48104 81945 83680 73 7 0x100090 syslogd 83680 159527 1 0 3 0x100082 netio syslogd 21255 520838 1 77 3 0x100090 poll dhclient 49918 347685 1 0 3 0x80 poll dhclient 19233 443721 0 0 3 0x14200 bored smr 15767 39901 0 0 3 0x14200 pgzero zerothread 87925 499115 0 0 3 0x14200 aiodoned aiodoned 43634 77468 0 0 3 0x14200 syncer update 54687 512041 0 0 3 0x14200 cleaner cleaner 33041 230709 0 0 3 0x14200 reaper reaper 57853 350444 0 0 3 0x14200 pgdaemon pagedaemon 20087 129794 0 0 3 0x14200 bored crynlk 75478 98661 0 0 3 0x14200 bored crypto 32827 489056 0 0 3 0x40014200 acpi0 acpi0 24835 122320 0 0 3 0x40014200 idle1 62663 8274 0 0 3 0x14200 bored softnet 1156 234082 0 0 3 0x14200 bored systqmp 62281 377513 0 0 3 0x14200 bored systq 59498 275668 0 0 3 0x40014200 bored softclock 27286 368198 0 0 3 0x40014200 idle0 1 214586 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 74690 (pflogd) thread 0xffff800020ed0280 (27643) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82667e30) #0 witness_lock+0x4c7 #1 syscall+0x400 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9471 6398K 6398K 78643K 10564 0 pcb 13 8K 8K 78643K 13 0 rtable 105 3K 3K 78643K 199 0 ifaddr 44 10K 10K 78643K 77 0 counters 43 33K 33K 78643K 43 0 ioctlops 0 0K 4K 78643K 1469 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 4 9K 25K 78643K 66 0 proc 59 63K 95K 78643K 438 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 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 210 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 81 20K 21K 78643K 1040 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 10 0K 0K 78643K 10 0 temp 33 3033K 3097K 78643K 2027 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 6 0 0 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 1 2 0 2 2 0 8 0 unpcb 120 29 0 19 1 0 1 1 0 8 0 syncache 264 5 0 5 2 1 1 1 0 8 1 tcpcb 544 8 0 5 1 0 1 1 0 8 0 inpcb 280 69 0 63 1 0 1 1 0 8 0 nd6 48 6 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 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1459 0 52 88 0 88 88 0 8 0 ffsino 272 1459 0 52 94 0 94 94 0 8 0 nchpl 144 1708 0 100 60 0 60 60 0 8 0 uvmvnodes 72 1469 0 0 27 0 27 27 0 8 0 vnodes 208 1469 0 0 78 0 78 78 0 8 0 namei 1024 4431 0 4431 2 1 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 192 4188 0 4188 8 1 7 7 0 8 7 plimitpl 152 16 0 8 1 0 1 1 0 8 0 sigapl 424 285 0 255 4 0 4 4 0 8 0 knotepl 112 59 0 42 1 0 1 1 0 8 0 kqueuepl 144 2 0 0 1 0 1 1 0 8 0 pipelkpl 48 81 0 71 2 1 1 1 0 8 0 pipepl 120 162 0 143 2 1 1 1 0 8 0 fdescpl 496 270 0 255 3 0 3 3 0 8 0 filepl 152 1200 0 1133 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 62 0 53 1 0 1 1 0 8 0 zombiepl 144 255 0 254 2 1 1 1 0 8 0 processpl 984 285 0 254 5 0 5 5 0 8 0 procpl 624 294 0 254 4 0 4 4 0 8 0 sockpl 400 117 0 99 3 0 3 3 0 8 1 mcl4k 4096 3 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 126 0 0 7 0 7 7 0 8 0 bufpl 280 3020 0 132 207 0 207 207 0 8 0 anonpl 16 24060 0 22138 14 2 12 12 0 124 3 amapchunkpl 152 1067 0 999 5 0 5 5 0 158 0 amappl16 192 300 0 248 3 0 3 3 0 8 0 amappl15 184 25 0 22 1 0 1 1 0 8 0 amappl14 176 34 0 27 1 0 1 1 0 8 0 amappl13 168 26 0 25 2 1 1 1 0 8 0 amappl12 160 25 0 22 2 1 1 1 0 8 0 amappl11 152 56 0 41 1 0 1 1 0 8 0 amappl10 144 17 0 13 1 0 1 1 0 8 0 amappl9 136 248 0 246 1 0 1 1 0 8 0 amappl8 128 309 0 300 1 0 1 1 0 8 0 amappl7 120 125 0 111 1 0 1 1 0 8 0 amappl6 112 24 0 21 2 1 1 1 0 8 0 amappl5 104 162 0 147 1 0 1 1 0 8 0 amappl4 96 507 0 480 1 0 1 1 0 8 0 amappl3 88 105 0 100 1 0 1 1 0 8 0 amappl2 80 1006 0 945 3 1 2 2 0 8 0 amappl1 72 16162 0 15735 23 5 18 18 0 8 8 amappl 80 542 0 511 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 270 0 255 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 270 0 255 1 0 1 1 0 8 0 vmmpekpl 168 6478 0 6455 2 0 2 2 0 8 0 vmmpepl 168 35272 0 34288 81 9 72 72 0 357 27 vmsppl 368 269 0 255 2 0 2 2 0 8 0 pdppl 4096 548 0 510 6 0 6 6 0 8 0 pvpl 32 120259 0 115917 109 5 104 104 0 265 68 pmappl 232 269 0 255 2 0 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 235 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(ffffffff8248bff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xc6 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_cmp4(ffffffff82667c28,ffffffff82667c28) at __sanitizer_cov_trace_cmp4+0x3a __mp_acquire_count(ffffffff82667c28,2) at __mp_acquire_count+0x51 mi_switch() at mi_switch+0x392 sleep_finish(ffff800020ee5720,1) at sleep_finish+0x113 sleep_finish_all(ffff800020ee5720,1) at sleep_finish_all+0x32 tsleep(fffffd806e994ea0,118,ffffffff822488a0,bb9) at tsleep+0x1cc kqueue_sleep(fffffd806e994ea0,ffff800020ee5bb0) at kqueue_sleep+0x101 kqueue_scan(fffffd806e994ea0,40,1bcd509e0000,ffff800020ee5bb0,ffff800020ed1120,ffff800020ee5bfc) at kqueue_scan+0x2b6 sys_kevent(ffff800020ed1120,ffff800020ee5c70,ffff800020ee5cc0) at sys_kevent+0x464 syscall(ffff800020ee5d40) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca2c0, count: 1 ddb{0}> trace x86_ipi_db(ffffffff8248bff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xc6 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_cmp4(ffffffff82667c28,ffffffff82667c28) at __sanitizer_cov_trace_cmp4+0x3a __mp_acquire_count(ffffffff82667c28,2) at __mp_acquire_count+0x51 mi_switch() at mi_switch+0x392 sleep_finish(ffff800020ee5720,1) at sleep_finish+0x113 sleep_finish_all(ffff800020ee5720,1) at sleep_finish_all+0x32 tsleep(fffffd806e994ea0,118,ffffffff822488a0,bb9) at tsleep+0x1cc kqueue_sleep(fffffd806e994ea0,ffff800020ee5bb0) at kqueue_sleep+0x101 kqueue_scan(fffffd806e994ea0,40,1bcd509e0000,ffff800020ee5bb0,ffff800020ed1120,ffff800020ee5bfc) at kqueue_scan+0x2b6 sys_kevent(ffff800020ed1120,ffff800020ee5c70,ffff800020ee5cc0) at sys_kevent+0x464 syscall(ffff800020ee5d40) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca2c0, count: -14 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 panic(ffffffff821fc689) at panic+0x15c pool_cache_get(ffffffff82692510) at pool_cache_get+0x323 pool_get(ffffffff82692510,1) at pool_get+0x91 m_gethdr(1,1) at m_gethdr+0x4c m_getuio(ffff800020effa38,1,100000,ffff800020effb20) at m_getuio+0xe4 sosend(fffffd806eb31648,0,ffff800020effb20,0,0,0) at sosend+0x54e dosendsyslog(ffff800020ed0280,7f7ffffd68a0,3d,0,0) at dosendsyslog+0x2b8 sys_sendsyslog(ffff800020ed0280,ffff800020effcb0,ffff800020effd00) at sys_sendsyslog+0x13e syscall(ffff800020effd80) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8e20, count: 4 ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff821fc689) at panic+0x15c pool_cache_get(ffffffff82692510) at pool_cache_get+0x323 pool_get(ffffffff82692510,1) at pool_get+0x91 m_gethdr(1,1) at m_gethdr+0x4c m_getuio(ffff800020effa38,1,100000,ffff800020effb20) at m_getuio+0xe4 sosend(fffffd806eb31648,0,ffff800020effb20,0,0,0) at sosend+0x54e dosendsyslog(ffff800020ed0280,7f7ffffd68a0,3d,0,0) at dosendsyslog+0x2b8 sys_sendsyslog(ffff800020ed0280,ffff800020effcb0,ffff800020effd00) at sys_sendsyslog+0x13e syscall(ffff800020effd80) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8e20, count: -11 ddb{1}>