kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Sat Jul 11 00:39:01 PDT 2020 OpenBSD/amd64 (ci-openbsd-multicore-3.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.15.202' (ECDSA) to the list of known hosts. 2020/07/11 00:39:17 parsed 1 programs 2020/07/11 00:39:23 executed programs: 0 login: uvm_fault(0xfffffd807f0005c0, 0x40b, 0, 1) -> e kernel: page fault trap, code=0 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xfffffd807f0005c0, 0x40b, 0, 1) -> e in_delmulti(3ff) at in_delmulti+0x8d end trace frame: 0xffff800020ed1c90, count: 0 ddb{0}> trace in_delmulti(3ff) at in_delmulti+0x8d in_purgeaddr(ffff800000aa2900) at in_purgeaddr+0x156 in_ifdetach(ffff800000ac6000) at in_ifdetach+0x74 if_detach(ffff800000ac6000) at if_detach+0x140 tun_clone_destroy(ffff800000ac6000) at tun_clone_destroy+0x1f2 ifioctl(fffffd806f68bc80,80206979,ffff800020ed1ed0,ffff800020ddd868) at ifioctl+0x3ea soo_ioctl(fffffd806cf62b58,80206979,ffff800020ed1ed0,ffff800020ddd868) at soo_ioctl+0x27c sys_ioctl(ffff800020ddd868,ffff800020ed1fe8,ffff800020ed2030) at sys_ioctl+0x4a5 syscall(ffff800020ed20b0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff3430, count: -10 ddb{0}> show registers rdi 0x2 rsi 0 rbp 0xffff800020ed1c40 rbx 0 rdx 0x8b rcx 0x1 rax 0x1 r8 0xffffffff8206f593 rt_ifa_purge+0x153 r9 0x5 r10 0x3 r11 0x840b044411722835 r12 0 r13 0x3 r14 0x3ff r15 0x1 rip 0xffffffff8212e1ad in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020ed1be0 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{0}> show proc PROC (syz-executor.0) pid=55376 stat=onproc flags process=0 proc=0 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020dddad8,0xffffffff82915098 process=0xffff800020df0f90 user=0xffff800020ecd000, vmspace=0xfffffd807f0005c0 estcpu=9, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *85428 55376 24723 0 7 0 syz-executor.0 24723 322552 29546 0 3 0x82 nanosleep syz-executor.0 29546 188016 58210 0 3 0x82 thrsleep syz-execprog 29546 166788 58210 0 3 0x4000082 thrsleep syz-execprog 29546 434460 58210 0 3 0x4000082 thrsleep syz-execprog 29546 410201 58210 0 3 0x4000082 thrsleep syz-execprog 29546 209082 58210 0 3 0x4000082 thrsleep syz-execprog 29546 268924 58210 0 3 0x4000082 thrsleep syz-execprog 29546 214555 58210 0 3 0x4000082 kqread syz-execprog 29546 419714 58210 0 3 0x4000082 thrsleep syz-execprog 29546 395045 58210 0 3 0x4000082 thrsleep syz-execprog 58210 107528 82276 0 3 0x10008a pause ksh 82276 40297 37931 0 3 0x92 select sshd 55465 450665 1 0 3 0x100083 ttyin getty 37931 90973 1 0 3 0x80 select sshd 27506 387002 55769 74 3 0x100092 bpf pflogd 55769 3387 1 0 3 0x80 netio pflogd 78280 88964 74315 73 3 0x100090 kqread syslogd 74315 520233 1 0 3 0x100082 netio syslogd 98277 404001 1 77 7 0x100090 dhclient 39619 152926 1 0 3 0x80 poll dhclient 50143 160070 0 0 3 0x14200 bored smr 48192 460662 0 0 3 0x14200 pgzero zerothread 26613 290592 0 0 3 0x14200 aiodoned aiodoned 96351 89718 0 0 3 0x14200 syncer update 57478 94204 0 0 3 0x14200 cleaner cleaner 72143 65744 0 0 3 0x14200 reaper reaper 98514 355355 0 0 3 0x14200 pgdaemon pagedaemon 86374 259226 0 0 3 0x14200 bored crynlk 15109 351296 0 0 3 0x14200 bored crypto 62106 274956 0 0 3 0x40014200 acpi0 acpi0 76206 357393 0 0 3 0x40014200 idle1 39917 95523 0 0 3 0x14200 bored softnet 48211 270622 0 0 2 0x14200 systqmp 36648 335859 0 0 3 0x14200 bored systq 68614 146153 0 0 3 0x40014200 bored softclock 7724 208072 0 0 3 0x40014200 idle0 1 191301 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 85428 (syz-executor.0) thread 0xffff800020ddd868 (55376) exclusive rwlock netlock r = 0 (0xffffffff8271e198) #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 (0xffffffff828c1610) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9465 6396K 6396K 78643K 10560 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 1824 197K 290K 78643K 13058 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 72 11K 12K 78643K 948 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 7 0K 0K 78643K 7 0 temp 29 3853K 3917K 78643K 1871 0 kqueue 3 4K 4K 78643K 3 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 296 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 2 10 0 10 10 0 8 0 art_table 32 146 0 2 2 0 2 2 0 8 0 art_node 16 33 0 6 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 1643 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 4230 0 4230 1 0 1 1 0 8 1 percpumem 16 31 0 0 1 0 1 1 0 8 0 scxspl 192 4436 0 4436 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 pipepl 304 77 0 70 1 0 1 1 0 8 0 fdescpl 496 226 0 211 3 0 3 3 0 8 0 filepl 152 1117 0 1057 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 992 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 81 0 61 2 0 2 2 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 72 0 0 9 0 9 9 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 95 0 0 6 0 6 6 0 8 0 bufpl 280 3048 0 133 209 0 209 209 0 8 0 anonpl 16 22271 0 20599 13 1 12 12 0 124 3 amapchunkpl 152 813 0 744 5 0 5 5 0 158 1 amappl16 192 145 0 111 2 0 2 2 0 8 0 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 38 0 32 1 0 1 1 0 8 0 amappl13 168 25 0 22 1 0 1 1 0 8 0 amappl12 160 3 0 3 1 1 0 1 0 8 0 amappl11 152 53 0 38 1 0 1 1 0 8 0 amappl10 144 15 0 13 1 0 1 1 0 8 0 amappl9 136 234 0 231 1 0 1 1 0 8 0 amappl8 128 269 0 262 1 0 1 1 0 8 0 amappl7 120 115 0 104 1 0 1 1 0 8 0 amappl6 112 23 0 20 2 1 1 1 0 8 0 amappl5 104 128 0 113 1 0 1 1 0 8 0 amappl4 96 493 0 466 1 0 1 1 0 8 0 amappl3 88 104 0 99 1 0 1 1 0 8 0 amappl2 80 909 0 847 2 0 2 2 0 8 0 amappl1 72 15348 0 14908 23 5 18 18 0 8 8 amappl 80 478 0 448 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 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 6409 0 6382 2 0 2 2 0 8 0 vmmpepl 168 33003 0 32023 81 8 73 73 0 357 30 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 113721 0 109620 104 0 104 104 0 265 69 pmappl 232 225 0 211 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 232 0 3 7 0 7 7 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace in_delmulti(3ff) at in_delmulti+0x8d in_purgeaddr(ffff800000aa2900) at in_purgeaddr+0x156 in_ifdetach(ffff800000ac6000) at in_ifdetach+0x74 if_detach(ffff800000ac6000) at if_detach+0x140 tun_clone_destroy(ffff800000ac6000) at tun_clone_destroy+0x1f2 ifioctl(fffffd806f68bc80,80206979,ffff800020ed1ed0,ffff800020ddd868) at ifioctl+0x3ea soo_ioctl(fffffd806cf62b58,80206979,ffff800020ed1ed0,ffff800020ddd868) at soo_ioctl+0x27c sys_ioctl(ffff800020ddd868,ffff800020ed1fe8,ffff800020ed2030) at sys_ioctl+0x4a5 syscall(ffff800020ed20b0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff3430, count: -10 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d70ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xc6 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x58 __mp_acquire_count(ffffffff828c1408,2) at __mp_acquire_count+0x51 mi_switch() at mi_switch+0x392 sleep_finish(ffff800020e188c0,1) at sleep_finish+0x113 sleep_finish_all(ffff800020e188c0,1) at sleep_finish_all+0x32 tsleep(ffffffff828b1dc4,118,ffffffff8245f46a,41e0d9) at tsleep+0x1cc doppoll(ffff800020ddcc38,7f7ffffeb9a0,3,ffff800020e18a58,0,ffff800020e18b10) at doppoll+0x57e sys_poll(ffff800020ddcc38,ffff800020e18ac0,ffff800020e18b10) at sys_poll+0xa6 syscall(ffff800020e18b90) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeb980, count: -13 ddb{1}>