kernel: protection fault trap, code=0 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace in_delmulti(f7ffffffdffff7ff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000ad8d00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000ac7800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000ac7800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000ac7800) at tun_clone_destroy+0x1c7 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80001d79f330) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd805dd199c0,7,fffffd806c3bfa80,ffff8000ffff8008) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8056f97ea0,ffff8000ffff8008) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8056f97ea0,ffff8000ffff8008) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd8056f97ea0,ffff8000ffff8008) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8056f97ea0,ffff8000ffff8008) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff8008) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff8008,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff8000ffff8008,19) at postsig+0x4b2 sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff8000ffff8008,19) at postsig+0x4b2 sys/kern/kern_sig.c:1415 userret(ffff8000ffff8008) at userret+0x159 sys/kern/kern_sig.c:1872 syscall(ffff80001d79f7b0) at syscall+0x42e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80001d79f7b0) at syscall+0x42e sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcda10, count: -17 ddb> show registers rdi 0x2 rsi 0 rbp 0xffff80001d79f100 rbx 0 rdx 0 rcx 0x1 rax 0xffff8000ffff8008 r8 0xffff800000ad8d00 r9 0xffffffff81256843 rt_ifa_purge+0x153 r10 0x5 r11 0x4af03f28b889b085 r12 0 r13 0x3 r14 0xf7ffffffdffff7ff r15 0x1 rip 0xffffffff817ba21d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80001d79f0a0 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb> show proc PROC (syz-executor.0) pid=67229 stat=onproc flags process=a proc=2000 pri=32, usrpri=72, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff84f8,0xffff80001d6bea08 process=0xffff80001d6c03c0 user=0xffff80001d79a000, vmspace=0xfffffd806bc0a000 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 28667 300652 48234 0 3 0x80 nanosleep syz-executor.1 28667 62193 48234 0 3 0x4000080 netio syz-executor.1 28667 410060 48234 0 3 0x4000080 fsleep syz-executor.1 48234 347065 23689 0 3 0x82 nanosleep syz-executor.1 23689 202515 47507 0 3 0x82 thrsleep syz-fuzzer 23689 141953 47507 0 3 0x4000082 thrsleep syz-fuzzer 23689 250355 47507 0 3 0x4000082 thrsleep syz-fuzzer 23689 348618 47507 0 3 0x4000082 thrsleep syz-fuzzer 23689 85748 47507 0 3 0x4000082 thrsleep syz-fuzzer 23689 462606 47507 0 3 0x4000082 kqread syz-fuzzer 47507 344680 46442 0 3 0x10008a pause ksh 46442 347551 78755 0 3 0x92 select sshd 24406 3373 1 0 3 0x100083 ttyin getty 78755 237949 1 0 3 0x80 select sshd 80378 483868 64195 73 3 0x100090 kqread syslogd 64195 86980 1 0 3 0x100082 netio syslogd 45900 426463 1 77 2 0x100090 dhclient 89638 231806 1 0 3 0x80 poll dhclient 60664 195601 0 0 3 0x14200 bored smr 24787 383203 0 0 3 0x14200 pgzero zerothread 24214 244424 0 0 3 0x14200 aiodoned aiodoned 59554 287965 0 0 3 0x14200 syncer update 46682 389485 0 0 3 0x14200 cleaner cleaner 83045 175442 0 0 3 0x14200 reaper reaper 39834 207590 0 0 3 0x14200 pgdaemon pagedaemon 87690 177603 0 0 3 0x14200 bored crynlk 50387 213247 0 0 3 0x14200 bored crypto 83529 12147 0 0 3 0x40014200 acpi0 acpi0 3440 477373 0 0 3 0x14200 bored softnet 86984 55404 0 0 2 0x14200 systqmp 22444 17071 0 0 3 0x14200 bored systq 3646 92628 0 0 3 0x40014200 bored softclock 42902 307636 0 0 3 0x40014200 idle0 1 172513 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9455 6326K 6654K 78643K 10789 0 pcb 13 8K 8K 78643K 37 0 rtable 98 3K 3K 78643K 231 0 ifaddr 49 11K 12K 78643K 58 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 4K 78643K 65 0 iov 0 0K 16K 78643K 20 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1298 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 44 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 207 0 sigio 0 0K 0K 78643K 2 0 proc 48 38K 63K 78643K 366 0 subproc 23 1K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 7 0 in_multi 52 2K 3K 78643K 81 0 ether_multi 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 199 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 128 23K 39K 78643K 1362 0 UVM aobj 19 2K 2K 78643K 19 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 14 0 NDP 6 0K 0K 78643K 13 0 temp 74 3853K 3931K 78643K 4114 0 kqueue 3 4K 8K 78643K 9 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 2 1 0 1 1 0 8 0 rtpcb 88 31 0 29 1 0 1 1 0 8 0 rtentry 112 56 0 17 2 0 2 2 0 8 0 unpcb 120 225 0 215 1 0 1 1 0 8 0 syncache 272 6 0 6 2 1 1 1 0 8 1 tcpqe 32 350 0 350 2 1 1 1 0 8 1 tcpcb 592 64 0 52 2 0 2 2 0 8 1 ipq 40 5 0 4 1 0 1 1 0 8 0 ipqe 40 98 0 97 1 0 1 1 0 8 0 inpcb 296 214 0 206 2 0 2 2 0 8 1 nd6 48 13 0 8 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 2 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 227 0 55 14 0 14 14 0 8 0 art_table 32 228 0 55 2 0 2 2 0 8 0 art_node 16 55 0 16 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 42 0 32 1 0 1 1 0 8 0 shmpl 112 16 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1652 0 254 88 0 88 88 0 8 0 ffsino 240 1652 0 254 83 0 83 83 0 8 0 nchpl 144 2118 0 517 60 0 60 60 0 8 0 uvmvnodes 72 1753 0 0 32 0 32 32 0 8 0 vnodes 208 1753 0 0 93 0 93 93 0 8 0 namei 1024 5619 0 5619 1 0 1 1 0 8 1 scxspl 200 6215 0 6215 1 0 1 1 0 8 1 plimitpl 152 22 0 15 1 0 1 1 0 8 0 sigapl 424 393 0 365 4 0 4 4 0 8 0 futexpl 56 3769 0 3768 1 0 1 1 0 8 0 knotepl 112 72 0 54 1 0 1 1 0 8 0 kqueuepl 152 23 0 21 1 0 1 1 0 8 0 pipepl 272 87 0 77 1 0 1 1 0 8 0 fdescpl 432 379 0 365 2 0 2 2 0 8 0 filepl 120 2274 0 2185 4 0 4 4 0 8 0 lockfpl 104 43 0 42 1 0 1 1 0 8 0 lockfspl 48 14 0 13 1 0 1 1 0 8 0 sessionpl 120 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 189 0 182 1 0 1 1 0 8 0 zombiepl 144 366 0 365 1 0 1 1 0 8 0 processpl 944 393 0 365 4 0 4 4 0 8 0 procpl 632 637 0 602 4 0 4 4 0 8 0 sockpl 400 474 0 454 5 1 4 4 0 8 2 mcl64k 65536 15 0 15 1 0 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 13 0 13 1 0 1 1 0 8 1 mcl9k 9216 7 0 7 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 44 0 43 2 1 1 1 0 8 0 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 93637 0 93589 21 14 7 18 0 8 0 mtagpl 96 32 0 19 2 1 1 1 0 8 0 mbufpl 256 149510 0 149372 23 5 18 21 0 8 0 bufpl 280 3635 0 116 252 0 252 252 0 8 0 anonpl 16 55335 0 35810 82 1 81 81 0 107 1 amapchunkpl 152 2284 0 2064 23 1 22 22 0 158 13 amappl16 192 1798 0 763 53 0 53 53 0 8 1 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 92 0 89 1 0 1 1 0 8 0 amappl13 168 110 0 106 1 0 1 1 0 8 0 amappl12 160 107 0 101 1 0 1 1 0 8 0 amappl11 152 46 0 37 1 0 1 1 0 8 0 amappl10 144 12 0 10 1 0 1 1 0 8 0 amappl9 136 368 0 366 1 0 1 1 0 8 0 amappl8 128 287 0 261 1 0 1 1 0 8 0 amappl7 120 101 0 90 1 0 1 1 0 8 0 amappl6 112 25 0 21 1 0 1 1 0 8 0 amappl5 104 308 0 294 1 0 1 1 0 8 0 amappl4 96 426 0 398 1 0 1 1 0 8 0 amappl3 88 233 0 223 1 0 1 1 0 8 0 amappl2 80 2306 0 2240 2 0 2 2 0 8 0 amappl1 72 17526 0 17108 23 14 9 17 0 8 0 amappl 80 897 0 839 2 0 2 2 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 18 0 0 1 0 1 1 0 8 0 uaddrrnd 24 379 0 365 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 379 0 365 1 0 1 1 0 8 0 vmmpekpl 168 6390 0 6366 2 0 2 2 0 8 0 vmmpepl 168 53816 0 51676 120 18 102 115 0 357 8 vmsppl 272 378 0 365 2 1 1 2 0 8 0 pdppl 4096 764 0 730 6 1 5 6 0 8 0 pvpl 32 170769 0 148250 191 1 190 191 0 265 5 pmappl 200 378 0 365 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 258 0 27 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace in_delmulti(f7ffffffdffff7ff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000ad8d00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000ac7800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000ac7800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000ac7800) at tun_clone_destroy+0x1c7 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80001d79f330) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd805dd199c0,7,fffffd806c3bfa80,ffff8000ffff8008) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8056f97ea0,ffff8000ffff8008) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8056f97ea0,ffff8000ffff8008) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd8056f97ea0,ffff8000ffff8008) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8056f97ea0,ffff8000ffff8008) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff8008) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff8008,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff8000ffff8008,19) at postsig+0x4b2 sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff8000ffff8008,19) at postsig+0x4b2 sys/kern/kern_sig.c:1415 userret(ffff8000ffff8008) at userret+0x159 sys/kern/kern_sig.c:1872 syscall(ffff80001d79f7b0) at syscall+0x42e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80001d79f7b0) at syscall+0x42e sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcda10, count: -17 ddb> machine ddbcpu 1 No such command ddb> trace in_delmulti(f7ffffffdffff7ff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000ad8d00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000ac7800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000ac7800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000ac7800) at tun_clone_destroy+0x1c7 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80001d79f330) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd805dd199c0,7,fffffd806c3bfa80,ffff8000ffff8008) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8056f97ea0,ffff8000ffff8008) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8056f97ea0,ffff8000ffff8008) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd8056f97ea0,ffff8000ffff8008) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8056f97ea0,ffff8000ffff8008) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff8008) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff8008,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff8000ffff8008,19) at postsig+0x4b2 sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff8000ffff8008,19) at postsig+0x4b2 sys/kern/kern_sig.c:1415 userret(ffff8000ffff8008) at userret+0x159 sys/kern/kern_sig.c:1872 syscall(ffff80001d79f7b0) at syscall+0x42e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80001d79f7b0) at syscall+0x42e sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcda10, count: -17