login: 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(fdf7bfffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b0ef00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000afd800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000afd800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000afd800) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff800020dfe150) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806ed06688,7,fffffd807f7bf960,ffff800020ed4a00) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8068093738,ffff800020ed4a00) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8068093738,ffff800020ed4a00) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8068093738,ffff800020ed4a00) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8068093738,ffff800020ed4a00) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020ed4a00) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020ed4a00,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ed4a00,ffff800020dfe3e0,ffff800020dfe430) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800020dfe4b0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020dfe4b0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3610, count: -16 ddb{1}> show registers rdi 0x2 rsi 0 rbp 0xffff800020dfdf20 rbx 0 rdx 0 rcx 0 rax 0xffff800020ed4a00 r8 0xffff800000b0ef00 r9 0xffffffff81e56833 rt_ifa_purge+0x153 r10 0x5 r11 0x791bf13951da3425 r12 0 r13 0x3 r14 0xfdf7bfffffffffff r15 0x1 rip 0xffffffff823bf7bd in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020dfdec0 ss 0 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> show proc PROC (syz-executor.1) pid=268892 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff800020ed4c78,0xffffffff828cde18 process=0xffff8000230dd7b0 user=0xffff800020df9000, vmspace=0xfffffd807effe8a0 estcpu=28, cpticks=4, pctcpu=0.6 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 46867 43517 1 0 3 0x100083 ttyin getty 572 447375 0 0 3 0x14200 bored sosplice 13522 424399 44991 0 3 0x82 piperd syz-executor.0 44991 491643 425 0 3 0x82 thrsleep syz-fuzzer 44991 315588 425 0 3 0x4000082 nanosleep syz-fuzzer 44991 416227 425 0 3 0x4000082 thrsleep syz-fuzzer 44991 345997 425 0 3 0x4000082 thrsleep syz-fuzzer 44991 27676 425 0 7 0x4000002 syz-fuzzer 44991 422582 425 0 3 0x4000082 thrsleep syz-fuzzer 44991 227268 425 0 2 0x4000002 syz-fuzzer 44991 339217 425 0 3 0x4000082 kqread syz-fuzzer 425 342967 15019 0 3 0x10008a pause ksh 15019 367779 49614 0 3 0x92 select sshd 49614 164034 1 0 3 0x80 select sshd 17939 320512 63759 74 3 0x100092 bpf pflogd 63759 120345 1 0 3 0x80 netio pflogd 27110 503861 84153 73 3 0x100090 kqread syslogd 84153 341412 1 0 3 0x100082 netio syslogd 62743 266823 1 77 3 0x100090 poll dhclient 87152 294290 1 0 3 0x80 poll dhclient 87134 145284 0 0 3 0x14200 bored smr 97098 56835 0 0 3 0x14200 pgzero zerothread 37816 187114 0 0 3 0x14200 aiodoned aiodoned 61582 228246 0 0 3 0x14200 syncer update 4294 421957 0 0 3 0x14200 cleaner cleaner 11263 247648 0 0 3 0x14200 reaper reaper 66434 461798 0 0 3 0x14200 pgdaemon pagedaemon 19302 10182 0 0 3 0x14200 bored crynlk 93069 329964 0 0 3 0x14200 bored crypto 57468 35274 0 0 3 0x40014200 acpi0 acpi0 22102 15762 0 0 3 0x40014200 idle1 37586 221734 0 0 3 0x14200 bored softnet 40985 521121 0 0 3 0x14200 bored systqmp 71165 117099 0 0 3 0x14200 bored systq 76914 205170 0 0 3 0x40014200 bored softclock 37216 87143 0 0 3 0x40014200 idle0 1 23443 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 9490 6427K 6677K 78643K 10986 0 pcb 13 8K 8K 78643K 55 0 rtable 114 4K 5K 78643K 371 0 ifaddr 57 12K 13K 78643K 113 0 counters 43 33K 34K 78643K 51 0 ioctlops 0 0K 4K 78643K 1531 0 iov 0 0K 16K 78643K 30 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1366 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 1K 1K 78643K 34 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 1002 0 sigio 0 0K 0K 78643K 2 0 proc 61 63K 83K 78643K 534 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 24 0 in_multi 40 2K 2K 78643K 132 0 ether_multi 1 0K 0K 78643K 6 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 242 0 pfkey data 0 0K 0K 78643K 2 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 181 43K 59K 78643K 3760 0 UVM aobj 22 2K 3K 78643K 28 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 48 0 NDP 8 0K 0K 78643K 23 0 temp 90 3865K 3929K 78643K 5770 0 kqueue 3 4K 12K 78643K 11 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 9 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 38 0 36 1 0 1 1 0 8 0 rtentry 112 86 0 40 2 0 2 2 0 8 0 unpcb 120 437 0 427 1 0 1 1 0 8 0 syncache 272 9 0 9 2 2 0 1 0 8 0 tcpqe 32 374 0 374 2 2 0 1 0 8 0 tcpcb 592 101 0 97 2 1 1 2 0 8 0 inpcb 296 1369 0 1362 3 2 1 2 0 8 0 rttmr 72 4 0 3 2 1 1 1 0 8 0 nd6 48 28 0 21 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pfstscr 40 8 0 8 2 2 0 1 0 8 0 pffrag 232 7 0 7 2 2 0 1 0 482 0 pffrnode 88 7 0 7 2 2 0 1 0 8 0 pffrent 40 63 0 63 1 1 0 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 18 0 16 3 2 1 1 0 8 0 pfstitem 24 42 0 28 1 0 1 1 0 8 0 pfstkey 112 50 0 36 2 0 2 2 0 8 0 pfstate 328 44 0 30 3 0 3 3 0 8 0 pfrule 1360 28 0 22 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 353 0 125 17 2 15 15 0 8 0 art_table 32 354 0 125 2 0 2 2 0 8 0 art_node 16 85 0 43 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 1 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 25 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2473 0 1070 89 0 89 89 0 8 0 ffsino 272 2473 0 1070 96 1 95 95 0 8 0 nchpl 144 3840 0 2249 60 0 60 60 0 8 0 uvmvnodes 72 2629 0 0 48 0 48 48 0 8 0 vnodes 208 2629 0 0 139 0 139 139 0 8 0 namei 1024 9783 0 9783 3 2 1 1 0 8 1 percpumem 16 36 0 4 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 7 0 5 3 2 1 1 0 8 0 scxspl 200 11186 0 11186 9 8 1 7 0 8 1 plimitpl 152 28 0 20 1 0 1 1 0 8 0 sigapl 424 1216 0 1185 4 0 4 4 0 8 0 futexpl 56 13878 0 13878 1 0 1 1 0 8 1 knotepl 112 86 0 72 1 0 1 1 0 8 0 kqueuepl 152 48 0 46 1 0 1 1 0 8 0 pipepl 304 100 0 92 2 0 2 2 0 8 1 fdescpl 496 1200 0 1185 3 0 3 3 0 8 0 filepl 152 4962 0 4875 8 3 5 6 0 8 1 lockfpl 104 57 0 56 1 0 1 1 0 8 0 lockfspl 48 21 0 20 1 0 1 1 0 8 0 sessionpl 120 20 0 9 1 0 1 1 0 8 0 pgrppl 48 25 0 14 1 0 1 1 0 8 0 ucredpl 96 257 0 248 1 0 1 1 0 8 0 zombiepl 144 1186 0 1185 3 2 1 1 0 8 0 processpl 1008 1216 0 1185 6 1 5 5 0 8 0 procpl 632 2860 0 2822 5 1 4 4 0 8 0 sosppl 144 7 0 7 3 3 0 1 0 8 0 sockpl 400 1848 0 1829 8 5 3 4 0 8 1 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 18 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 307 0 0 38 0 38 38 0 8 0 mtagpl 96 36 0 0 1 0 1 1 0 8 0 mbufpl 256 336 0 0 21 0 21 21 0 8 0 bufpl 280 4497 0 127 313 0 313 313 0 8 0 anonpl 16 117778 0 98921 87 10 77 85 0 124 0 amapchunkpl 152 6835 0 6494 37 11 26 27 0 158 9 amappl16 192 4682 0 3838 43 0 43 43 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 237 0 234 1 0 1 1 0 8 0 amappl13 168 757 0 753 1 0 1 1 0 8 0 amappl12 160 25 0 20 1 0 1 1 0 8 0 amappl11 152 289 0 273 1 0 1 1 0 8 0 amappl10 144 23 0 20 1 0 1 1 0 8 0 amappl9 136 366 0 364 1 0 1 1 0 8 0 amappl8 128 384 0 337 2 0 2 2 0 8 0 amappl7 120 122 0 111 1 0 1 1 0 8 0 amappl6 112 260 0 251 1 0 1 1 0 8 0 amappl5 104 872 0 854 1 0 1 1 0 8 0 amappl4 96 1462 0 1433 1 0 1 1 0 8 0 amappl3 88 134 0 125 1 0 1 1 0 8 0 amappl2 80 8557 0 8492 2 0 2 2 0 8 0 amappl1 72 43672 0 43204 23 13 10 18 0 8 0 amappl 80 3185 0 3093 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 27 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1201 0 1185 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1201 0 1185 1 0 1 1 0 8 0 vmmpekpl 168 11279 0 11249 2 0 2 2 0 8 0 vmmpepl 168 157340 0 155311 120 27 93 117 0 357 0 vmsppl 368 1200 0 1185 2 0 2 2 0 8 0 pdppl 4096 2409 0 2371 7 2 5 6 0 8 0 pvpl 32 364341 0 342349 204 24 180 201 0 265 0 pmappl 232 1200 0 1185 3 2 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 297 0 17 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: 0xc00338cdd8, count: -3 ddb{0}> machine ddbcpu 1 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> trace in_delmulti(fdf7bfffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b0ef00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000afd800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000afd800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000afd800) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff800020dfe150) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806ed06688,7,fffffd807f7bf960,ffff800020ed4a00) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8068093738,ffff800020ed4a00) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8068093738,ffff800020ed4a00) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8068093738,ffff800020ed4a00) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8068093738,ffff800020ed4a00) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020ed4a00) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020ed4a00,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ed4a00,ffff800020dfe3e0,ffff800020dfe430) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800020dfe4b0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020dfe4b0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3610, count: -16