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(fdffffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000af0700) 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(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80001d797320) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd805dc99680,7,fffffd806c3bfc60,ffff80001d6be508) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8056d59790,ffff80001d6be508) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8056d59790,ffff80001d6be508) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd8056d59790,ffff80001d6be508) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8056d59790,ffff80001d6be508) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80001d6be508) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff80001d6be508,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff80001d6be508,ffff80001d7975b0,ffff80001d797600) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80001d797680) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc01a0, count: -16 ddb> show registers rdi 0x2 rsi 0 rbp 0xffff80001d7970f0 rbx 0 rdx 0 rcx 0x1 rax 0xffff80001d6be508 r8 0xffff800000af0700 r9 0xffffffff81256843 rt_ifa_purge+0x153 r10 0x5 r11 0x7dffab58b3a695f1 r12 0 r13 0x3 r14 0xfdffffffffffffff r15 0x1 rip 0xffffffff817ba21d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80001d797090 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb> show proc PROC (syz-executor.0) pid=278507 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=58, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6bfb40,0xffff80001d6beef8 process=0xffff80001d6ff288 user=0xffff80001d792000, vmspace=0xfffffd806bc0a000 estcpu=8, cpticks=0, pctcpu=0.6 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 98612 92799 81473 0 2 0 syz-executor.1 98612 48064 81473 0 3 0x4000080 fsleep syz-executor.1 37968 508212 0 0 3 0x14200 bored sosplice 81473 221708 43341 0 3 0x82 nanosleep syz-executor.1 43341 57304 87683 0 3 0x82 thrsleep syz-fuzzer 43341 395774 87683 0 3 0x4000082 nanosleep syz-fuzzer 43341 137189 87683 0 3 0x4000082 thrsleep syz-fuzzer 43341 189063 87683 0 2 0x4000002 syz-fuzzer 43341 80279 87683 0 3 0x4000082 thrsleep syz-fuzzer 43341 273114 87683 0 3 0x4000082 thrsleep syz-fuzzer 87683 158922 630 0 3 0x10008a pause ksh 630 117537 69105 0 3 0x92 select sshd 66751 409391 1 0 3 0x100083 ttyin getty 69105 408399 1 0 3 0x80 select sshd 25865 187954 56975 73 3 0x100090 kqread syslogd 56975 511126 1 0 3 0x100082 netio syslogd 93081 139522 1 77 2 0x100090 dhclient 86239 179228 1 0 3 0x80 poll dhclient 70507 176264 0 0 3 0x14200 bored smr 98201 442474 0 0 2 0x14200 zerothread 55606 370422 0 0 3 0x14200 aiodoned aiodoned 6690 41930 0 0 3 0x14200 syncer update 5440 16529 0 0 3 0x14200 cleaner cleaner 47898 56697 0 0 3 0x14200 reaper reaper 75098 298527 0 0 3 0x14200 pgdaemon pagedaemon 58168 318983 0 0 3 0x14200 bored crynlk 51581 486258 0 0 3 0x14200 bored crypto 8110 155217 0 0 3 0x40014200 acpi0 acpi0 1079 47620 0 0 3 0x14200 bored softnet 36887 495647 0 0 2 0x14200 systqmp 48618 292213 0 0 3 0x14200 bored systq 77014 99834 0 0 3 0x40014200 bored softclock 51468 474651 0 0 3 0x40014200 idle0 1 520124 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 9448 6323K 6904K 78643K 10816 0 pcb 13 8K 8K 78643K 45 0 rtable 92 3K 7K 78643K 289 0 ifaddr 39 10K 11K 78643K 66 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 4K 78643K 31 0 iov 0 0K 4K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1297 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 40 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 169 0 sigio 0 0K 0K 78643K 4 0 proc 49 38K 54K 78643K 371 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 3 0 in_multi 35 2K 2K 78643K 63 0 ether_multi 1 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 191 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 126 22K 24K 78643K 1229 0 UVM aobj 9 2K 2K 78643K 16 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 24 0 NDP 5 0K 0K 78643K 13 0 temp 66 3852K 3932K 78643K 3503 0 kqueue 3 4K 23K 78643K 13 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 39 0 37 1 0 1 1 0 8 0 rtentry 112 57 0 20 2 0 2 2 0 8 0 unpcb 120 55 0 47 1 0 1 1 0 8 0 syncache 272 6 0 6 2 1 1 1 0 8 1 tcpqe 32 307 0 307 1 1 0 1 0 8 0 tcpcb 592 50 0 46 2 0 2 2 0 8 1 inpcb 296 356 0 349 2 0 2 2 0 8 1 nd6 48 9 0 5 1 0 1 1 0 8 0 pfrktable 1344 32 0 32 1 0 1 1 0 8 1 pftag 88 4 0 4 1 0 1 1 0 8 1 pfrule 1360 6 0 6 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 260 0 88 13 0 13 13 0 8 0 art_table 32 261 0 88 2 0 2 2 0 8 0 art_node 16 56 0 18 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 38 0 28 1 0 1 1 0 8 0 shmpl 112 13 0 7 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1589 0 196 88 0 88 88 0 8 0 ffsino 240 1589 0 196 83 0 83 83 0 8 0 nchpl 144 2015 0 435 60 0 60 60 0 8 0 uvmvnodes 72 1693 0 0 31 0 31 31 0 8 0 vnodes 208 1693 0 0 90 0 90 90 0 8 0 namei 1024 5112 0 5112 1 0 1 1 0 8 1 pfiaddrpl 120 10 0 10 1 0 1 1 0 8 1 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 200 5997 0 5997 1 0 1 1 0 8 1 plimitpl 152 24 0 17 1 0 1 1 0 8 0 sigapl 424 356 0 327 4 0 4 4 0 8 0 futexpl 56 3176 0 3175 1 0 1 1 0 8 0 knotepl 112 91 0 77 2 0 2 2 0 8 1 kqueuepl 152 228 0 226 1 0 1 1 0 8 0 pipepl 272 86 0 78 1 0 1 1 0 8 0 fdescpl 432 341 0 327 2 0 2 2 0 8 0 filepl 120 2102 0 2019 4 0 4 4 0 8 1 lockfpl 104 38 0 37 1 0 1 1 0 8 0 lockfspl 48 17 0 16 1 0 1 1 0 8 0 sessionpl 120 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 150 0 143 1 0 1 1 0 8 0 zombiepl 144 328 0 327 1 0 1 1 0 8 0 processpl 944 356 0 327 4 0 4 4 0 8 0 procpl 632 522 0 487 4 0 4 4 0 8 0 sosppl 144 6 0 6 1 0 1 1 0 8 1 sockpl 400 450 0 433 3 0 3 3 0 8 1 mcl64k 65536 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 4 0 4 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 22 0 22 2 1 1 1 0 8 1 mcl2k 2048 93758 0 93701 17 2 15 16 0 8 7 mtagpl 96 24 0 11 2 1 1 1 0 8 0 mbufpl 256 149036 0 148833 20 2 18 18 0 8 0 bufpl 280 3733 0 119 259 0 259 259 0 8 0 anonpl 16 48619 0 32163 75 1 74 74 0 107 0 amapchunkpl 152 1750 0 1550 16 0 16 16 0 158 6 amappl16 192 1609 0 675 48 0 48 48 0 8 1 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 9 0 8 1 0 1 1 0 8 0 amappl13 168 28 0 23 1 0 1 1 0 8 0 amappl12 160 26 0 22 1 0 1 1 0 8 0 amappl11 152 43 0 34 1 0 1 1 0 8 0 amappl10 144 17 0 12 1 0 1 1 0 8 0 amappl9 136 496 0 492 1 0 1 1 0 8 0 amappl8 128 424 0 392 2 0 2 2 0 8 0 amappl7 120 103 0 91 1 0 1 1 0 8 0 amappl6 112 24 0 21 1 0 1 1 0 8 0 amappl5 104 263 0 251 1 0 1 1 0 8 0 amappl4 96 427 0 402 1 0 1 1 0 8 0 amappl3 88 127 0 119 1 0 1 1 0 8 0 amappl2 80 1905 0 1836 2 0 2 2 0 8 0 amappl1 72 16674 0 16244 23 13 10 17 0 8 1 amappl 80 771 0 711 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 15 0 7 1 0 1 1 0 8 0 uaddrrnd 24 341 0 327 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 341 0 327 1 0 1 1 0 8 0 vmmpekpl 168 6110 0 6086 2 0 2 2 0 8 0 vmmpepl 168 48583 0 46512 124 7 117 117 0 357 25 vmsppl 272 340 0 327 2 0 2 2 0 8 1 pdppl 4096 688 0 654 6 0 6 6 0 8 1 pvpl 32 158197 0 138766 175 0 175 175 0 265 4 pmappl 200 340 0 327 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 247 0 8 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace in_delmulti(fdffffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000af0700) 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(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80001d797320) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd805dc99680,7,fffffd806c3bfc60,ffff80001d6be508) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8056d59790,ffff80001d6be508) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8056d59790,ffff80001d6be508) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd8056d59790,ffff80001d6be508) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8056d59790,ffff80001d6be508) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80001d6be508) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff80001d6be508,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff80001d6be508,ffff80001d7975b0,ffff80001d797600) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80001d797680) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc01a0, count: -16 ddb> machine ddbcpu 1 No such command ddb> trace in_delmulti(fdffffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000af0700) 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(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80001d797320) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd805dc99680,7,fffffd806c3bfc60,ffff80001d6be508) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8056d59790,ffff80001d6be508) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8056d59790,ffff80001d6be508) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd8056d59790,ffff80001d6be508) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8056d59790,ffff80001d6be508) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80001d6be508) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff80001d6be508,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff80001d6be508,ffff80001d7975b0,ffff80001d797600) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80001d797680) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc01a0, count: -16