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(d7fffdffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b15000) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000af7000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000af7000) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000af7000) 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(ffff8000218ec4c0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806f0d44e8,7,fffffd807f7bfa80,ffff800020ec6518) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8068053310,ffff800020ec6518) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8068053310,ffff800020ec6518) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8068053310,ffff800020ec6518) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8068053310,ffff800020ec6518) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020ec6518) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020ec6518,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ec6518,ffff8000218ec750,ffff8000218ec7a0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff8000218ec820) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000218ec820) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2110, count: -16 ddb{0}> show registers rdi 0x2 rsi 0 rbp 0xffff8000218ec290 rbx 0 rdx 0 rcx 0 rax 0xffff800020ec6518 r8 0xffff800000b15000 r9 0xffffffff81e56833 rt_ifa_purge+0x153 r10 0x5 r11 0x2d19a83acc44fcb8 r12 0 r13 0x8da1216f __kernel_virt_to_phys+0xda1216f r14 0xd7fffdffffffffff r15 0x1 rip 0xffffffff823bf7bd in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000218ec230 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{0}> show proc PROC (syz-executor.0) pid=423485 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff800020ec6ef8,0xffff800020ec6c90 process=0xffff800020df1ba0 user=0xffff8000218e7000, vmspace=0xfffffd807effe730 estcpu=26, cpticks=1, pctcpu=0.7 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 89567 361460 78702 0 2 0 syz-executor.1 78702 499881 77653 0 3 0x82 nanosleep syz-executor.1 62646 255738 0 0 3 0x14280 nfsidl nfsio 9302 229776 0 0 3 0x14280 nfsidl nfsio 41578 385739 0 0 3 0x14280 nfsidl nfsio 4701 36649 0 0 3 0x14280 nfsidl nfsio 1555 464657 0 0 3 0x14280 nfsidl nfsio 75509 232611 0 0 3 0x14280 nfsidl nfsio 55522 233859 0 0 3 0x14280 nfsidl nfsio 31924 87926 0 0 3 0x14280 nfsidl nfsio 58244 449548 0 0 3 0x14280 nfsidl nfsio 17091 2427 0 0 3 0x14280 nfsidl nfsio 51383 304196 0 0 3 0x14280 nfsidl nfsio 70576 347348 0 0 3 0x14280 nfsidl nfsio 63920 30963 0 0 3 0x14280 nfsidl nfsio 59619 307374 0 0 3 0x14280 nfsidl nfsio 93011 85877 0 0 3 0x14280 nfsidl nfsio 63726 415821 0 0 3 0x14280 nfsidl nfsio 25647 254318 0 0 3 0x14280 nfsidl nfsio 19262 466326 0 0 3 0x14280 nfsidl nfsio 44323 144343 0 0 3 0x14280 nfsidl nfsio 99883 60857 0 0 3 0x14280 nfsidl nfsio 23643 281197 0 0 3 0x14200 bored sosplice 77653 332817 67940 0 2 0x2 syz-fuzzer 77653 255479 67940 0 3 0x4000082 nanosleep syz-fuzzer 77653 102451 67940 0 3 0x4000082 thrsleep syz-fuzzer 77653 6567 67940 0 3 0x4000082 thrsleep syz-fuzzer 77653 287549 67940 0 2 0x4000002 syz-fuzzer 77653 208856 67940 0 3 0x4000082 thrsleep syz-fuzzer 77653 19027 67940 0 3 0x4000082 thrsleep syz-fuzzer 77653 49343 67940 0 3 0x4000082 thrsleep syz-fuzzer 67940 90807 64220 0 3 0x10008a pause ksh 64220 508259 91580 0 3 0x92 select sshd 73169 177355 1 0 3 0x100083 ttyin getty 91580 298526 1 0 3 0x80 select sshd 88360 478538 23991 74 3 0x100092 bpf pflogd 23991 88694 1 0 3 0x80 netio pflogd 13698 511591 70205 73 3 0x100090 kqread syslogd 70205 356269 1 0 3 0x100082 netio syslogd 50545 321608 1 77 2 0x100090 dhclient 29634 259214 1 0 3 0x80 poll dhclient 44938 397574 0 0 3 0x14200 bored smr 29519 143466 0 0 2 0x14200 zerothread 38236 68198 0 0 3 0x14200 aiodoned aiodoned 58191 413693 0 0 3 0x14200 syncer update 73872 496063 0 0 3 0x14200 cleaner cleaner 11223 199078 0 0 3 0x14200 reaper reaper 73877 68542 0 0 3 0x14200 pgdaemon pagedaemon 47126 63473 0 0 3 0x14200 bored crynlk 54938 198714 0 0 3 0x14200 bored crypto 21084 460244 0 0 3 0x40014200 acpi0 acpi0 86003 426227 0 0 7 0x40014200 idle1 39370 487132 0 0 3 0x14200 bored softnet 41395 164343 0 0 2 0x14200 systqmp 73717 372254 0 0 3 0x14200 bored systq 42081 426812 0 0 3 0x40014200 bored softclock 59337 124238 0 0 3 0x40014200 idle0 1 375290 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9516 6415K 6996K 78643K 11332 0 pcb 13 8K 8K 78643K 83 0 rtable 78 3K 7K 78643K 440 0 ifaddr 85 17K 18K 78643K 175 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 59 0 ioctlops 0 0K 4K 78643K 1541 0 iov 0 0K 16K 78643K 85 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1454 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 12 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 113 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 624 0 sigio 0 0K 0K 78643K 6 0 proc 61 63K 95K 78643K 537 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 69 0 in_multi 100 4K 4K 78643K 173 0 ether_multi 1 0K 0K 78643K 18 0 mrt 0 0K 0K 78643K 5 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 278 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 174 43K 48K 78643K 2582 0 UVM aobj 24 2K 2K 78643K 40 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 88 0 NDP 12 0K 0K 78643K 28 0 temp 124 3872K 3963K 78643K 4679 0 kqueue 3 4K 20K 78643K 19 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 10 0 5 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 55 0 53 1 0 1 1 0 8 0 rtentry 112 76 0 47 2 0 2 2 0 8 0 unpcb 120 245 0 235 1 0 1 1 0 8 0 syncache 272 6 0 6 2 2 0 1 0 8 0 tcpqe 32 111 0 111 1 1 0 1 0 8 0 tcpcb 592 196 0 192 3 1 2 3 0 8 1 inpcb 296 1229 0 1222 2 0 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 13 0 7 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pffrag 232 9 0 9 3 2 1 1 0 482 1 pffrnode 88 9 0 9 3 2 1 1 0 8 1 pffrent 40 194 0 194 3 2 1 1 0 8 1 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 36 0 36 1 0 1 1 0 8 1 pfstitem 24 86 0 23 1 0 1 1 0 8 0 pfstkey 112 86 0 23 2 0 2 2 0 8 0 pfstate 328 86 0 22 6 0 6 6 0 8 0 pfrule 1360 25 0 22 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 392 0 229 16 4 12 14 0 8 0 art_table 32 394 0 229 2 0 2 2 0 8 0 art_node 16 72 0 44 1 0 1 1 0 8 0 sysvmsgpl 40 26 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 109 0 99 1 0 1 1 0 8 0 shmpl 112 37 0 16 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2163 0 763 88 0 88 88 0 8 0 ffsino 272 2163 0 763 94 0 94 94 0 8 0 nchpl 144 3171 0 1585 60 0 60 60 0 8 0 uvmvnodes 72 2383 0 0 44 0 44 44 0 8 0 vnodes 208 2383 0 0 126 0 126 126 0 8 0 namei 1024 8959 0 8959 1 0 1 1 0 8 1 percpumem 16 40 0 8 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 1 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 10 0 10 1 0 1 1 0 8 1 scxspl 200 9765 0 9765 8 7 1 7 0 8 1 plimitpl 152 42 0 34 1 0 1 1 0 8 0 sigapl 424 857 0 805 6 0 6 6 0 8 0 futexpl 56 11516 0 11516 1 0 1 1 0 8 1 knotepl 112 130 0 116 2 1 1 2 0 8 0 kqueuepl 152 79 0 77 1 0 1 1 0 8 0 pipepl 304 148 0 140 2 0 2 2 0 8 0 fdescpl 496 821 0 805 3 0 3 3 0 8 0 filepl 152 4789 0 4702 6 1 5 5 0 8 1 lockfpl 104 169 0 168 1 0 1 1 0 8 0 lockfspl 48 53 0 52 1 0 1 1 0 8 0 sessionpl 120 19 0 8 1 0 1 1 0 8 0 pgrppl 48 67 0 56 1 0 1 1 0 8 0 ucredpl 96 418 0 409 1 0 1 1 0 8 0 zombiepl 144 806 0 805 1 0 1 1 0 8 0 processpl 1008 857 0 805 7 0 7 7 0 8 0 procpl 632 1713 0 1654 6 0 6 6 0 8 0 sosppl 144 14 0 14 2 1 1 1 0 8 1 sockpl 400 1542 0 1523 6 2 4 5 0 8 2 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 173 0 0 21 0 21 21 0 8 0 mtagpl 96 51 0 0 2 0 2 2 0 8 0 mbufpl 256 444 0 0 25 0 25 25 0 8 0 bufpl 280 4691 0 129 326 0 326 326 0 8 0 anonpl 16 93645 0 75049 95 17 78 91 0 124 2 amapchunkpl 152 4133 0 3825 20 3 17 17 0 158 3 amappl16 192 3707 0 2839 56 12 44 55 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 2 0 0 1 0 1 1 0 8 0 amappl13 168 163 0 160 1 0 1 1 0 8 0 amappl12 160 322 0 315 1 0 1 1 0 8 0 amappl11 152 234 0 217 1 0 1 1 0 8 0 amappl10 144 28 0 23 1 0 1 1 0 8 0 amappl9 136 372 0 371 1 0 1 1 0 8 0 amappl8 128 379 0 336 2 0 2 2 0 8 0 amappl7 120 124 0 113 1 0 1 1 0 8 0 amappl6 112 189 0 185 1 0 1 1 0 8 0 amappl5 104 998 0 980 1 0 1 1 0 8 0 amappl4 96 631 0 604 1 0 1 1 0 8 0 amappl3 88 145 0 137 1 0 1 1 0 8 0 amappl2 80 5550 0 5482 2 0 2 2 0 8 0 amappl1 72 30005 0 29549 23 13 10 18 0 8 0 amappl 80 2017 0 1933 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 39 0 16 1 0 1 1 0 8 0 uaddrrnd 24 822 0 805 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 822 0 805 1 0 1 1 0 8 0 vmmpekpl 168 8826 0 8788 2 0 2 2 0 8 0 vmmpepl 168 107877 0 105780 139 30 109 124 0 357 13 vmsppl 368 821 0 805 2 0 2 2 0 8 0 pdppl 4096 1651 0 1611 7 1 6 6 0 8 0 pvpl 32 289746 0 267485 215 18 197 213 0 265 15 pmappl 232 821 0 805 3 1 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 276 0 12 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace in_delmulti(d7fffdffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b15000) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000af7000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000af7000) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000af7000) 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(ffff8000218ec4c0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806f0d44e8,7,fffffd807f7bfa80,ffff800020ec6518) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8068053310,ffff800020ec6518) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8068053310,ffff800020ec6518) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8068053310,ffff800020ec6518) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8068053310,ffff800020ec6518) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020ec6518) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020ec6518,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ec6518,ffff8000218ec750,ffff8000218ec7a0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff8000218ec820) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000218ec820) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2110, count: -16 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 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 acpicpu_idle() at acpicpu_idle+0x331 sys/dev/acpi/acpicpu.c:1187 sched_idle(ffff800020d70ff0) at sched_idle+0x3f7 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5