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(fffeffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000ae4000) 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(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80001f9a7490) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd805dd3f8f0,7,fffffd806c3bf7e0,ffff8000ffff9b30) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80651f2f00,ffff8000ffff9b30) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80651f2f00,ffff8000ffff9b30) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd80651f2f00,ffff8000ffff9b30) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80651f2f00,ffff8000ffff9b30) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff9b30) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff9b30,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff8000ffff9b30,19) at postsig+0x4b2 sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff8000ffff9b30,19) at postsig+0x4b2 sys/kern/kern_sig.c:1415 userret(ffff8000ffff9b30) at userret+0x159 sys/kern/kern_sig.c:1872 syscall(ffff80001f9a7910) at syscall+0x42e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80001f9a7910) at syscall+0x42e sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc1620, count: -17 ddb> show registers rdi 0x2 rsi 0 rbp 0xffff80001f9a7260 rbx 0 rdx 0 rcx 0x1 rax 0xffff8000ffff9b30 r8 0xffff800000ae4000 r9 0xffffffff81256843 rt_ifa_purge+0x153 r10 0x5 r11 0x52840b42f261da61 r12 0 r13 0x3 r14 0xfffeffffffffffff r15 0x1 rip 0xffffffff817ba21d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80001f9a7200 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb> show proc PROC (syz-executor.1) pid=46900 stat=onproc flags process=a proc=2000 pri=32, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff84f8,0xffffffff8280e530 process=0xffff80001d6c1280 user=0xffff80001f9a2000, vmspace=0xfffffd806bc0a330 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56552 245057 91143 0 2 0x2 syz-executor.0 91143 117195 58025 0 2 0x2 syz-fuzzer 91143 209479 58025 0 3 0x4000082 nanosleep syz-fuzzer 91143 164343 58025 0 3 0x4000082 thrsleep syz-fuzzer 91143 329131 58025 0 3 0x4000082 thrsleep syz-fuzzer 91143 145522 58025 0 3 0x4000082 thrsleep syz-fuzzer 91143 213341 58025 0 3 0x4000082 thrsleep syz-fuzzer 58025 107413 82635 0 3 0x10008a pause ksh 82635 495597 79790 0 3 0x92 select sshd 7703 113713 1 0 3 0x100083 ttyin getty 79790 457290 1 0 3 0x80 select sshd 33626 418763 10083 73 3 0x100090 kqread syslogd 10083 256879 1 0 3 0x100082 netio syslogd 71171 326116 1 77 2 0x100090 dhclient 93134 454171 1 0 2 0x80 dhclient 82227 126038 0 0 3 0x14200 bored smr 72243 453393 0 0 2 0x14200 zerothread 8932 252241 0 0 3 0x14200 aiodoned aiodoned 51366 485650 0 0 3 0x14200 syncer update 3103 3683 0 0 3 0x14200 cleaner cleaner 44484 221933 0 0 3 0x14200 reaper reaper 83774 240361 0 0 3 0x14200 pgdaemon pagedaemon 29316 224952 0 0 3 0x14200 bored crynlk 18977 451642 0 0 3 0x14200 bored crypto 45884 244896 0 0 3 0x40014200 acpi0 acpi0 89903 521859 0 0 3 0x14200 bored softnet 85723 106844 0 0 2 0x14200 systqmp 61825 31435 0 0 3 0x14200 bored systq 79261 34532 0 0 3 0x40014200 bored softclock 5011 369059 0 0 3 0x40014200 idle0 1 329807 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 9472 6356K 7305K 78643K 11837 0 pcb 13 8K 8K 78643K 71 0 rtable 87 3K 6K 78643K 294 0 ifaddr 55 12K 13K 78643K 103 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 23 0 ioctlops 0 0K 4K 78643K 79 0 iov 0 0K 16K 78643K 34 0 mount 1 1K 1K 78643K 1 0 vnodes 1230 77K 78K 78643K 1522 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 66 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 4 9K 25K 78643K 321 0 sigio 0 0K 0K 78643K 12 0 proc 50 38K 54K 78643K 394 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 14 0 in_multi 43 2K 3K 78643K 89 0 ether_multi 1 0K 0K 78643K 7 0 mrt 0 0K 0K 78643K 4 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 213 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 124 40K 44K 78643K 1608 0 UVM aobj 14 2K 2K 78643K 14 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 50 0 NDP 8 0K 0K 78643K 17 0 temp 84 3854K 3918K 78643K 3697 0 kqueue 3 4K 16K 78643K 20 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 29 0 27 1 0 1 1 0 8 0 rtentry 112 66 0 33 2 0 2 2 0 8 0 unpcb 120 139 0 131 1 0 1 1 0 8 0 syncache 272 10 0 10 3 3 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 592 154 0 150 4 2 2 2 0 8 1 ipq 40 4 0 4 2 1 1 1 0 8 1 ipqe 40 10 0 10 2 1 1 1 0 8 1 inpcb 296 608 0 601 4 2 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 18 0 10 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 20 0 20 2 1 1 1 0 8 1 pfrule 1360 10 0 8 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 283 0 70 14 0 14 14 0 8 0 art_table 32 284 0 70 2 0 2 2 0 8 0 art_node 16 65 0 33 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 9 1 0 1 1 0 8 0 semapl 112 64 0 54 1 0 1 1 0 8 0 shmpl 112 11 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1781 0 385 88 0 88 88 0 8 0 ffsino 240 1781 0 385 83 0 83 83 0 8 0 nchpl 144 2396 0 805 60 0 60 60 0 8 0 uvmvnodes 72 2099 0 0 39 0 39 39 0 8 0 vnodes 208 2099 0 0 111 0 111 111 0 8 0 namei 1024 6664 0 6664 2 1 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 7 0 5 2 1 1 1 0 8 0 pfiaddrpl 120 4 0 4 2 1 1 1 0 8 1 scxspl 200 7346 0 7346 1 0 1 1 0 8 1 plimitpl 152 36 0 29 1 0 1 1 0 8 0 sigapl 424 507 0 480 4 0 4 4 0 8 0 futexpl 56 6867 0 6867 2 1 1 1 0 8 1 knotepl 112 85 0 67 1 0 1 1 0 8 0 kqueuepl 152 52 0 50 1 0 1 1 0 8 0 pipepl 272 105 0 95 1 0 1 1 0 8 0 fdescpl 432 493 0 480 2 0 2 2 0 8 0 filepl 120 3095 0 3009 4 0 4 4 0 8 1 lockfpl 104 93 0 92 1 0 1 1 0 8 0 lockfspl 48 35 0 34 1 0 1 1 0 8 0 sessionpl 120 17 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 13 1 0 1 1 0 8 0 ucredpl 96 335 0 328 1 0 1 1 0 8 0 zombiepl 144 481 0 480 1 0 1 1 0 8 0 processpl 944 507 0 480 4 0 4 4 0 8 0 procpl 632 868 0 836 5 1 4 4 0 8 1 sockpl 400 786 0 769 3 0 3 3 0 8 1 mcl64k 65536 5 0 5 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 7 0 7 3 2 1 1 0 8 1 mcl9k 9216 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 20 0 20 3 2 1 1 0 8 1 mcl4k 4096 42 0 42 4 3 1 1 0 8 1 mcl2k2 2112 4 0 4 3 2 1 1 0 8 1 mcl2k 2048 96277 0 96234 17 10 7 13 0 8 1 mtagpl 96 223 0 109 7 1 6 6 0 8 0 mbufpl 256 154791 0 154458 45 6 39 39 0 8 2 bufpl 280 4445 0 120 309 0 309 309 0 8 0 anonpl 16 74281 0 56288 97 14 83 92 0 107 9 amapchunkpl 152 2994 0 2785 34 17 17 22 0 158 7 amappl16 192 3092 0 2171 67 17 50 62 0 8 3 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 2 0 1 1 0 1 1 0 8 0 amappl13 168 168 0 164 1 0 1 1 0 8 0 amappl12 160 27 0 24 1 0 1 1 0 8 0 amappl11 152 48 0 38 1 0 1 1 0 8 0 amappl10 144 20 0 17 1 0 1 1 0 8 0 amappl9 136 472 0 469 1 0 1 1 0 8 0 amappl8 128 293 0 264 1 0 1 1 0 8 0 amappl7 120 102 0 92 1 0 1 1 0 8 0 amappl6 112 27 0 22 1 0 1 1 0 8 0 amappl5 104 489 0 478 1 0 1 1 0 8 0 amappl4 96 567 0 542 1 0 1 1 0 8 0 amappl3 88 124 0 116 1 0 1 1 0 8 0 amappl2 80 3119 0 3064 2 0 2 2 0 8 0 amappl1 72 20109 0 19712 22 12 10 17 0 8 0 amappl 80 1145 0 1089 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 13 0 0 1 0 1 1 0 8 0 uaddrrnd 24 500 0 485 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 500 0 485 1 0 1 1 0 8 0 vmmpekpl 168 7050 0 7027 2 0 2 2 0 8 0 vmmpepl 168 68125 0 66222 123 28 95 118 0 357 5 vmsppl 272 499 0 485 4 2 2 2 0 8 0 pdppl 4096 1006 0 972 6 1 5 6 0 8 0 pvpl 32 211101 0 190224 226 21 205 213 0 265 32 pmappl 200 499 0 485 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 282 0 31 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace in_delmulti(fffeffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000ae4000) 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(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80001f9a7490) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd805dd3f8f0,7,fffffd806c3bf7e0,ffff8000ffff9b30) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80651f2f00,ffff8000ffff9b30) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80651f2f00,ffff8000ffff9b30) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd80651f2f00,ffff8000ffff9b30) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80651f2f00,ffff8000ffff9b30) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff9b30) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff9b30,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff8000ffff9b30,19) at postsig+0x4b2 sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff8000ffff9b30,19) at postsig+0x4b2 sys/kern/kern_sig.c:1415 userret(ffff8000ffff9b30) at userret+0x159 sys/kern/kern_sig.c:1872 syscall(ffff80001f9a7910) at syscall+0x42e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80001f9a7910) at syscall+0x42e sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc1620, count: -17 ddb> machine ddbcpu 1 No such command ddb> trace in_delmulti(fffeffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000ae4000) 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(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80001f9a7490) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd805dd3f8f0,7,fffffd806c3bf7e0,ffff8000ffff9b30) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80651f2f00,ffff8000ffff9b30) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80651f2f00,ffff8000ffff9b30) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd80651f2f00,ffff8000ffff9b30) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80651f2f00,ffff8000ffff9b30) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff9b30) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff9b30,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff8000ffff9b30,19) at postsig+0x4b2 sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff8000ffff9b30,19) at postsig+0x4b2 sys/kern/kern_sig.c:1415 userret(ffff8000ffff9b30) at userret+0x159 sys/kern/kern_sig.c:1872 syscall(ffff80001f9a7910) at syscall+0x42e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80001f9a7910) at syscall+0x42e sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc1620, count: -17