login: 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(7fffffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff8000009f4000) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff8000009e3800) at in_ifdetach+0x74 sys/netinet/in.c:969 if_detach(ffff8000009e3800) at if_detach+0x140 sys/net/if.c:1151 tun_clone_destroy(ffff8000009e3800) at tun_clone_destroy+0x172 sys/net/if_tun.c:312 spec_close(ffff8000163587f0) at spec_close+0x311 sys/kern/spec_vnops.c:555 VOP_CLOSE(fffffd80361bba90,7,fffffd803f7c6a80,ffff800014924ee8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:175 vn_closefile(fffffd802d76f100,ffff800014924ee8) at vn_closefile+0xd3 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd802d76f100,ffff800014924ee8) at vn_closefile+0xd3 sys/kern/vfs_vnops.c:610 fdrop(fffffd802d76f100,ffff800014924ee8) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd802d76f100,ffff800014924ee8) at closef+0x118 sys/kern/kern_descrip.c:1257 fdfree(ffff800014924ee8) at fdfree+0x100 sys/kern/kern_descrip.c:1189 exit1(ffff800014924ee8,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff800014924ee8,ffff800016358a80,ffff800016358ad0) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800016358b50) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcb420, count: -15 ddb> show registers rdi 0x2 rsi 0 rbp 0xffff800016358620 rbx 0 rdx 0x3 rcx 0x1 rax 0 r8 0xffff8000009f4000 r9 0x5 r10 0x6d6ed47594894919 r11 0x358c8eabf4726c72 r12 0 r13 0x3 r14 0x7fffffffffffffff r15 0x1 rip 0xffffffff8152520d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000163585c0 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb> show proc PROC (syz-executor.0) pid=103425 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000149253d8,0xffffffff825654b8 process=0xffff8000ffff6d90 user=0xffff800016353000, vmspace=0xfffffd803f012440 estcpu=36, cpticks=7, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 41067 410732 0 0 3 0x14200 bored sosplice 66350 174675 9297 0 3 0x82 nanosleep syz-executor.1 9297 458400 36999 0 3 0x82 thrsleep syz-fuzzer 9297 462003 36999 0 3 0x4000082 thrsleep syz-fuzzer 9297 384811 36999 0 2 0x4000082 syz-fuzzer 9297 463679 36999 0 3 0x4000082 thrsleep syz-fuzzer 9297 128776 36999 0 3 0x4000082 thrsleep syz-fuzzer 9297 44127 36999 0 3 0x4000082 thrsleep syz-fuzzer 9297 510419 36999 0 3 0x4000082 thrsleep syz-fuzzer 36999 259073 87168 0 3 0x10008a pause ksh 87168 429882 99667 0 3 0x92 select sshd 74778 455040 1 0 3 0x100083 ttyin getty 99667 377340 1 0 3 0x80 select sshd 94811 327896 93382 73 3 0x100090 kqread syslogd 93382 16954 1 0 3 0x100082 netio syslogd 50006 190666 1 77 2 0x100090 dhclient 68140 318807 1 0 3 0x80 poll dhclient 50266 310002 0 0 2 0x14200 zerothread 75891 297303 0 0 3 0x14200 aiodoned aiodoned 91412 524267 0 0 3 0x14200 syncer update 59846 363740 0 0 3 0x14200 cleaner cleaner 40591 237170 0 0 3 0x14200 reaper reaper 56106 251347 0 0 3 0x14200 pgdaemon pagedaemon 63893 36778 0 0 3 0x14200 bored crynlk 69906 384622 0 0 3 0x14200 bored crypto 36600 463479 0 0 3 0x40014200 acpi0 acpi0 7015 341133 0 0 2 0x14200 softnet 80743 211861 0 0 2 0x14200 systqmp 3792 274360 0 0 3 0x14200 bored systq 48518 35530 0 0 3 0x40014200 bored softclock 15538 358171 0 0 3 0x40014200 idle0 14173 81496 0 0 3 0x14200 bored smr 1 16916 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 9490 6340K 6713K 78643K 10713 0 pcb 13 8K 8K 78643K 29 0 rtable 93 2K 3K 78643K 219 0 ifaddr 64 12K 13K 78643K 74 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 25 0 iov 0 0K 32K 78643K 35 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 76K 78643K 1255 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 1K 1K 78643K 24 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 4 9K 25K 78643K 87 0 proc 48 38K 55K 78643K 378 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 4 0 in_multi 35 2K 2K 78643K 46 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 36 159K 159K 78643K 36 0 exec 0 0K 1K 78643K 185 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 108 21K 22K 78643K 1074 0 UVM aobj 4 2K 2K 78643K 4 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 12 0 NDP 12 0K 0K 78643K 17 0 temp 101 3011K 3077K 78643K 11372 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 80 21 0 19 1 0 1 1 0 8 0 rtentry 112 49 0 11 2 0 2 2 0 8 0 unpcb 120 45 0 37 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 56 0 56 1 1 0 1 0 8 0 tcpcb 544 26 0 20 1 0 1 1 0 8 0 ipq 40 19 0 19 2 1 1 1 0 8 1 ipqe 40 38 0 38 2 1 1 1 0 8 1 inpcb 280 150 0 143 3 1 2 2 0 8 1 ip6q 72 2 0 2 1 0 1 1 0 8 1 ip6af 40 6 0 6 1 0 1 1 0 8 1 nd6 48 5 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 237 0 39 14 0 14 14 0 8 0 art_table 32 238 0 39 2 0 2 2 0 8 0 art_node 16 48 0 9 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 22 0 12 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1511 0 111 46 0 46 46 0 8 0 ffsino 240 1511 0 111 83 0 83 83 0 8 0 nchpl 144 1836 0 223 60 0 60 60 0 8 0 uvmvnodes 72 1578 0 0 29 0 29 29 0 8 0 vnodes 208 1578 0 0 84 0 84 84 0 8 0 namei 1024 4617 0 4617 1 0 1 1 0 8 1 scxspl 192 4986 0 4986 8 1 7 7 0 8 7 plimitpl 152 18 0 11 1 0 1 1 0 8 0 sigapl 432 258 0 246 2 0 2 2 0 8 0 futexpl 56 1890 0 1890 1 0 1 1 0 8 1 knotepl 112 58 0 39 1 0 1 1 0 8 0 kqueuepl 104 16 0 14 1 0 1 1 0 8 0 pipepl 128 154 0 138 1 0 1 1 0 8 0 fdescpl 424 259 0 246 2 0 2 2 0 8 0 filepl 120 1534 0 1451 4 0 4 4 0 8 1 lockfpl 104 27 0 26 1 0 1 1 0 8 0 lockfspl 48 8 0 7 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 76 0 68 1 0 1 1 0 8 0 zombiepl 144 247 0 244 1 0 1 1 0 8 0 processpl 864 274 0 244 4 0 4 4 0 8 0 procpl 632 355 0 319 4 0 4 4 0 8 0 sosppl 128 3 0 3 1 0 1 1 0 8 1 sockpl 384 216 0 199 3 0 3 3 0 8 1 mcl64k 65536 268 0 268 33 7 26 33 0 8 26 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 3 0 3 2 1 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 14 0 14 2 1 1 1 0 8 1 mcl2k 2048 70034 0 69984 19 7 12 15 0 8 5 mtagpl 80 4 0 2 2 1 1 1 0 8 0 mbufpl 256 111832 0 111746 24 6 18 22 0 8 8 bufpl 280 6300 0 1417 349 0 349 349 0 8 0 anonpl 16 48178 0 28929 93 1 92 92 0 62 14 amapchunkpl 152 1256 0 1095 8 1 7 8 0 158 0 amappl16 192 1600 0 553 63 3 60 63 0 8 7 amappl15 184 52 0 47 1 0 1 1 0 8 0 amappl14 176 52 0 50 1 0 1 1 0 8 0 amappl13 168 2 0 1 1 0 1 1 0 8 0 amappl12 160 7 0 7 1 1 0 1 0 8 0 amappl11 152 46 0 35 1 0 1 1 0 8 0 amappl10 144 11 0 9 1 0 1 1 0 8 0 amappl9 136 562 0 559 1 0 1 1 0 8 0 amappl8 128 113 0 90 1 0 1 1 0 8 0 amappl7 120 92 0 80 1 0 1 1 0 8 0 amappl6 112 66 0 57 1 0 1 1 0 8 0 amappl5 104 139 0 129 1 0 1 1 0 8 0 amappl4 96 443 0 415 1 0 1 1 0 8 0 amappl3 88 172 0 163 1 0 1 1 0 8 0 amappl2 80 1292 0 1225 3 1 2 3 0 8 0 amappl1 72 14408 0 13979 26 12 14 20 0 8 4 amappl 80 603 0 556 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 259 0 246 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 259 0 246 1 0 1 1 0 8 0 vmmpekpl 168 5914 0 5890 2 0 2 2 0 8 0 vmmpepl 168 39671 0 37588 135 9 126 128 0 357 32 vmsppl 272 258 0 246 2 1 1 2 0 8 0 pdppl 4096 524 0 492 6 1 5 6 0 8 0 pvpl 32 145080 0 122929 212 0 212 212 0 265 32 pmappl 200 258 0 246 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 194 0 26 6 0 6 6 0 8 0