kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Sat Jul 18 04:31:01 PDT 2020 OpenBSD/amd64 (ci-openbsd-multicore-4.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.15.201' (ECDSA) to the list of known hosts. 2020/07/18 04:31:29 parsed 1 programs 2020/07/18 04:31:35 executed programs: 0 login: kernel: protection 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 the kernel did not panic ddb{0}> trace in_delmulti(fffdfefffdffffff) 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(fffffd806f689af0,80206979,ffff800020ecc580,ffff800020dddad8) at ifioctl+0x3ea soo_ioctl(fffffd806cf57990,80206979,ffff800020ecc580,ffff800020dddad8) at soo_ioctl+0x27c sys_ioctl(ffff800020dddad8,ffff800020ecc698,ffff800020ecc6e0) at sys_ioctl+0x4a5 syscall(ffff800020ecc760) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbd070, count: -10 ddb{0}> show registers rdi 0x2 rsi 0 rbp 0xffff800020ecc2f0 rbx 0 rdx 0x8b rcx 0x1 rax 0x1 r8 0xffffffff82293543 rt_ifa_purge+0x153 r9 0x5 r10 0x3 r11 0xf473c24d4db03d90 r12 0 r13 0x3 r14 0xfffdfefffdffffff r15 0x1 rip 0xffffffff81d45fed in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020ecc290 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{0}> show proc PROC (syz-executor.0) pid=370257 stat=onproc flags process=0 proc=0 pri=32, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc9c8,0xffffffff82915f90 process=0xffff800020df1b30 user=0xffff800020ec7000, vmspace=0xfffffd807f0005c0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *80721 370257 29678 0 7 0 syz-executor.0 29678 96564 41442 0 7 0x2 syz-executor.0 41442 168209 30959 0 3 0x82 thrsleep syz-execprog 41442 248784 30959 0 3 0x4000082 thrsleep syz-execprog 41442 38260 30959 0 3 0x4000082 thrsleep syz-execprog 41442 444560 30959 0 3 0x4000082 thrsleep syz-execprog 41442 513365 30959 0 3 0x4000082 kqread syz-execprog 41442 39274 30959 0 3 0x4000082 thrsleep syz-execprog 41442 467192 30959 0 3 0x4000082 thrsleep syz-execprog 41442 361304 30959 0 3 0x4000082 thrsleep syz-execprog 30959 497630 18420 0 3 0x10008a pause ksh 18420 229419 62974 0 3 0x92 select sshd 52167 368176 1 0 3 0x100083 ttyin getty 62974 291407 1 0 3 0x80 select sshd 88889 270758 59138 74 3 0x100092 bpf pflogd 59138 284953 1 0 3 0x80 netio pflogd 35679 223941 20559 73 3 0x100090 kqread syslogd 20559 97339 1 0 3 0x100082 netio syslogd 99978 128203 1 77 2 0x100090 dhclient 85622 233586 1 0 3 0x80 poll dhclient 64770 153039 0 0 3 0x14200 bored smr 17231 210846 0 0 3 0x14200 pgzero zerothread 13837 321253 0 0 3 0x14200 aiodoned aiodoned 34896 432833 0 0 3 0x14200 syncer update 38392 625 0 0 3 0x14200 cleaner cleaner 31847 383614 0 0 3 0x14200 reaper reaper 65674 22718 0 0 3 0x14200 pgdaemon pagedaemon 19543 185778 0 0 3 0x14200 bored crynlk 71631 486045 0 0 3 0x14200 bored crypto 58177 288669 0 0 3 0x40014200 acpi0 acpi0 88497 323832 0 0 3 0x40014200 idle1 52250 423219 0 0 3 0x14200 bored softnet 52126 58217 0 0 2 0x14200 systqmp 28036 335027 0 0 3 0x14200 bored systq 41046 108008 0 0 3 0x40014200 bored softclock 3597 455394 0 0 3 0x40014200 idle0 1 21660 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 80721 (syz-executor.0) thread 0xffff800020dddad8 (370257) exclusive rwlock netlock r = 0 (0xffffffff82728958) #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 = 0 (0xffffffff828eb278) #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 75 12K 12K 78643K 946 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 1874 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 2 1 1 1 0 8 1 tcpcb 544 9 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 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 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 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 2 1 1 1 0 8 1 percpumem 16 31 0 0 1 0 1 1 0 8 0 scxspl 192 4661 0 4661 9 3 6 7 0 8 6 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 2 1 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 2 1 1 1 0 8 1 processpl 992 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 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 74 0 0 10 0 10 10 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 108 0 0 6 0 6 6 0 8 0 bufpl 280 3050 0 133 209 0 209 209 0 8 0 anonpl 16 22339 0 20682 14 2 12 12 0 124 3 amapchunkpl 152 792 0 725 5 0 5 5 0 158 2 amappl16 192 151 0 118 2 0 2 2 0 8 0 amappl15 184 3 0 0 1 0 1 1 0 8 0 amappl14 176 30 0 26 1 0 1 1 0 8 0 amappl13 168 23 0 21 2 1 1 1 0 8 0 amappl12 160 7 0 4 2 1 1 1 0 8 0 amappl11 152 52 0 37 1 0 1 1 0 8 0 amappl10 144 17 0 14 1 0 1 1 0 8 0 amappl9 136 235 0 233 1 0 1 1 0 8 0 amappl8 128 271 0 263 1 0 1 1 0 8 0 amappl7 120 116 0 103 1 0 1 1 0 8 0 amappl6 112 21 0 19 2 1 1 1 0 8 0 amappl5 104 124 0 109 1 0 1 1 0 8 0 amappl4 96 497 0 471 1 0 1 1 0 8 0 amappl3 88 105 0 100 1 0 1 1 0 8 0 amappl2 80 915 0 855 3 1 2 2 0 8 0 amappl1 72 15392 0 14965 23 5 18 18 0 8 8 amappl 80 476 0 447 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 6398 0 6370 2 0 2 2 0 8 0 vmmpepl 168 32942 0 31977 84 11 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 113819 0 109739 110 6 104 104 0 265 68 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 233 0 4 7 0 7 7 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace in_delmulti(fffdfefffdffffff) 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(fffffd806f689af0,80206979,ffff800020ecc580,ffff800020dddad8) at ifioctl+0x3ea soo_ioctl(fffffd806cf57990,80206979,ffff800020ecc580,ffff800020dddad8) at soo_ioctl+0x27c sys_ioctl(ffff800020dddad8,ffff800020ecc698,ffff800020ecc6e0) at sys_ioctl+0x4a5 syscall(ffff800020ecc760) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbd070, 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 __mp_lock(ffffffff828eb070) at __mp_lock+0x127 syscall(ffff800020ed42c0) at syscall+0x400 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbd190, count: -6 ddb{1}>