kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Sun Aug 2 04:41:13 PDT 2020 OpenBSD/amd64 (ci-openbsd-main-4.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.1.1' (ECDSA) to the list of known hosts. 2020/08/02 04:41:39 parsed 1 programs 2020/08/02 04:41:43 executed programs: 0 login: kernel: protection fault trap, code=0 Stopped at pool_do_put+0x12e: movq 0x8(%rbx),%rbx ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace pool_do_put(ffffffff8285a180,fffffd8064847900) at pool_do_put+0x12e pool_put(ffffffff8285a180,fffffd8064847900) at pool_put+0x4b m_free(fffffd8064847900) at m_free+0x119 rt_ifa_del(ffff8000006b5200,800100,ffff8000006b5240,0) at rt_ifa_del+0x402 in6_unlink_ifa(ffff8000006b5200,ffff800000ac6800) at in6_unlink_ifa+0x571 in6_update_ifa(ffff800000ac6800,ffff80001d77d450,0) at in6_update_ifa+0x13e7 in6_ioctl_change_ifaddr(8080691a,ffff80001d77d450,ffff800000ac6800) at in6_ioctl_change_ifaddr+0x40c ifioctl(fffffd805da817d8,8080691a,ffff80001d77d450,ffff8000ffff8008) at ifioctl+0xe60 sys_ioctl(ffff8000ffff8008,ffff80001d77d568,ffff80001d77d5b0) at sys_ioctl+0x4a1 syscall(ffff80001d77d630) at syscall+0x507 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff4f60, count: -11 ddb> show registers rdi 0 rsi 0x41ed9bbfd4b7ae85 rbp 0xffff80001d77cea0 rbx 0x41ed9bbfd4b7ae85 rdx 0xffff80001d77cdf0 rcx 0x1000 __ALIGN_SIZE rax 0x1 r8 0x4 r9 0xffffffff820117d6 rtrequest+0x146 r10 0xe13d9622f64a3da4 r11 0x9e9539f27ae99c81 r12 0xfffffd8064847900 r13 0x41ed9bbfd4b7ae85 r14 0xffffffff8285a180 mbpool r15 0xfffffd8064c4c6b8 rip 0xffffffff822ebdbe pool_do_put+0x12e cs 0x8 rflags 0x10296 __ALIGN_SIZE+0xf296 rsp 0xffff80001d77cdf0 ss 0x10 pool_do_put+0x12e: movq 0x8(%rbx),%rbx ddb> show proc PROC (syz-executor.0) pid=95761 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8280,0xffffffff82858590 process=0xffff80001d6c19e0 user=0xffff80001d778000, vmspace=0xfffffd806bc09000 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND *61895 95761 99722 0 7 0 syz-executor.0 99722 359191 46619 0 3 0x82 nanosleep syz-executor.0 46619 352437 11978 0 3 0x82 kqread syz-execprog 46619 81567 11978 0 3 0x4000082 nanosleep syz-execprog 46619 4041 11978 0 3 0x4000082 thrsleep syz-execprog 46619 78425 11978 0 3 0x4000082 thrsleep syz-execprog 46619 295626 11978 0 3 0x4000082 thrsleep syz-execprog 46619 410995 11978 0 3 0x4000082 thrsleep syz-execprog 11978 340728 63200 0 3 0x10008a pause ksh 63200 279860 73843 0 3 0x92 select sshd 86554 506556 1 0 3 0x100083 ttyin getty 73843 107031 1 0 3 0x80 select sshd 73853 469562 60080 73 3 0x100090 kqread syslogd 60080 466567 1 0 3 0x100082 netio syslogd 68310 34813 1 77 3 0x100090 poll dhclient 40793 315317 1 0 3 0x80 poll dhclient 49009 400123 0 0 3 0x14200 bored smr 8189 176113 0 0 2 0x14200 zerothread 15945 244 0 0 3 0x14200 aiodoned aiodoned 58226 186977 0 0 3 0x14200 syncer update 31809 292891 0 0 3 0x14200 cleaner cleaner 98438 233683 0 0 3 0x14200 reaper reaper 90288 211605 0 0 3 0x14200 pgdaemon pagedaemon 79012 66393 0 0 3 0x14200 bored crynlk 17089 203132 0 0 3 0x14200 bored crypto 35382 514792 0 0 3 0x40014200 acpi0 acpi0 81526 314414 0 0 3 0x14200 bored softnet 96616 514066 0 0 3 0x14200 bored systqmp 3367 351296 0 0 3 0x14200 bored systq 47093 96750 0 0 3 0x40014200 bored softclock 28250 342146 0 0 3 0x40014200 idle0 1 465582 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9441 6320K 6320K 78643K 10540 0 pcb 13 8K 8K 78643K 13 0 rtable 83 2K 2K 78643K 153 0 ifaddr 33 9K 9K 78643K 33 0 counters 20 16K 16K 78643K 20 0 ioctlops 0 0K 2K 78643K 14 0 mount 1 1K 1K 78643K 1 0 vnodes 1182 74K 74K 78643K 1187 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 0K 0K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 3 8K 12K 78643K 18 0 proc 47 38K 54K 78643K 318 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 171 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 11K 12K 78643K 838 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 6 0K 0K 78643K 6 0 temp 23 3849K 3913K 78643K 1621 0 kqueue 3 4K 4K 78643K 3 0 SYN cache 2 16K 16K 78643K 2 0 ddb> 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 rtpcb 88 17 0 15 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 120 27 0 19 1 0 1 1 0 8 0 syncache 272 5 0 5 2 1 1 1 0 8 1 tcpcb 592 8 0 5 1 0 1 1 0 8 0 inpcb 296 27 0 20 1 0 1 1 0 8 0 nd6 48 3 0 0 1 0 1 1 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 1413 0 21 87 0 87 87 0 8 0 ffsino 240 1413 0 21 82 0 82 82 0 8 0 nchpl 144 1631 0 36 60 0 60 60 0 8 0 uvmvnodes 72 1422 0 0 26 0 26 26 0 8 0 vnodes 208 1422 0 0 75 0 75 75 0 8 0 namei 1024 3937 0 3937 2 1 1 1 0 8 1 scxspl 200 4410 0 4410 2 1 1 1 0 8 1 plimitpl 152 14 0 8 1 0 1 1 0 8 0 sigapl 424 212 0 185 4 0 4 4 0 8 0 knotepl 112 48 0 36 1 0 1 1 0 8 0 kqueuepl 152 2 0 0 1 0 1 1 0 8 0 pipepl 272 71 0 63 2 1 1 1 0 8 0 fdescpl 432 198 0 185 2 0 2 2 0 8 0 filepl 120 979 0 923 2 0 2 2 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 120 18 0 9 1 0 1 1 0 8 0 pgrppl 48 18 0 9 1 0 1 1 0 8 0 ucredpl 96 57 0 50 1 0 1 1 0 8 0 zombiepl 144 185 0 185 2 1 1 1 0 8 1 processpl 944 212 0 185 4 0 4 4 0 8 0 procpl 632 217 0 185 3 0 3 3 0 8 0 sockpl 400 71 0 54 2 0 2 2 0 8 0 mcl4k 4096 10 0 10 2 1 1 1 0 8 1 mcl2k 2048 4938 0 4905 8 3 5 8 0 8 0 mtagpl 96 2 0 2 1 1 0 1 0 8 0 mbufpl 256 8687 0 8612 6 1 5 5 0 8 0 mbufpl: pool(0xffffffff8285a180:mbufpl): free list modified: page 0xfffffd8064847000; item ordinal 1; addr 0xfffffd8064847a00 (p 0xfffffd8064c4c000); offset 0x0=0x0 pool(mbufpl): free list modified: page 0xfffffd8064847000; item ordinal 1; addr 0xfffffd8064847a00 (p 0xfffffd8064c4c000); offset 0x0=0x0 mbufpl: pool(0xffffffff8285a180:mbufpl): page inconsistency: page 0xfffffd8064847000; item ordinal 2; addr 0x41ed9bbfd4b7ae85 bufpl 280 2899 0 116 199 0 199 199 0 8 0 anonpl 16 20205 0 18656 14 2 12 12 0 107 3 amapchunkpl 152 768 0 703 4 0 4 4 0 158 1 amappl16 192 118 0 86 2 0 2 2 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 2 0 1 1 0 1 1 0 8 0 amappl13 168 21 0 19 2 1 1 1 0 8 0 amappl12 160 26 0 22 1 0 1 1 0 8 0 amappl11 152 50 0 39 1 0 1 1 0 8 0 amappl10 144 10 0 7 1 0 1 1 0 8 0 amappl9 136 157 0 156 1 0 1 1 0 8 0 amappl8 128 246 0 232 1 0 1 1 0 8 0 amappl7 120 98 0 86 1 0 1 1 0 8 0 amappl6 112 32 0 27 1 0 1 1 0 8 0 amappl5 104 206 0 197 1 0 1 1 0 8 0 amappl4 96 427 0 404 1 0 1 1 0 8 0 amappl3 88 127 0 118 1 0 1 1 0 8 0 amappl2 80 761 0 709 3 1 2 2 0 8 0 amappl1 72 13591 0 13200 24 7 17 17 0 8 8 amappl 80 419 0 392 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 198 0 185 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 198 0 185 1 0 1 1 0 8 0 vmmpekpl 168 6083 0 6067 1 0 1 1 0 8 0 vmmpepl 168 29338 0 28454 83 14 69 69 0 357 30 vmsppl 272 197 0 185 1 0 1 1 0 8 0 pdppl 4096 402 0 370 5 0 5 5 0 8 0 pvpl 32 104152 0 100380 107 6 101 101 0 265 69 pmappl 200 197 0 185 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 215 0 10 6 0 6 6 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace pool_do_put(ffffffff8285a180,fffffd8064847900) at pool_do_put+0x12e pool_put(ffffffff8285a180,fffffd8064847900) at pool_put+0x4b m_free(fffffd8064847900) at m_free+0x119 rt_ifa_del(ffff8000006b5200,800100,ffff8000006b5240,0) at rt_ifa_del+0x402 in6_unlink_ifa(ffff8000006b5200,ffff800000ac6800) at in6_unlink_ifa+0x571 in6_update_ifa(ffff800000ac6800,ffff80001d77d450,0) at in6_update_ifa+0x13e7 in6_ioctl_change_ifaddr(8080691a,ffff80001d77d450,ffff800000ac6800) at in6_ioctl_change_ifaddr+0x40c ifioctl(fffffd805da817d8,8080691a,ffff80001d77d450,ffff8000ffff8008) at ifioctl+0xe60 sys_ioctl(ffff8000ffff8008,ffff80001d77d568,ffff80001d77d5b0) at sys_ioctl+0x4a1 syscall(ffff80001d77d630) at syscall+0x507 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff4f60, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace pool_do_put(ffffffff8285a180,fffffd8064847900) at pool_do_put+0x12e pool_put(ffffffff8285a180,fffffd8064847900) at pool_put+0x4b m_free(fffffd8064847900) at m_free+0x119 rt_ifa_del(ffff8000006b5200,800100,ffff8000006b5240,0) at rt_ifa_del+0x402 in6_unlink_ifa(ffff8000006b5200,ffff800000ac6800) at in6_unlink_ifa+0x571 in6_update_ifa(ffff800000ac6800,ffff80001d77d450,0) at in6_update_ifa+0x13e7 in6_ioctl_change_ifaddr(8080691a,ffff80001d77d450,ffff800000ac6800) at in6_ioctl_change_ifaddr+0x40c ifioctl(fffffd805da817d8,8080691a,ffff80001d77d450,ffff8000ffff8008) at ifioctl+0xe60 sys_ioctl(ffff8000ffff8008,ffff80001d77d568,ffff80001d77d5b0) at sys_ioctl+0x4a1 syscall(ffff80001d77d630) at syscall+0x507 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff4f60, count: -11 ddb>