kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Tue Mar 3 00:03:06 PST 2020 OpenBSD/amd64 (ci-openbsd-multicore-7.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.15.203' (ECDSA) to the list of known hosts. 2020/03/03 00:03:19 parsed 1 programs 2020/03/03 00:03:24 executed programs: 0 login: uvm_fault(0xffffffff82531148, 0xffffffbf0000000b, 0, 1) -> e kernel: page fault trap, code=0 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xffffffff82531148, 0xffffffbf0000000b, 0, 1) -> e in_delmulti(ffffffbeffffffff) at in_delmulti+0x8d end trace frame: 0xffff800020b5f2d0, count: 0 ddb{1}> trace in_delmulti(ffffffbeffffffff) at in_delmulti+0x8d in_purgeaddr(ffff8000009d2300) at in_purgeaddr+0x156 in_ifdetach(ffff8000009cf000) at in_ifdetach+0x74 if_detach(ffff8000009cf000) at if_detach+0x140 tun_clone_destroy(ffff8000009cf000) at tun_clone_destroy+0x1f2 ifioctl(fffffd806f6f7960,80206979,ffff800020b5f510,ffff800020a7c008) at ifioctl+0x3ea soo_ioctl(fffffd806d15c600,80206979,ffff800020b5f510,ffff800020a7c008) at soo_ioctl+0x27c sys_ioctl(ffff800020a7c008,ffff800020b5f628,ffff800020b5f670) at sys_ioctl+0x4a5 syscall(ffff800020b5f6f0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbc8b0, count: -10 ddb{1}> show registers rdi 0x2 rsi 0 rbp 0xffff800020b5f280 rbx 0 rdx 0x8b rcx 0x1 rax 0x1 r8 0xffffffff820d4503 rt_ifa_purge+0x153 r9 0x5 r10 0x2336c064e36b5ddd r11 0x1504c0775c115c56 r12 0 r13 0x3 r14 0xffffffbeffffffff r15 0x1 rip 0xffffffff817d3ccd in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020b5f220 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> show proc PROC (syz-executor.0) pid=286307 stat=onproc flags process=0 proc=0 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a7c278,0xffffffff8262fc20 process=0xffff800020a90f10 user=0xffff800020b5a000, vmspace=0xfffffd807f0005c0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *55471 286307 97075 0 7 0 syz-executor.0 97075 267221 11589 0 7 0x2 syz-executor.0 11589 123625 79199 0 3 0x82 thrsleep syz-execprog 11589 424030 79199 0 3 0x4000082 thrsleep syz-execprog 11589 66970 79199 0 3 0x4000082 thrsleep syz-execprog 11589 5734 79199 0 3 0x4000082 thrsleep syz-execprog 11589 258383 79199 0 3 0x4000082 thrsleep syz-execprog 11589 194842 79199 0 3 0x4000082 kqread syz-execprog 11589 271000 79199 0 3 0x4000082 thrsleep syz-execprog 11589 269439 79199 0 3 0x4000082 thrsleep syz-execprog 79199 74958 79849 0 3 0x10008a pause ksh 79849 112997 67219 0 3 0x92 select sshd 24205 474048 1 0 3 0x100083 ttyin getty 67219 275969 1 0 3 0x80 select sshd 9167 283077 35252 74 3 0x100092 bpf pflogd 35252 449905 1 0 3 0x80 netio pflogd 62909 353853 82006 73 3 0x100090 kqread syslogd 82006 250473 1 0 3 0x100082 netio syslogd 55508 377930 1 77 2 0x100090 dhclient 58101 426301 1 0 3 0x80 poll dhclient 62612 315473 0 0 3 0x14200 bored smr 54377 424294 0 0 3 0x14200 pgzero zerothread 89550 32848 0 0 3 0x14200 aiodoned aiodoned 37341 507424 0 0 3 0x14200 syncer update 50603 274450 0 0 3 0x14200 cleaner cleaner 47747 174055 0 0 3 0x14200 reaper reaper 82946 339277 0 0 3 0x14200 pgdaemon pagedaemon 54952 259950 0 0 3 0x14200 bored crynlk 20629 82660 0 0 3 0x14200 bored crypto 40676 42867 0 0 3 0x40014200 acpi0 acpi0 23657 53856 0 0 3 0x40014200 idle1 39129 107296 0 0 3 0x14200 bored softnet 46535 361822 0 0 2 0x14200 systqmp 49409 351350 0 0 3 0x14200 bored systq 41864 309362 0 0 3 0x40014200 bored softclock 8974 418308 0 0 3 0x40014200 idle0 1 510818 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 55471 (syz-executor.0) thread 0xffff800020a7c008 (286307) exclusive rwlock netlock r = 0 (0xffffffff8249c838) #0 witness_lock+0x52e #1 if_detach+0x70 #2 tun_clone_destroy+0x1f2 #3 ifioctl+0x3ea #4 soo_ioctl+0x27c #5 sys_ioctl+0x4a5 #6 syscall+0x4a4 #7 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82638db0) #0 witness_lock+0x52e #1 __mp_acquire_count+0x51 #2 mi_switch+0x392 #3 sleep_finish+0x113 #4 cond_wait+0x76 #5 smr_barrier_impl+0xf9 #6 tun_clone_destroy+0x136 #7 ifioctl+0x3ea #8 soo_ioctl+0x27c #9 sys_ioctl+0x4a5 #10 syscall+0x4a4 #11 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9464 6395K 6395K 78643K 10557 0 pcb 13 8K 8K 78643K 13 0 rtable 75 2K 2K 78643K 165 0 ifaddr 37 9K 9K 78643K 39 0 counters 41 33K 33K 78643K 41 0 ioctlops 0 0K 4K 78643K 1468 0 mount 1 1K 1K 78643K 1 0 vnodes 1182 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 1809 196K 290K 78643K 12766 0 file desc 3 8K 12K 78643K 18 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 25 1K 1K 78643K 26 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 951 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 7 0K 0K 78643K 7 0 temp 29 3009K 3073K 78643K 1912 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 2 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 5 1 0 1 1 0 8 0 unpcb 120 29 0 19 1 0 1 1 0 8 0 syncache 264 5 0 5 1 0 1 1 0 8 1 tcpcb 544 8 0 5 1 0 1 1 0 8 0 inpcb 280 35 0 27 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 10 0 0 1 0 1 1 0 8 0 pfstkey 112 10 0 0 1 0 1 1 0 8 0 pfstate 328 10 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 dino1pl 128 1423 0 21 46 0 46 46 0 8 0 ffsino 272 1423 0 21 94 0 94 94 0 8 0 nchpl 144 1649 0 38 60 0 60 60 0 8 0 uvmvnodes 72 1433 0 0 27 0 27 27 0 8 0 vnodes 208 1433 0 0 76 0 76 76 0 8 0 namei 1024 4125 0 4125 1 0 1 1 0 8 1 percpumem 16 31 0 0 1 0 1 1 0 8 0 scxspl 192 4522 0 4522 2 1 1 2 0 8 1 plimitpl 152 15 0 8 1 0 1 1 0 8 0 sigapl 424 241 0 211 4 0 4 4 0 8 0 knotepl 112 39 0 28 1 0 1 1 0 8 0 kqueuepl 144 2 0 0 1 0 1 1 0 8 0 pipelkpl 48 74 0 67 1 0 1 1 0 8 0 pipepl 120 148 0 135 1 0 1 1 0 8 0 fdescpl 496 226 0 211 3 0 3 3 0 8 0 filepl 152 1103 0 1043 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 52 0 43 1 0 1 1 0 8 0 zombiepl 144 211 0 211 1 0 1 1 0 8 1 processpl 960 241 0 211 5 0 5 5 0 8 1 procpl 624 248 0 211 3 0 3 3 0 8 0 srpgc 64 2 0 2 1 0 1 1 0 8 1 sockpl 400 81 0 61 2 0 2 2 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 77 0 0 10 0 10 10 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 103 0 0 6 0 6 6 0 8 0 bufpl 280 3741 0 173 255 0 255 255 0 8 0 anonpl 16 22403 0 20779 14 1 13 13 0 124 6 amapchunkpl 152 720 0 652 5 0 5 5 0 158 2 amappl16 192 152 0 117 2 0 2 2 0 8 0 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 6 0 4 2 1 1 1 0 8 0 amappl13 168 21 0 19 1 0 1 1 0 8 0 amappl12 160 14 0 11 1 0 1 1 0 8 0 amappl11 152 68 0 50 1 0 1 1 0 8 0 amappl10 144 17 0 15 1 0 1 1 0 8 0 amappl9 136 238 0 235 1 0 1 1 0 8 0 amappl8 128 268 0 261 1 0 1 1 0 8 0 amappl7 120 115 0 104 1 0 1 1 0 8 0 amappl6 112 22 0 21 1 0 1 1 0 8 0 amappl5 104 129 0 114 1 0 1 1 0 8 0 amappl4 96 516 0 484 2 0 2 2 0 8 1 amappl3 88 111 0 104 1 0 1 1 0 8 0 amappl2 80 928 0 870 3 0 3 3 0 8 1 amappl1 72 15416 0 14989 25 7 18 20 0 8 8 amappl 80 475 0 446 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 226 0 211 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 226 0 211 1 0 1 1 0 8 0 vmmpekpl 168 6250 0 6226 2 0 2 2 0 8 0 vmmpepl 168 32744 0 31793 86 6 80 80 0 357 37 vmsppl 368 225 0 211 2 0 2 2 0 8 0 pdppl 4096 459 0 422 6 0 6 6 0 8 1 pvpl 32 112100 0 108064 115 0 115 115 0 265 81 pmappl 232 225 0 211 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 144 0 3 5 0 5 5 0 8 0 ddb{1}>