kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Tue May 12 09:32:06 PDT 2020 OpenBSD/amd64 (ci-openbsd-multicore-0.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.10.2' (ECDSA) to the list of known hosts. 2020/05/12 09:32:17 parsed 1 programs 2020/05/12 09:32:21 executed programs: 0 login: uvm_fault(0xfffffd807f000730, 0x3fff7bdff0b, 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(0xfffffd807f000730, 0x3fff7bdff0b, 0, 1) -> e in_delmulti(3fff7bdfeff) at in_delmulti+0x8d end trace frame: 0xffff800020f5d8f0, count: 0 ddb{1}> trace in_delmulti(3fff7bdfeff) at in_delmulti+0x8d in_purgeaddr(ffff800000a21d00) at in_purgeaddr+0x156 in_ifdetach(ffff8000009d6000) at in_ifdetach+0x74 if_detach(ffff8000009d6000) at if_detach+0x140 tun_clone_destroy(ffff8000009d6000) at tun_clone_destroy+0x1f2 ifioctl(fffffd806b706e20,80206979,ffff800020f5db30,ffff800020e6d868) at ifioctl+0x3ea soo_ioctl(fffffd806d0a6140,80206979,ffff800020f5db30,ffff800020e6d868) at soo_ioctl+0x27c sys_ioctl(ffff800020e6d868,ffff800020f5dc48,ffff800020f5dc90) at sys_ioctl+0x4a5 syscall(ffff800020f5dd10) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca7e0, count: -10 ddb{1}> show registers rdi 0x2 rsi 0 rbp 0xffff800020f5d8a0 rbx 0 rdx 0x8b rcx 0x1 rax 0x1 r8 0xffffffff81462b43 rt_ifa_purge+0x153 r9 0x5 r10 0x44acfcc698e821a1 r11 0xc971e23dc8cfedce r12 0 r13 0x3 r14 0x3fff7bdfeff r15 0x1 rip 0xffffffff81200fed in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020f5d840 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> show proc PROC (syz-executor.0) pid=248448 stat=onproc flags process=0 proc=0 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020e6c278,0xffffffff8265f0e8 process=0xffff800020e81720 user=0xffff800020f58000, vmspace=0xfffffd807f000730 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *24359 248448 32186 0 7 0 syz-executor.0 32186 202956 76547 0 7 0x2 syz-executor.0 76547 270064 88918 0 3 0x82 kqread syz-execprog 76547 393815 88918 0 3 0x4000082 thrsleep syz-execprog 76547 321789 88918 0 3 0x4000082 thrsleep syz-execprog 76547 470372 88918 0 3 0x4000082 thrsleep syz-execprog 76547 482855 88918 0 3 0x4000082 thrsleep syz-execprog 76547 88123 88918 0 3 0x4000082 thrsleep syz-execprog 76547 510409 88918 0 3 0x4000082 thrsleep syz-execprog 76547 489525 88918 0 3 0x4000082 thrsleep syz-execprog 76547 464101 88918 0 3 0x4000082 thrsleep syz-execprog 88918 136812 61351 0 3 0x10008a pause ksh 61351 18262 10317 0 3 0x92 select sshd 57605 359187 1 0 3 0x100083 ttyin getty 10317 13247 1 0 3 0x80 select sshd 9315 333569 9342 74 3 0x100092 bpf pflogd 9342 191483 1 0 3 0x80 netio pflogd 35001 189410 80956 73 3 0x100090 kqread syslogd 80956 327496 1 0 3 0x100082 netio syslogd 41932 501213 1 77 2 0x100090 dhclient 52072 271832 1 0 3 0x80 poll dhclient 59181 356899 0 0 3 0x14200 bored smr 49315 73199 0 0 3 0x14200 pgzero zerothread 50755 445331 0 0 3 0x14200 aiodoned aiodoned 14753 192247 0 0 3 0x14200 syncer update 64673 438443 0 0 3 0x14200 cleaner cleaner 98342 400766 0 0 3 0x14200 reaper reaper 90971 331251 0 0 3 0x14200 pgdaemon pagedaemon 52087 377315 0 0 3 0x14200 bored crynlk 26123 266559 0 0 3 0x14200 bored crypto 69153 13424 0 0 3 0x40014200 acpi0 acpi0 13499 99413 0 0 3 0x40014200 idle1 97505 45240 0 0 3 0x14200 bored softnet 99282 12947 0 0 2 0x14200 systqmp 60708 63801 0 0 3 0x14200 bored systq 93383 458274 0 0 3 0x40014200 bored softclock 41276 489771 0 0 3 0x40014200 idle0 1 414900 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 24359 (syz-executor.0) thread 0xffff800020e6d868 (248448) exclusive rwlock netlock r = 0 (0xffffffff824a6738) #0 witness_lock+0x4c7 #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 (0xffffffff82642ca8) #0 witness_lock+0x4c7 #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 1823 197K 290K 78643K 12980 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 76 12K 12K 78643K 944 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 3033K 3097K 78643K 1867 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 36 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 dino2pl 256 1424 0 23 88 0 88 88 0 8 0 ffsino 272 1424 0 23 94 0 94 94 0 8 0 nchpl 144 1640 0 38 60 0 60 60 0 8 0 uvmvnodes 72 1434 0 0 27 0 27 27 0 8 0 vnodes 208 1434 0 0 76 0 76 76 0 8 0 namei 1024 4204 0 4204 1 0 1 1 0 8 1 percpumem 16 31 0 0 1 0 1 1 0 8 0 scxspl 192 3815 0 3815 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 47 0 36 1 0 1 1 0 8 0 kqueuepl 144 2 0 0 1 0 1 1 0 8 0 pipelkpl 48 77 0 70 1 0 1 1 0 8 0 pipepl 120 154 0 141 1 0 1 1 0 8 0 fdescpl 496 226 0 211 3 0 3 3 0 8 0 filepl 152 1111 0 1050 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 211 0 211 1 0 1 1 0 8 1 processpl 984 241 0 211 5 0 5 5 0 8 1 procpl 624 249 0 211 4 0 4 4 0 8 1 srpgc 64 2 0 2 1 0 1 1 0 8 1 sockpl 400 82 0 61 3 0 3 3 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 80 0 0 10 0 10 10 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 100 0 0 7 0 7 7 0 8 0 bufpl 280 2983 0 133 204 0 204 204 0 8 0 anonpl 16 22336 0 20646 13 1 12 12 0 124 3 amapchunkpl 152 769 0 707 4 0 4 4 0 158 1 amappl16 192 145 0 109 2 0 2 2 0 8 0 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 35 0 29 1 0 1 1 0 8 0 amappl13 168 20 0 19 1 0 1 1 0 8 0 amappl12 160 8 0 7 2 1 1 1 0 8 0 amappl11 152 48 0 33 1 0 1 1 0 8 0 amappl10 144 19 0 14 1 0 1 1 0 8 0 amappl9 136 227 0 226 1 0 1 1 0 8 0 amappl8 128 269 0 260 1 0 1 1 0 8 0 amappl7 120 115 0 101 1 0 1 1 0 8 0 amappl6 112 23 0 21 1 0 1 1 0 8 0 amappl5 104 137 0 123 1 0 1 1 0 8 0 amappl4 96 490 0 465 1 0 1 1 0 8 0 amappl3 88 106 0 99 1 0 1 1 0 8 0 amappl2 80 915 0 857 2 0 2 2 0 8 0 amappl1 72 15528 0 15103 23 5 18 18 0 8 8 amappl 80 471 0 443 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 6329 0 6305 2 0 2 2 0 8 0 vmmpepl 168 32640 0 31687 76 4 72 72 0 357 29 vmsppl 368 225 0 211 2 0 2 2 0 8 0 pdppl 4096 460 0 422 6 0 6 6 0 8 0 pvpl 32 113833 0 109743 104 0 104 104 0 265 69 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 235 0 3 7 0 7 7 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82525ff0) 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(ffffffff82642aa0,ffffffff82642aa0) at __sanitizer_cov_trace_cmp4 syscall(ffff800020f65a50) at syscall+0x400 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca900, count: -6 ddb{0}> machine ddbcpu 1 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> trace in_delmulti(3fff7bdfeff) at in_delmulti+0x8d in_purgeaddr(ffff800000a21d00) at in_purgeaddr+0x156 in_ifdetach(ffff8000009d6000) at in_ifdetach+0x74 if_detach(ffff8000009d6000) at if_detach+0x140 tun_clone_destroy(ffff8000009d6000) at tun_clone_destroy+0x1f2 ifioctl(fffffd806b706e20,80206979,ffff800020f5db30,ffff800020e6d868) at ifioctl+0x3ea soo_ioctl(fffffd806d0a6140,80206979,ffff800020f5db30,ffff800020e6d868) at soo_ioctl+0x27c sys_ioctl(ffff800020e6d868,ffff800020f5dc48,ffff800020f5dc90) at sys_ioctl+0x4a5 syscall(ffff800020f5dd10) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca7e0, count: -10 ddb{1}>