kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Sat Jul 25 05:51:29 PDT 2020 OpenBSD/amd64 (ci-openbsd-multicore-4.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.0.27' (ECDSA) to the list of known hosts. 2020/07/25 05:51:52 parsed 1 programs 2020/07/25 05:51:57 executed programs: 0 2020/07/25 05:52:02 executed programs: 248 login: panic: pool_do_get: mbufpl free list modified: page 0xfffffd806f29f000; item addr 0xfffffd806f29ff00; offset 0x0=0x0 != 0x15cc178ca8211709 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *407025 71741 0 0 0 1K syz-executor.0 db_enter() at db_enter+0x18 panic(ffffffff82498b6f) at panic+0x164 pool_do_get(ffffffff82902c70,2,ffff800020ecfaf8) at pool_do_get+0x439 pool_get(ffffffff82902c70,2) at pool_get+0xeb m_get(2,3) at m_get+0x4c rt_ifa_del(ffff800000aa0800,800100,ffff800000aa0840,0) at rt_ifa_del+0xa1 in6_unlink_ifa(ffff800000aa0800,ffff800000ac4000) at in6_unlink_ifa+0x571 in6_update_ifa(ffff800000ac4000,ffff800020ed0100,0) at in6_update_ifa+0x13e7 in6_ioctl_change_ifaddr(8080691a,ffff800020ed0100,ffff800000ac4000) at in6_ioctl_change_ifaddr+0x40c ifioctl(fffffd806eaece18,8080691a,ffff800020ed0100,ffff800020ddd388) at ifioctl+0xe70 soo_ioctl(fffffd806cf7fbf0,8080691a,ffff800020ed0100,ffff800020ddd388) at soo_ioctl+0x27c sys_ioctl(ffff800020ddd388,ffff800020ed0218,ffff800020ed0260) at sys_ioctl+0x4a5 syscall(ffff800020ed02e0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcf0d0, count: 1 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 0xfffffd806f29f000; item addr 0xfffffd806f29ff00; offset 0x0=0x0 != 0x15cc178ca8211709 ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff82498b6f) at panic+0x164 pool_do_get(ffffffff82902c70,2,ffff800020ecfaf8) at pool_do_get+0x439 pool_get(ffffffff82902c70,2) at pool_get+0xeb m_get(2,3) at m_get+0x4c rt_ifa_del(ffff800000aa0800,800100,ffff800000aa0840,0) at rt_ifa_del+0xa1 in6_unlink_ifa(ffff800000aa0800,ffff800000ac4000) at in6_unlink_ifa+0x571 in6_update_ifa(ffff800000ac4000,ffff800020ed0100,0) at in6_update_ifa+0x13e7 in6_ioctl_change_ifaddr(8080691a,ffff800020ed0100,ffff800000ac4000) at in6_ioctl_change_ifaddr+0x40c ifioctl(fffffd806eaece18,8080691a,ffff800020ed0100,ffff800020ddd388) at ifioctl+0xe70 soo_ioctl(fffffd806cf7fbf0,8080691a,ffff800020ed0100,ffff800020ddd388) at soo_ioctl+0x27c sys_ioctl(ffff800020ddd388,ffff800020ed0218,ffff800020ed0260) at sys_ioctl+0x4a5 syscall(ffff800020ed02e0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcf0d0, count: -14 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020ecf940 rbx 0xffff800020ecf9f0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff8214115f kprintf+0x16f r9 0x1 r10 0x2 r11 0x14d54e4620162445 r12 0x3000000008 r13 0xffff800020ecf950 r14 0x100 r15 0x1 rip 0xffffffff82061f48 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020ecf930 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=407025 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020dddad8,0xffffffff82928bc8 process=0xffff800020df1b30 user=0xffff800020ecb000, vmspace=0xfffffd807efff000 estcpu=0, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *71741 407025 48965 0 7 0 syz-executor.0 48965 488612 83488 0 3 0x82 nanosleep syz-executor.0 83488 75473 52111 0 3 0x82 kqread syz-execprog 83488 371492 52111 0 3 0x4000082 nanosleep syz-execprog 83488 55254 52111 0 3 0x4000082 thrsleep syz-execprog 83488 119207 52111 0 3 0x4000082 thrsleep syz-execprog 83488 417050 52111 0 3 0x4000082 thrsleep syz-execprog 83488 417016 52111 0 3 0x4000082 nanosleep syz-execprog 83488 241160 52111 0 3 0x4000082 thrsleep syz-execprog 83488 468117 52111 0 3 0x4000082 thrsleep syz-execprog 83488 371135 52111 0 3 0x4000082 thrsleep syz-execprog 52111 310149 71810 0 3 0x10008a pause ksh 71810 470346 70444 0 3 0x92 select sshd 54384 450429 1 0 3 0x100083 ttyin getty 70444 369332 1 0 3 0x80 select sshd 23456 229777 7894 74 3 0x100092 bpf pflogd 7894 70202 1 0 3 0x80 netio pflogd 84222 2545 54916 73 3 0x100090 kqread syslogd 54916 139972 1 0 3 0x100082 netio syslogd 99035 354671 1 77 3 0x100090 poll dhclient 84633 88569 1 0 3 0x80 poll dhclient 97662 258124 0 0 3 0x14200 bored smr 33373 63180 0 0 3 0x14200 pgzero zerothread 63405 351253 0 0 3 0x14200 aiodoned aiodoned 31251 519555 0 0 3 0x14200 syncer update 25344 111482 0 0 3 0x14200 cleaner cleaner 47476 108683 0 0 3 0x14200 reaper reaper 53073 359643 0 0 3 0x14200 pgdaemon pagedaemon 7720 439362 0 0 3 0x14200 bored crynlk 48461 132365 0 0 3 0x14200 bored crypto 17613 51457 0 0 3 0x40014200 acpi0 acpi0 20879 9363 0 0 3 0x40014200 idle1 35072 182372 0 0 3 0x14200 bored softnet 90639 254549 0 0 3 0x14200 bored systqmp 92097 348336 0 0 3 0x14200 bored systq 13967 369038 0 0 3 0x40014200 bored softclock 2169 79179 0 0 7 0x40014200 idle0 1 28713 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 (0xffffffff82902c80) #0 witness_lock+0x4c7 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b #3 pool_get+0xbf #4 m_get+0x4c #5 rt_ifa_del+0xa1 #6 in6_unlink_ifa+0x571 #7 in6_update_ifa+0x13e7 #8 in6_ioctl_change_ifaddr+0x40c #9 ifioctl+0xe70 #10 soo_ioctl+0x27c #11 sys_ioctl+0x4a5 #12 syscall+0x4a4 #13 Xsyscall+0x128 Process 71741 (syz-executor.0) thread 0xffff800020ddd388 (407025) exclusive rwlock netlock r = 0 (0xffffffff827a56b8) #0 witness_lock+0x4c7 #1 in6_ioctl_change_ifaddr+0x155 #2 ifioctl+0xe70 #3 soo_ioctl+0x27c #4 sys_ioctl+0x4a5 #5 syscall+0x4a4 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8292f068) #0 witness_lock+0x4c7 #1 soo_ioctl+0x26a #2 sys_ioctl+0x4a5 #3 syscall+0x4a4 #4 Xsyscall+0x128 exclusive mutex mbufpl r = 0 (0xffffffff82902c80) #0 witness_lock+0x4c7 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b #3 pool_get+0xbf #4 m_get+0x4c #5 rt_ifa_del+0xa1 #6 in6_unlink_ifa+0x571 #7 in6_update_ifa+0x13e7 #8 in6_ioctl_change_ifaddr+0x40c #9 ifioctl+0xe70 #10 soo_ioctl+0x27c #11 sys_ioctl+0x4a5 #12 syscall+0x4a4 #13 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9464 6394K 6394K 78643K 10557 0 pcb 13 8K 8K 78643K 13 0 rtable 83 2K 2K 78643K 163 0 ifaddr 38 9K 9K 78643K 295 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 3 8K 12K 78643K 274 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 75 12K 12K 78643K 1201 0 UVM aobj 3 2K 2K 78643K 3 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 3849K 3913K 78643K 2386 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 296 290 0 283 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 144 0 0 9 0 9 9 0 8 0 art_table 32 145 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 1680 0 278 88 0 88 88 0 8 0 ffsino 272 1680 0 278 94 0 94 94 0 8 0 nchpl 144 2155 0 551 60 0 60 60 0 8 0 uvmvnodes 72 1690 0 0 31 0 31 31 0 8 0 vnodes 208 1690 0 0 89 0 89 89 0 8 0 namei 1024 5254 0 5254 2 1 1 1 0 8 1 percpumem 16 31 0 0 1 0 1 1 0 8 0 scxspl 192 6151 0 6151 8 1 7 7 0 8 7 plimitpl 152 15 0 8 1 0 1 1 0 8 0 sigapl 424 497 0 467 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 pipepl 304 77 0 70 2 1 1 1 0 8 0 fdescpl 496 482 0 467 3 0 3 3 0 8 0 filepl 152 1628 0 1569 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 467 0 467 2 1 1 1 0 8 1 processpl 992 497 0 467 5 0 5 5 0 8 1 procpl 624 505 0 467 4 0 4 4 0 8 1 sockpl 400 336 0 317 2 0 2 2 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 69 0 0 9 0 9 9 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 114 0 0 6 0 6 6 0 8 0 mbufpl: pool(0xffffffff82902c70:mbufpl): free list modified: page 0xfffffd806f31e000; item ordinal 8; addr 0xfffffd806f31e300 (p 0xfffffd806f2a0000); offset 0x0=0x0 pool(mbufpl): free list modified: page 0xfffffd806f31e000; item ordinal 8; addr 0xfffffd806f31e300 (p 0xfffffd806f2a0000); offset 0x0=0x0 mbufpl: pool(0xffffffff82902c70:mbufpl): page inconsistency: page 0xfffffd806f31e000; item ordinal 9; addr 0x42b4c68fbbd349fb mbufpl: pool(0xffffffff82902c70:mbufpl): free list modified: page 0xfffffd806f29f000; item ordinal 0; addr 0xfffffd806f29ff00 (p 0xfffffd806f2a0000); offset 0x0=0x0 pool(mbufpl): free list modified: page 0xfffffd806f29f000; item ordinal 0; addr 0xfffffd806f29ff00 (p 0xfffffd806f2a0000); offset 0x0=0x0 mbufpl: pool(0xffffffff82902c70:mbufpl): page inconsistency: page 0xfffffd806f29f000; item ordinal 1; addr 0xb3d7ddd278c59ea bufpl 280 3307 0 133 227 0 227 227 0 8 0 anonpl 16 29062 0 27218 14 2 12 12 0 124 4 amapchunkpl 152 1037 0 964 4 0 4 4 0 158 1 amappl16 192 939 0 893 3 0 3 3 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 289 0 283 1 0 1 1 0 8 0 amappl13 168 22 0 20 2 1 1 1 0 8 0 amappl12 160 7 0 5 2 1 1 1 0 8 0 amappl11 152 313 0 295 1 0 1 1 0 8 0 amappl10 144 22 0 17 1 0 1 1 0 8 0 amappl9 136 238 0 237 1 0 1 1 0 8 0 amappl8 128 275 0 265 1 0 1 1 0 8 0 amappl7 120 113 0 103 1 0 1 1 0 8 0 amappl6 112 281 0 276 2 1 1 1 0 8 0 amappl5 104 125 0 111 1 0 1 1 0 8 0 amappl4 96 743 0 717 1 0 1 1 0 8 0 amappl3 88 106 0 100 1 0 1 1 0 8 0 amappl2 80 1417 0 1357 3 1 2 2 0 8 0 amappl1 72 17858 0 17438 23 5 18 18 0 8 8 amappl 80 731 0 701 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 482 0 467 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 482 0 467 1 0 1 1 0 8 0 vmmpekpl 168 6934 0 6906 2 0 2 2 0 8 0 vmmpepl 168 44343 0 43353 80 8 72 72 0 357 28 vmsppl 368 481 0 467 2 0 2 2 0 8 0 pdppl 4096 971 0 934 6 0 6 6 0 8 1 pvpl 32 141888 0 137603 109 5 104 104 0 265 69 pmappl 232 481 0 467 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 232 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(ffffffff82722ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xc6 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff8292ee60) at __mp_lock+0x12e softintr_dispatch(0) at softintr_dispatch+0x4e Xsoftclock() at Xsoftclock+0x1f acpicpu_idle() at acpicpu_idle+0x331 sched_idle(ffffffff82722ff0) at sched_idle+0x3f7 end trace frame: 0x0, count: 7 ddb{0}>