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(bfff6ffffef7fffd) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000af3600) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000b3b800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000b3b800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000b3b800) 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(ffff8000207d4bb0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd8065ce9750,7,fffffd806c3bf960,ffff80001d6bf3d8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd805d7f7e90,ffff80001d6bf3d8) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd805d7f7e90,ffff80001d6bf3d8) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd805d7f7e90,ffff80001d6bf3d8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd805d7f7e90,ffff80001d6bf3d8) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80001d6bf3d8) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff80001d6bf3d8,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff80001d6bf3d8,19) at postsig+0x4b2 sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff80001d6bf3d8,19) at postsig+0x4b2 sys/kern/kern_sig.c:1415 userret(ffff80001d6bf3d8) at userret+0x159 sys/kern/kern_sig.c:1872 syscall(ffff8000207d5030) at syscall+0x42e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000207d5030) at syscall+0x42e sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbeb60, count: -17 ddb> show registers rdi 0x2 rsi 0 rbp 0xffff8000207d4980 rbx 0 rdx 0 rcx 0x1 rax 0xffff80001d6bf3d8 r8 0xffff800000af3600 r9 0xffffffff81256843 rt_ifa_purge+0x153 r10 0x5 r11 0x52d1ce9d0639e2e4 r12 0 r13 0x3 r14 0xbfff6ffffef7fffd r15 0x1 rip 0xffffffff817ba21d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000207d4920 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb> show proc PROC (syz-executor.0) pid=93456 stat=onproc flags process=a proc=2000 pri=32, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6beee8,0xffffffff8280e530 process=0xffff80001d705638 user=0xffff8000207d0000, vmspace=0xfffffd806bc0a770 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56380 422072 0 0 3 0x14200 bored sosplice 73116 163297 43976 0 3 0x82 piperd syz-executor.1 43976 64164 60743 0 3 0x82 thrsleep syz-fuzzer 43976 272277 60743 0 3 0x4000082 nanosleep syz-fuzzer 43976 334741 60743 0 3 0x4000082 thrsleep syz-fuzzer 43976 466645 60743 0 3 0x4000082 thrsleep syz-fuzzer 43976 284284 60743 0 3 0x4000082 thrsleep syz-fuzzer 43976 466229 60743 0 2 0x4000002 syz-fuzzer 60743 17585 83706 0 3 0x10008a pause ksh 83706 358826 53261 0 3 0x92 select sshd 77989 387999 1 0 3 0x100083 ttyin getty 53261 281398 1 0 3 0x80 select sshd 60858 260519 42108 73 3 0x100090 kqread syslogd 42108 494733 1 0 3 0x100082 netio syslogd 66258 22663 1 77 2 0x100090 dhclient 9721 37563 1 0 3 0x80 poll dhclient 78956 394430 0 0 3 0x14200 bored smr 93363 331505 0 0 2 0x14200 zerothread 9012 322718 0 0 3 0x14200 aiodoned aiodoned 76956 302451 0 0 3 0x14200 syncer update 39938 200698 0 0 3 0x14200 cleaner cleaner 93116 430312 0 0 3 0x14200 reaper reaper 12130 63570 0 0 3 0x14200 pgdaemon pagedaemon 99469 17514 0 0 3 0x14200 bored crynlk 56990 376236 0 0 3 0x14200 bored crypto 42774 277679 0 0 3 0x40014200 acpi0 acpi0 70425 372608 0 0 3 0x14200 bored softnet 7997 304377 0 0 2 0x14200 systqmp 94679 169246 0 0 3 0x14200 bored systq 19238 195951 0 0 3 0x40014200 bored softclock 32063 302566 0 0 3 0x40014200 idle0 1 26975 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 9487 6353K 7367K 78643K 12128 0 pcb 13 8K 9K 78643K 85 0 rtable 101 3K 8K 78643K 476 0 ifaddr 66 13K 14K 78643K 139 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 4K 78643K 112 0 iov 0 0K 16K 78643K 30 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1610 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 108 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 4 9K 25K 78643K 448 0 sigio 0 0K 0K 78643K 6 0 proc 50 38K 55K 78643K 450 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 37 0 in_multi 39 2K 2K 78643K 105 0 ether_multi 1 0K 0K 78643K 11 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 238 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 121 22K 27K 78643K 1889 0 UVM aobj 24 4K 5K 78643K 27 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 54 0 NDP 10 0K 0K 78643K 23 0 temp 104 3857K 3927K 78643K 20018 0 kqueue 3 4K 16K 78643K 25 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 8 0 4 1 0 1 1 0 8 0 rtpcb 88 31 0 29 1 0 1 1 0 8 0 rtentry 112 73 0 33 2 0 2 2 0 8 0 unpcb 120 205 0 194 1 0 1 1 0 8 0 syncache 272 12 0 12 4 3 1 1 0 8 1 tcpqe 32 267 0 267 2 1 1 1 0 8 1 tcpcb 592 120 0 116 3 2 1 2 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 2 0 2 1 1 0 1 0 8 0 inpcb 296 831 0 824 2 0 2 2 0 8 1 nd6 48 20 0 14 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pfstscr 40 4 0 2 1 0 1 1 0 8 0 pfrktable 1344 97 0 96 2 1 1 1 0 8 0 pftag 88 19 0 16 1 0 1 1 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 112 8 0 4 1 0 1 1 0 8 0 pfstate 328 4 0 2 1 0 1 1 0 8 0 pfrule 1360 26 0 16 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 312 0 129 14 1 13 14 0 8 0 art_table 32 313 0 129 2 0 2 2 0 8 0 art_node 16 70 0 30 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 7 3 2 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 104 0 94 1 0 1 1 0 8 0 shmpl 112 24 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1925 0 529 88 0 88 88 0 8 0 ffsino 240 1925 0 529 83 0 83 83 0 8 0 nchpl 144 2724 0 1149 60 0 60 60 0 8 0 uvmvnodes 72 2323 0 0 43 0 43 43 0 8 0 vnodes 208 2323 0 0 123 0 123 123 0 8 0 namei 1024 7793 0 7793 2 1 1 1 0 8 1 vmpool 528 2 0 2 1 1 0 1 0 8 0 pfiaddrpl 120 28 0 28 1 1 0 1 0 8 0 scxspl 200 8027 0 8027 2 1 1 1 0 8 1 plimitpl 152 46 0 39 1 0 1 1 0 8 0 sigapl 424 632 0 604 4 0 4 4 0 8 0 futexpl 56 9099 0 9099 2 1 1 1 0 8 1 knotepl 112 106 0 88 1 0 1 1 0 8 0 kqueuepl 152 344 0 342 1 0 1 1 0 8 0 pipepl 272 122 0 112 2 1 1 2 0 8 0 fdescpl 432 617 0 604 2 0 2 2 0 8 0 filepl 120 4198 0 4112 4 0 4 4 0 8 1 lockfpl 104 79 0 78 1 0 1 1 0 8 0 lockfspl 48 29 0 28 1 0 1 1 0 8 0 sessionpl 120 18 0 8 1 0 1 1 0 8 0 pgrppl 48 18 0 8 1 0 1 1 0 8 0 ucredpl 96 517 0 510 1 0 1 1 0 8 0 zombiepl 144 605 0 604 1 0 1 1 0 8 0 processpl 944 632 0 604 4 0 4 4 0 8 0 procpl 632 1106 0 1073 4 0 4 4 0 8 0 sosppl 144 8 0 8 2 2 0 1 0 8 0 sockpl 400 1079 0 1059 5 1 4 4 0 8 1 mcl64k 65536 19 0 19 5 4 1 1 0 8 1 mcl16k 16384 4 0 4 2 1 1 1 0 8 1 mcl12k 12288 9 0 9 5 5 0 1 0 8 0 mcl9k 9216 6 0 6 2 2 0 1 0 8 0 mcl8k 8192 18 0 18 2 2 0 1 0 8 0 mcl4k 4096 44 0 44 6 5 1 1 0 8 1 mcl2k2 2112 3 0 3 2 2 0 1 0 8 0 mcl2k 2048 96258 0 96201 28 19 9 19 0 8 0 mtagpl 96 28 0 22 2 1 1 1 0 8 0 mbufpl 256 155122 0 154975 21 4 17 17 0 8 0 bufpl 280 4114 0 118 286 0 286 286 0 8 0 anonpl 16 81103 0 63393 100 12 88 90 0 107 9 amapchunkpl 152 2901 0 2704 12 0 12 12 0 158 0 amappl16 192 3015 0 2002 69 10 59 63 0 8 8 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 116 0 113 1 0 1 1 0 8 0 amappl13 168 239 0 235 1 0 1 1 0 8 0 amappl12 160 231 0 227 1 0 1 1 0 8 0 amappl11 152 50 0 41 1 0 1 1 0 8 0 amappl10 144 10 0 8 1 0 1 1 0 8 0 amappl9 136 453 0 451 1 0 1 1 0 8 0 amappl8 128 400 0 372 1 0 1 1 0 8 0 amappl7 120 109 0 96 1 0 1 1 0 8 0 amappl6 112 23 0 19 1 0 1 1 0 8 0 amappl5 104 541 0 530 1 0 1 1 0 8 0 amappl4 96 440 0 411 1 0 1 1 0 8 0 amappl3 88 241 0 231 1 0 1 1 0 8 0 amappl2 80 4220 0 4161 2 0 2 2 0 8 0 amappl1 72 22521 0 22130 23 14 9 17 0 8 0 amappl 80 1393 0 1337 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 26 0 3 1 0 1 1 0 8 0 uaddrrnd 24 619 0 606 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 619 0 606 1 0 1 1 0 8 0 vmmpekpl 168 7317 0 7293 2 0 2 2 0 8 0 vmmpepl 168 81944 0 79950 166 63 103 132 0 357 10 vmsppl 272 618 0 606 3 2 1 2 0 8 0 pdppl 4096 1244 0 1212 6 1 5 6 0 8 0 pvpl 32 233068 0 212447 241 32 209 212 0 265 27 pmappl 200 618 0 606 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 278 0 47 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace in_delmulti(bfff6ffffef7fffd) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000af3600) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000b3b800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000b3b800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000b3b800) 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(ffff8000207d4bb0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd8065ce9750,7,fffffd806c3bf960,ffff80001d6bf3d8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd805d7f7e90,ffff80001d6bf3d8) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd805d7f7e90,ffff80001d6bf3d8) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd805d7f7e90,ffff80001d6bf3d8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd805d7f7e90,ffff80001d6bf3d8) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80001d6bf3d8) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff80001d6bf3d8,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff80001d6bf3d8,19) at postsig+0x4b2 sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff80001d6bf3d8,19) at postsig+0x4b2 sys/kern/kern_sig.c:1415 userret(ffff80001d6bf3d8) at userret+0x159 sys/kern/kern_sig.c:1872 syscall(ffff8000207d5030) at syscall+0x42e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000207d5030) at syscall+0x42e sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbeb60, count: -17 ddb> machine ddbcpu 1 No such command ddb> trace in_delmulti(bfff6ffffef7fffd) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000af3600) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000b3b800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000b3b800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000b3b800) 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(ffff8000207d4bb0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd8065ce9750,7,fffffd806c3bf960,ffff80001d6bf3d8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd805d7f7e90,ffff80001d6bf3d8) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd805d7f7e90,ffff80001d6bf3d8) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd805d7f7e90,ffff80001d6bf3d8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd805d7f7e90,ffff80001d6bf3d8) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80001d6bf3d8) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff80001d6bf3d8,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff80001d6bf3d8,19) at postsig+0x4b2 sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff80001d6bf3d8,19) at postsig+0x4b2 sys/kern/kern_sig.c:1415 userret(ffff80001d6bf3d8) at userret+0x159 sys/kern/kern_sig.c:1872 syscall(ffff8000207d5030) at syscall+0x42e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000207d5030) at syscall+0x42e sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbeb60, count: -17