kernel: protection 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 the kernel did not panic ddb{1}> trace in_delmulti(fbfffffdffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b26f00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000ac6000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000ac6000) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000ac6000) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff800023f06ac0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e2df418,7,fffffd807f7bf960,ffff800020eb2018) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80681d91e0,ffff800020eb2018) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80681d91e0,ffff800020eb2018) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80681d91e0,ffff800020eb2018) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80681d91e0,ffff800020eb2018) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020eb2018) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020eb2018,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020eb2018,ffff800023f06d50,ffff800023f06da0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800023f06e20) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023f06e20) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd99a0, count: -16 ddb{1}> show registers rdi 0x2 rsi 0 rbp 0xffff800023f06890 rbx 0 rdx 0 rcx 0 rax 0xffff800020eb2018 r8 0xffff800000b26f00 r9 0xffffffff81e56833 rt_ifa_purge+0x153 r10 0x5 r11 0xacef696518cfff10 r12 0 r13 0x3 r14 0xfbfffffdffffffff r15 0x1 rip 0xffffffff823bf7bd in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800023f06830 ss 0 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> show proc PROC (syz-executor.0) pid=317677 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020eb29f8,0xffff800020eb22a0 process=0xffff800020eb53b8 user=0xffff800023f01000, vmspace=0xfffffd806e90f738 estcpu=36, cpticks=3, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 50785 34167 24945 0 2 0 syz-executor.1 50785 4048 24945 0 3 0x4000080 bell syz-executor.1 28935 117296 0 0 3 0x14200 acct acct 36719 432615 0 0 3 0x14200 bored sosplice 24945 91759 49138 0 3 0x82 nanosleep syz-executor.1 49138 77505 9724 0 3 0x82 thrsleep syz-fuzzer 49138 174943 9724 0 3 0x4000082 nanosleep syz-fuzzer 49138 269548 9724 0 3 0x4000082 thrsleep syz-fuzzer 49138 481165 9724 0 2 0x4000002 syz-fuzzer 49138 207576 9724 0 3 0x4000082 thrsleep syz-fuzzer 49138 339869 9724 0 3 0x4000082 thrsleep syz-fuzzer 49138 304985 9724 0 3 0x4000082 thrsleep syz-fuzzer 49138 193497 9724 0 7 0x4000002 syz-fuzzer 49138 510777 9724 0 3 0x4000082 kqread syz-fuzzer 9724 95327 86180 0 3 0x10008a pause ksh 86180 19894 67922 0 3 0x92 select sshd 19607 104892 1 0 3 0x100083 ttyin getty 67922 287630 1 0 3 0x80 select sshd 81626 222892 85894 74 3 0x100092 bpf pflogd 85894 145129 1 0 3 0x80 netio pflogd 18237 333435 67582 73 3 0x100090 kqread syslogd 67582 181148 1 0 3 0x100082 netio syslogd 85644 409702 1 77 3 0x100090 poll dhclient 19974 224923 1 0 3 0x80 poll dhclient 28042 153177 0 0 3 0x14200 bored smr 85468 120083 0 0 3 0x14200 pgzero zerothread 72078 436680 0 0 3 0x14200 aiodoned aiodoned 76489 169739 0 0 3 0x14200 syncer update 77181 424430 0 0 3 0x14200 cleaner cleaner 79174 207967 0 0 3 0x14200 reaper reaper 40624 463966 0 0 3 0x14200 pgdaemon pagedaemon 87742 71100 0 0 3 0x14200 bored crynlk 37002 11054 0 0 3 0x14200 bored crypto 65136 446690 0 0 3 0x40014200 acpi0 acpi0 48527 42884 0 0 3 0x40014200 idle1 24401 447114 0 0 3 0x14200 bored softnet 69322 458147 0 0 3 0x14200 bored systqmp 36001 726 0 0 3 0x14200 bored systq 24884 38167 0 0 3 0x40014200 bored softclock 46094 492996 0 0 3 0x40014200 idle0 1 118657 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9550 6452K 6893K 78643K 11578 0 pcb 13 8K 8K 78643K 108 0 rtable 104 8K 12K 78643K 545 0 ifaddr 106 19K 20K 78643K 200 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 63 0 ioctlops 0 0K 4K 78643K 1608 0 iov 0 0K 32K 78643K 87 0 mount 1 1K 1K 78643K 1 0 vnodes 1232 77K 78K 78643K 1541 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 17 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 32 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 874 0 sigio 0 0K 0K 78643K 8 0 proc 62 63K 83K 78643K 555 0 subproc 23 1K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 2206 0 in_multi 57 3K 3K 78643K 130 0 ether_multi 1 0K 0K 78643K 19 0 mrt 0 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 276 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 178 76K 76K 78643K 3863 0 UVM aobj 41 2K 3K 78643K 48 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 70 0 NDP 17 0K 0K 78643K 37 0 temp 147 3875K 3942K 78643K 11267 0 kqueue 3 4K 20K 78643K 28 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 12 0 7 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 127 0 125 1 0 1 1 0 8 0 rtentry 112 83 0 52 2 0 2 2 0 8 0 unpcb 120 331 0 321 1 0 1 1 0 8 0 syncache 272 8 0 8 4 4 0 1 0 8 0 tcpqe 32 323 0 323 1 1 0 1 0 8 0 tcpcb 592 235 0 229 6 5 1 2 0 8 0 inpcb 296 1856 0 1849 5 3 2 2 0 8 1 rttmr 72 2 0 2 2 1 1 1 0 8 1 nd6 48 13 0 9 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 3 0 2 2 1 1 1 0 482 0 pffrnode 88 3 0 2 2 1 1 1 0 8 0 pffrent 40 8 0 7 2 1 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 pfrktable 1344 64 0 54 2 1 1 2 0 8 0 pftag 88 3 0 2 1 0 1 1 0 8 0 pfstitem 24 28 0 25 1 0 1 1 0 8 0 pfstkey 112 30 0 27 1 0 1 1 0 8 0 pfstate 328 28 0 25 2 0 2 2 0 8 0 pfrule 1360 43 0 34 3 2 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 309 0 142 15 3 12 13 0 8 0 art_table 32 310 0 142 2 0 2 2 0 8 0 art_node 16 82 0 57 1 0 1 1 0 8 0 sysvmsgpl 40 24 0 16 2 1 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 24 0 14 1 0 1 1 0 8 0 shmpl 112 45 0 7 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2476 0 1074 89 1 88 89 0 8 0 ffsino 272 2476 0 1074 94 0 94 94 0 8 0 nchpl 144 3851 0 2275 60 0 60 60 0 8 0 uvmvnodes 72 2761 0 0 51 0 51 51 0 8 0 vnodes 208 2761 0 0 146 0 146 146 0 8 0 namei 1024 10613 0 10613 4 3 1 1 0 8 1 percpumem 16 42 0 10 1 0 1 1 0 8 0 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 560 10 0 5 2 1 1 1 0 8 0 pfiaddrpl 120 23 0 17 1 0 1 1 0 8 0 scxspl 200 11902 0 11902 12 11 1 7 0 8 1 plimitpl 152 73 0 65 1 0 1 1 0 8 0 sigapl 424 1089 0 1056 4 0 4 4 0 8 0 futexpl 56 12326 0 12326 4 3 1 1 0 8 1 knotepl 112 130 0 116 2 0 2 2 0 8 1 kqueuepl 152 87 0 84 1 0 1 1 0 8 0 pipepl 304 212 0 204 4 2 2 2 0 8 1 fdescpl 496 1071 0 1055 3 0 3 3 0 8 0 filepl 152 6245 0 6157 7 2 5 6 0 8 1 lockfpl 104 203 0 202 1 0 1 1 0 8 0 lockfspl 48 66 0 65 1 0 1 1 0 8 0 sessionpl 120 19 0 8 1 0 1 1 0 8 0 pgrppl 48 36 0 25 1 0 1 1 0 8 0 ucredpl 96 618 0 609 1 0 1 1 0 8 0 zombiepl 144 1057 0 1056 2 1 1 1 0 8 0 processpl 1008 1089 0 1056 5 0 5 5 0 8 0 procpl 632 2961 0 2919 7 2 5 5 0 8 1 srpgc 72 2 0 2 1 1 0 1 0 8 0 sosppl 144 7 0 7 3 3 0 1 0 8 0 sockpl 400 2324 0 2305 12 8 4 6 0 8 2 mcl64k 65536 12 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 9 0 0 1 0 1 1 0 8 0 mcl9k 9216 8 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 11 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 222 0 0 27 0 27 27 0 8 0 mtagpl 96 55 0 0 2 0 2 2 0 8 0 mbufpl 256 569 0 0 34 0 34 34 0 8 0 bufpl 280 5093 0 127 355 0 355 355 0 8 0 anonpl 16 124602 0 105483 103 25 78 91 0 124 0 amapchunkpl 152 6875 0 6569 31 12 19 20 0 158 5 amappl16 192 4760 0 3851 59 13 46 57 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 413 0 411 1 0 1 1 0 8 0 amappl13 168 35 0 32 1 0 1 1 0 8 0 amappl12 160 250 0 245 1 0 1 1 0 8 0 amappl11 152 72 0 55 1 0 1 1 0 8 0 amappl10 144 18 0 14 1 0 1 1 0 8 0 amappl9 136 566 0 565 1 0 1 1 0 8 0 amappl8 128 379 0 339 2 0 2 2 0 8 0 amappl7 120 120 0 107 1 0 1 1 0 8 0 amappl6 112 36 0 29 1 0 1 1 0 8 0 amappl5 104 1190 0 1172 1 0 1 1 0 8 0 amappl4 96 506 0 479 1 0 1 1 0 8 0 amappl3 88 569 0 560 1 0 1 1 0 8 0 amappl2 80 7570 0 7495 2 0 2 2 0 8 0 amappl1 72 41824 0 41375 23 13 10 18 0 8 0 amappl 80 3288 0 3203 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 47 0 7 1 0 1 1 0 8 0 uaddrrnd 24 1081 0 1060 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1081 0 1060 1 0 1 1 0 8 0 vmmpekpl 168 11979 0 11945 3 1 2 2 0 8 0 vmmpepl 168 145271 0 143109 157 57 100 126 0 357 1 vmsppl 368 1080 0 1060 2 0 2 2 0 8 0 pdppl 4096 2169 0 2125 6 0 6 6 0 8 0 pvpl 32 373685 0 351652 237 47 190 212 0 265 10 pmappl 232 1080 0 1060 4 2 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 302 0 23 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82785ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 end of kernel end trace frame: 0xc0003e1f20, count: -3 ddb{0}> machine ddbcpu 1 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> trace in_delmulti(fbfffffdffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b26f00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000ac6000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000ac6000) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000ac6000) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff800023f06ac0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e2df418,7,fffffd807f7bf960,ffff800020eb2018) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80681d91e0,ffff800020eb2018) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80681d91e0,ffff800020eb2018) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80681d91e0,ffff800020eb2018) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80681d91e0,ffff800020eb2018) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020eb2018) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020eb2018,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020eb2018,ffff800023f06d50,ffff800023f06da0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800023f06e20) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023f06e20) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd99a0, count: -16