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(bfffeffffdffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000a46600) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff8000009c1000) at in_ifdetach+0x74 sys/netinet/in.c:969 if_detach(ffff8000009c1000) at if_detach+0x140 sys/net/if.c:1151 tun_clone_destroy(ffff8000009c1000) at tun_clone_destroy+0x179 sys/net/if_tun.c:312 spec_close(ffff800020b72cf0) at spec_close+0x311 sys/kern/spec_vnops.c:555 VOP_CLOSE(fffffd806e6c7348,7,fffffd807f7c6900,ffff800020ac13d8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:175 vn_closefile(fffffd80659f76a0,ffff800020ac13d8) at vn_closefile+0xd8 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80659f76a0,ffff800020ac13d8) at vn_closefile+0xd8 sys/kern/vfs_vnops.c:610 fdrop(fffffd80659f76a0,ffff800020ac13d8) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd80659f76a0,ffff800020ac13d8) at closef+0x11d sys/kern/kern_descrip.c:1257 fdfree(ffff800020ac13d8) at fdfree+0x101 sys/kern/kern_descrip.c:1189 exit1(ffff800020ac13d8,19,1) at exit1+0x32f sys/kern/kern_exit.c:196 postsig(ffff800020ac13d8,19) at postsig+0x4e3 sigexit sys/kern/kern_sig.c:1499 [inline] postsig(ffff800020ac13d8,19) at postsig+0x4e3 sys/kern/kern_sig.c:1431 userret(ffff800020ac13d8) at userret+0x199 sys/kern/kern_sig.c:1889 syscall(ffff800020b73170) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:115 [inline] syscall(ffff800020b73170) at syscall+0x55f sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc2b20, count: -16 ddb{0}> show registers rdi 0x2 rsi 0 rbp 0xffff800020b72b20 rbx 0 rdx 0xffff800020ac13d8 rcx 0 rax 0 r8 0xffffffff81342423 rt_ifa_purge+0x153 r9 0x5 r10 0x2f r11 0x313fbfc7d535d6ee r12 0 r13 0x3 r14 0xbfffeffffdffffff r15 0x1 rip 0xffffffff81eee24d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020b72ac0 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{0}> show proc PROC (syz-executor.0) pid=11156 stat=onproc flags process=a proc=2000 pri=17, usrpri=73, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac1160,0xffff800020ac0518 process=0xffff800020aeca80 user=0xffff800020b6e000, vmspace=0xfffffd807f008000 estcpu=36, cpticks=3, pctcpu=0.3 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 88118 5623 11252 0 7 0x2 syz-executor.1 11252 25244 77489 0 3 0x82 thrsleep syz-fuzzer 11252 277852 77489 0 3 0x4000082 nanosleep syz-fuzzer 11252 171422 77489 0 3 0x4000082 thrsleep syz-fuzzer 11252 22849 77489 0 3 0x4000082 thrsleep syz-fuzzer 11252 120259 77489 0 3 0x4000082 thrsleep syz-fuzzer 11252 348785 77489 0 3 0x4000082 thrsleep syz-fuzzer 11252 250299 77489 0 3 0x4000082 thrsleep syz-fuzzer 11252 233253 77489 0 3 0x4000082 thrsleep syz-fuzzer 11252 425965 77489 0 2 0x4000082 syz-fuzzer 11252 482259 77489 0 3 0x4000082 nanosleep syz-fuzzer 77489 227430 62738 0 3 0x10008a pause ksh 62738 125838 81919 0 3 0x92 select sshd 4571 61286 1 0 3 0x100083 ttyin getty 81919 430630 1 0 3 0x80 select sshd 2479 273181 62948 74 3 0x100092 bpf pflogd 62948 326865 1 0 3 0x80 netio pflogd 20138 315095 31475 73 3 0x100090 kqread syslogd 31475 333436 1 0 3 0x100082 netio syslogd 89054 488160 1 77 2 0x100090 dhclient 75958 195487 1 0 3 0x80 poll dhclient 10048 43276 0 0 2 0x14200 zerothread 41608 158274 0 0 3 0x14200 aiodoned aiodoned 37222 378014 0 0 3 0x14200 syncer update 44285 107996 0 0 3 0x14200 cleaner cleaner 71098 19265 0 0 3 0x14200 reaper reaper 99246 126954 0 0 3 0x14200 pgdaemon pagedaemon 70386 63918 0 0 3 0x14200 bored crynlk 27181 98255 0 0 3 0x14200 bored crypto 51844 254462 0 0 3 0x40014200 acpi0 acpi0 45603 404615 0 0 3 0x40014200 idle1 19973 140429 0 0 2 0x14200 softnet 78140 289760 0 0 2 0x14200 systqmp 94645 136786 0 0 3 0x14200 bored systq 25594 248917 0 0 3 0x40014200 bored softclock 52160 10623 0 0 3 0x40014200 idle0 67829 449347 0 0 3 0x14200 bored smr 1 118091 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 9495 6407K 6790K 78643K 10723 0 pcb 13 8K 8K 78643K 39 0 rtable 103 4K 4K 78643K 237 0 ifaddr 58 12K 12K 78643K 71 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1471 0 iov 0 0K 24K 78643K 20 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1265 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 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 33 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 4 9K 25K 78643K 72 0 proc 60 63K 95K 78643K 444 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 8 0 in_multi 39 2K 2K 78643K 41 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 54 238K 238K 78643K 54 0 exec 0 0K 1K 78643K 215 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 115 22K 24K 78643K 1184 0 UVM aobj 9 2K 2K 78643K 9 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 10 0 NDP 9 0K 0K 78643K 15 0 temp 90 3010K 3074K 78643K 3920 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 6 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 23 0 21 1 0 1 1 0 8 0 rtentry 112 45 0 5 2 0 2 2 0 8 0 unpcb 120 57 0 47 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 10 0 10 1 1 0 1 0 8 0 tcpcb 544 56 0 52 1 0 1 1 0 8 0 inpcb 280 151 0 144 2 0 2 2 0 8 1 nd6 48 4 0 0 1 0 1 1 0 8 0 swfcl 56 1 0 0 1 0 1 1 0 8 0 ppxss 1128 2 0 2 1 0 1 1 0 8 1 pffrag 232 1 0 1 1 0 1 1 0 482 1 pffrnode 88 1 0 1 1 0 1 1 0 8 1 pffrent 40 45 0 45 1 0 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 pfstitem 24 19 0 1 1 0 1 1 0 8 0 pfstkey 112 19 0 1 1 0 1 1 0 8 0 pfstate 328 19 0 1 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 213 0 0 14 0 14 14 0 8 0 art_table 32 214 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 semupl 112 5 0 5 1 0 1 1 0 8 1 semapl 112 31 0 21 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1498 0 90 46 0 46 46 0 8 0 ffsino 272 1498 0 90 95 0 95 95 0 8 0 nchpl 144 1790 0 172 61 0 61 61 0 8 0 uvmvnodes 72 1574 0 0 29 0 29 29 0 8 0 vnodes 208 1574 0 0 83 0 83 83 0 8 0 namei 1024 4716 0 4716 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 5386 0 5386 8 1 7 7 0 8 7 plimitpl 152 17 0 9 1 0 1 1 0 8 0 sigapl 432 271 0 257 3 0 3 3 0 8 1 futexpl 56 1111 0 1111 1 0 1 1 0 8 1 knotepl 112 55 0 36 1 0 1 1 0 8 0 kqueuepl 104 8 0 6 1 0 1 1 0 8 0 pipepl 160 168 0 150 2 0 2 2 0 8 1 fdescpl 488 272 0 257 3 0 3 3 0 8 0 filepl 152 1572 0 1481 6 0 6 6 0 8 2 lockfpl 104 35 0 34 1 0 1 1 0 8 0 lockfspl 48 12 0 11 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 103 0 94 1 0 1 1 0 8 0 zombiepl 144 258 0 257 1 0 1 1 0 8 0 processpl 896 287 0 257 4 0 4 4 0 8 0 procpl 632 403 0 364 5 0 5 5 0 8 1 srpgc 64 2 0 0 1 0 1 1 0 8 0 sockpl 384 231 0 212 4 0 4 4 0 8 2 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 170 0 0 21 0 21 21 0 8 0 mtagpl 80 4 0 0 1 0 1 1 0 8 0 mbufpl 256 364 0 0 22 0 22 22 0 8 0 bufpl 280 6697 0 1341 383 0 383 383 0 8 0 anonpl 16 44098 0 25685 77 1 76 76 0 125 0 amapchunkpl 152 1388 0 1232 14 0 14 14 0 158 7 amappl16 192 1255 0 257 52 0 52 52 0 8 1 amappl15 184 89 0 82 1 0 1 1 0 8 0 amappl14 176 28 0 26 1 0 1 1 0 8 0 amappl12 160 5 0 5 1 1 0 1 0 8 0 amappl11 152 56 0 41 1 0 1 1 0 8 0 amappl10 144 34 0 28 1 0 1 1 0 8 0 amappl9 136 603 0 600 1 0 1 1 0 8 0 amappl8 128 121 0 95 1 0 1 1 0 8 0 amappl7 120 129 0 115 1 0 1 1 0 8 0 amappl6 112 58 0 51 1 0 1 1 0 8 0 amappl5 104 131 0 117 1 0 1 1 0 8 0 amappl4 96 518 0 488 1 0 1 1 0 8 0 amappl3 88 115 0 108 1 0 1 1 0 8 0 amappl2 80 1282 0 1211 3 1 2 3 0 8 0 amappl1 72 15971 0 15536 26 14 12 21 0 8 2 amappl 80 654 0 609 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 272 0 257 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 272 0 257 1 0 1 1 0 8 0 vmmpekpl 168 6101 0 6071 2 0 2 2 0 8 0 vmmpepl 168 41787 0 39706 140 6 134 134 0 357 34 vmsppl 368 271 0 257 2 0 2 2 0 8 0 pdppl 4096 551 0 514 6 0 6 6 0 8 0 pvpl 32 145911 0 124425 186 0 186 186 0 265 9 pmappl 232 271 0 257 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 173 0 3 5 0 5 5 0 8 0