kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Wed Jul 8 19:25:55 PDT 2020 OpenBSD/amd64 (ci-openbsd-multicore-7.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.0.255' (ECDSA) to the list of known hosts. 2020/07/08 19:28:40 parsed 1 programs 2020/07/08 19:28:43 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(fdf7fff7ffffffff) 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(fffffd806f683960,80206979,ffff800020ecc970,ffff800020ddd868) at ifioctl+0x3ea soo_ioctl(fffffd806cf5f990,80206979,ffff800020ecc970,ffff800020ddd868) at soo_ioctl+0x27c sys_ioctl(ffff800020ddd868,ffff800020ecca88,ffff800020eccad0) at sys_ioctl+0x4a5 syscall(ffff800020eccb50) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffea540, count: -10 ddb{0}> show registers rdi 0x2 rsi 0 rbp 0xffff800020ecc6e0 rbx 0 rdx 0x8b rcx 0x1 rax 0x1 r8 0xffffffff81313253 rt_ifa_purge+0x153 r9 0x5 r10 0x3 r11 0x559d1b528a5d3409 r12 0 r13 0x3 r14 0xfdf7fff7ffffffff r15 0x1 rip 0xffffffff812b262d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020ecc680 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{0}> show proc PROC (syz-executor.0) pid=87040 stat=onproc flags process=0 proc=0 pri=32, usrpri=55, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc278,0xffffffff828c27a0 process=0xffff800020df03f0 user=0xffff800020ec7000, vmspace=0xfffffd807efff2e0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *74111 87040 20966 0 7 0 syz-executor.0 20966 235907 24581 0 7 0x2 syz-executor.0 24581 161851 31886 0 3 0x82 kqread syz-execprog 24581 183053 31886 0 3 0x4000082 thrsleep syz-execprog 24581 13893 31886 0 3 0x4000082 thrsleep syz-execprog 24581 90071 31886 0 3 0x4000082 thrsleep syz-execprog 24581 309813 31886 0 3 0x4000082 thrsleep syz-execprog 24581 359930 31886 0 3 0x4000082 thrsleep syz-execprog 24581 330098 31886 0 3 0x4000082 thrsleep syz-execprog 24581 133116 31886 0 3 0x4000082 thrsleep syz-execprog 31886 382138 51921 0 3 0x10008a pause ksh 51921 352406 10030 0 3 0x92 select sshd 66836 317689 1 0 3 0x100083 ttyin getty 10030 350486 1 0 3 0x80 select sshd 85228 389065 88564 74 3 0x100092 bpf pflogd 88564 326928 1 0 3 0x80 netio pflogd 50706 508004 87376 73 3 0x100090 kqread syslogd 87376 258310 1 0 3 0x100082 netio syslogd 24291 417931 1 77 2 0x100090 dhclient 26701 483305 1 0 3 0x80 poll dhclient 95610 13201 0 0 3 0x14200 bored smr 27581 33153 0 0 3 0x14200 pgzero zerothread 91293 144214 0 0 3 0x14200 aiodoned aiodoned 78436 468161 0 0 3 0x14200 syncer update 14943 505112 0 0 3 0x14200 cleaner cleaner 93554 135797 0 0 3 0x14200 reaper reaper 19407 95462 0 0 3 0x14200 pgdaemon pagedaemon 4278 145735 0 0 3 0x14200 bored crynlk 86915 405241 0 0 3 0x14200 bored crypto 24153 86867 0 0 3 0x40014200 acpi0 acpi0 14518 484237 0 0 3 0x40014200 idle1 68907 247161 0 0 3 0x14200 bored softnet 13911 180085 0 0 2 0x14200 systqmp 7415 310389 0 0 3 0x14200 bored systq 9951 515437 0 0 3 0x40014200 bored softclock 83095 405018 0 0 3 0x40014200 idle0 1 148475 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 74111 (syz-executor.0) thread 0xffff800020ddd868 (87040) exclusive rwlock netlock r = 0 (0xffffffff8270c198) #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 (0xffffffff8291b1c8) #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 76 12K 12K 78643K 944 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 2 1 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 11 0 7 2 1 1 1 0 8 0 pfstkey 112 11 0 7 2 1 1 1 0 8 0 pfstate 328 11 0 7 2 1 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 144 0 0 9 0 9 9 0 8 0 art_table 32 145 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 4602 0 4602 13 12 1 7 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 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 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 75 0 0 10 0 10 10 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 120 0 0 7 0 7 7 0 8 0 bufpl 280 3049 0 133 209 0 209 209 0 8 0 anonpl 16 22316 0 20635 14 2 12 12 0 124 3 amapchunkpl 152 782 0 715 5 0 5 5 0 158 1 amappl16 192 136 0 99 2 0 2 2 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 31 0 27 1 0 1 1 0 8 0 amappl13 168 22 0 20 2 1 1 1 0 8 0 amappl12 160 6 0 5 2 1 1 1 0 8 0 amappl11 152 57 0 42 1 0 1 1 0 8 0 amappl10 144 15 0 12 1 0 1 1 0 8 0 amappl9 136 236 0 235 1 0 1 1 0 8 0 amappl8 128 271 0 262 1 0 1 1 0 8 0 amappl7 120 123 0 109 1 0 1 1 0 8 0 amappl6 112 23 0 20 1 0 1 1 0 8 0 amappl5 104 122 0 108 1 0 1 1 0 8 0 amappl4 96 496 0 469 1 0 1 1 0 8 0 amappl3 88 106 0 100 1 0 1 1 0 8 0 amappl2 80 893 0 836 3 1 2 2 0 8 0 amappl1 72 15240 0 14801 23 5 18 18 0 8 8 amappl 80 472 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 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 6419 0 6391 2 0 2 2 0 8 0 vmmpepl 168 32982 0 32004 82 9 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 113636 0 109550 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(fdf7fff7ffffffff) 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(fffffd806f683960,80206979,ffff800020ecc970,ffff800020ddd868) at ifioctl+0x3ea soo_ioctl(fffffd806cf5f990,80206979,ffff800020ecc970,ffff800020ddd868) at soo_ioctl+0x27c sys_ioctl(ffff800020ddd868,ffff800020ecca88,ffff800020eccad0) at sys_ioctl+0x4a5 syscall(ffff800020eccb50) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffea540, 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(ffffffff8291afc0) at __mp_lock+0x127 syscall(ffff800020ed44b0) at syscall+0x400 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffea660, count: -6