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(bfffffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000a3f400) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000a00000) at in_ifdetach+0x74 sys/netinet/in.c:969 if_detach(ffff800000a00000) at if_detach+0x140 sys/net/if.c:1151 tun_clone_destroy(ffff800000a00000) at tun_clone_destroy+0x172 sys/net/if_tun.c:312 spec_close(ffff80001573c350) at spec_close+0x311 sys/kern/spec_vnops.c:555 VOP_CLOSE(fffffd80360c6dd0,7,fffffd803f7c69c0,ffff8000ffff33d8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:175 vn_closefile(fffffd80375cb960,ffff8000ffff33d8) at vn_closefile+0xd3 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80375cb960,ffff8000ffff33d8) at vn_closefile+0xd3 sys/kern/vfs_vnops.c:610 fdrop(fffffd80375cb960,ffff8000ffff33d8) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd80375cb960,ffff8000ffff33d8) at closef+0x118 sys/kern/kern_descrip.c:1257 fdfree(ffff8000ffff33d8) at fdfree+0x100 sys/kern/kern_descrip.c:1189 exit1(ffff8000ffff33d8,19,1) at exit1+0x32f sys/kern/kern_exit.c:196 postsig(ffff8000ffff33d8,19) at postsig+0x4a6 sigexit sys/kern/kern_sig.c:1499 [inline] postsig(ffff8000ffff33d8,19) at postsig+0x4a6 sys/kern/kern_sig.c:1431 userret(ffff8000ffff33d8) at userret+0x159 sys/kern/kern_sig.c:1889 syscall(ffff80001573c7d0) at syscall+0x42e mi_syscall_return sys/sys/syscall_mi.h:115 [inline] syscall(ffff80001573c7d0) at syscall+0x42e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc480, count: -16 ddb> show registers rdi 0x2 rsi 0 rbp 0xffff80001573c180 rbx 0 rdx 0x3 rcx 0x1 rax 0 r8 0xffff800000a3f400 r9 0x5 r10 0x4b2a8dace60f7210 r11 0x7d663cd89d4f40b3 r12 0 r13 0x3 r14 0xbfffffffffffffff r15 0x1 rip 0xffffffff8152520d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80001573c120 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb> show proc PROC (syz-executor.1) pid=295345 stat=onproc flags process=a proc=2000 pri=17, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3160,0xffff8000ffff3b50 process=0xffff8000ffff7b10 user=0xffff800015737000, vmspace=0xfffffd803f012330 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 41585 184335 54201 0 2 0 syz-executor.0 41585 205006 54201 0 2 0x4000000 syz-executor.0 54201 495514 92857 0 3 0x82 nanosleep syz-executor.0 21365 63439 0 0 3 0x14200 bored sosplice 75443 237785 0 0 3 0x14200 acct acct 92857 293784 17497 0 3 0x82 thrsleep syz-fuzzer 92857 218933 17497 0 3 0x4000082 nanosleep syz-fuzzer 92857 78912 17497 0 3 0x4000082 thrsleep syz-fuzzer 92857 127637 17497 0 3 0x4000082 thrsleep syz-fuzzer 92857 269007 17497 0 3 0x4000082 thrsleep syz-fuzzer 92857 441648 17497 0 3 0x4000082 thrsleep syz-fuzzer 92857 179793 17497 0 3 0x4000082 thrsleep syz-fuzzer 92857 248919 17497 0 2 0x4000082 syz-fuzzer 17497 346439 36906 0 3 0x10008a pause ksh 36906 246210 50566 0 3 0x92 select sshd 61091 368943 1 0 3 0x100083 ttyin getty 50566 284975 1 0 3 0x80 select sshd 66879 241140 72157 73 3 0x100090 kqread syslogd 72157 333246 1 0 3 0x100082 netio syslogd 50617 313039 1 77 2 0x100090 dhclient 85994 42343 1 0 3 0x80 poll dhclient 31971 385197 0 0 2 0x14200 zerothread 50306 263103 0 0 3 0x14200 aiodoned aiodoned 17783 470691 0 0 3 0x14200 syncer update 67151 468343 0 0 3 0x14200 cleaner cleaner 36933 244509 0 0 3 0x14200 reaper reaper 48958 108955 0 0 3 0x14200 pgdaemon pagedaemon 66145 366270 0 0 3 0x14200 bored crynlk 27544 238315 0 0 3 0x14200 bored crypto 13184 244773 0 0 3 0x40014200 acpi0 acpi0 43406 461260 0 0 2 0x14200 softnet 14320 319221 0 0 2 0x14200 systqmp 94252 194005 0 0 3 0x14200 bored systq 31045 402162 0 0 3 0x40014200 bored softclock 584 123185 0 0 3 0x40014200 idle0 48992 338305 0 0 3 0x14200 bored smr 1 495730 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 9517 6476K 7767K 78643K 14473 0 pcb 13 10K 12K 78643K 281 0 rtable 99 3K 4K 78643K 598 0 ifaddr 81 15K 16K 78643K 197 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 71 0 iov 0 0K 24K 78643K 166 0 mount 1 1K 1K 78643K 1 0 vnodes 1231 77K 77K 78643K 2252 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 7 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 97 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 681 0 sigio 0 0K 0K 78643K 17 0 proc 48 38K 63K 78643K 562 0 subproc 23 1K 2K 78643K 102 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 220 0 in_multi 63 3K 3K 78643K 190 0 ether_multi 1 0K 0K 78643K 5 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 60 265K 265K 78643K 60 0 exec 0 0K 1K 78643K 304 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 136 88K 88K 78643K 2613 0 UVM aobj 28 7K 7K 78643K 28 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 218 0 NDP 14 0K 0K 78643K 52 0 temp 137 3015K 3108K 78643K 30565 0 kqueue 0 0K 0K 78643K 18 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 19 0 14 1 0 1 1 0 8 0 rtpcb 80 67 0 65 1 0 1 1 0 8 0 rtentry 112 138 0 100 2 0 2 2 0 8 0 unpcb 120 328 0 317 1 0 1 1 0 8 0 syncache 264 8 0 8 3 3 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 77 0 77 2 2 0 1 0 8 0 tcpcb 544 561 0 557 15 6 9 14 0 8 8 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 4 0 4 1 1 0 1 0 8 0 inpcb 280 1615 0 1608 10 1 9 9 0 8 8 ip6q 72 1 0 0 1 0 1 1 0 8 0 nd6 48 22 0 20 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 ppxss 1128 10 0 10 5 4 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 658 0 462 16 1 15 15 0 8 0 art_table 32 659 0 462 2 0 2 2 0 8 0 art_node 16 137 0 98 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 8 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 95 0 85 1 0 1 1 0 8 0 shmpl 112 26 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2366 0 961 46 0 46 46 0 8 0 ffsino 240 2366 0 961 83 0 83 83 0 8 0 nchpl 144 3516 0 3066 60 40 20 60 0 8 1 uvmvnodes 72 3322 0 0 61 0 61 61 0 8 0 vnodes 208 3322 0 0 175 0 175 175 0 8 0 namei 1024 11111 0 11110 1 0 1 1 0 8 0 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 528 10 0 2 2 1 1 1 0 8 0 scxspl 192 10897 0 10897 12 9 3 7 0 8 3 plimitpl 152 75 0 68 1 0 1 1 0 8 0 sigapl 432 840 0 827 2 0 2 2 0 8 0 futexpl 56 19363 0 19363 1 0 1 1 0 8 1 knotepl 112 231 0 212 2 1 1 2 0 8 0 kqueuepl 104 357 0 355 4 0 4 4 0 8 3 pipepl 128 982 0 964 4 3 1 2 0 8 0 fdescpl 424 841 0 827 2 0 2 2 0 8 0 filepl 120 7671 0 7585 13 2 11 11 0 8 8 lockfpl 104 229 0 228 1 0 1 1 0 8 0 lockfspl 48 77 0 76 1 0 1 1 0 8 0 sessionpl 112 21 0 11 1 0 1 1 0 8 0 pgrppl 48 27 0 17 1 0 1 1 0 8 0 ucredpl 96 698 0 691 1 0 1 1 0 8 0 zombiepl 144 828 0 827 1 0 1 1 0 8 0 processpl 864 857 0 827 4 0 4 4 0 8 0 procpl 632 1694 0 1656 4 0 4 4 0 8 0 sosppl 128 14 0 14 2 2 0 1 0 8 0 sockpl 384 2033 0 2013 18 7 11 14 0 8 8 mcl64k 65536 59 0 59 1 0 1 1 0 8 1 mcl16k 16384 7 0 7 4 3 1 1 0 8 1 mcl12k 12288 20 0 20 2 1 1 1 0 8 1 mcl9k 9216 19 0 19 1 0 1 1 0 8 1 mcl8k 8192 33 0 33 1 0 1 1 0 8 1 mcl4k 4096 96 0 96 2 1 1 1 0 8 1 mcl2k2 2112 4 0 4 2 2 0 1 0 8 0 mcl2k 2048 70880 0 70834 18 11 7 14 0 8 0 mtagpl 80 34 0 32 2 1 1 1 0 8 0 mbufpl 256 117655 0 117472 21 6 15 15 0 8 0 bufpl 280 9447 0 3300 440 0 440 440 0 8 0 anonpl 16 118861 0 98693 105 22 83 98 0 62 1 amapchunkpl 152 4637 0 4485 17 10 7 16 0 158 0 amappl16 192 4983 0 3869 82 25 57 68 0 8 0 amappl15 184 66 0 62 1 0 1 1 0 8 0 amappl14 176 50 0 47 1 0 1 1 0 8 0 amappl13 168 57 0 57 1 1 0 1 0 8 0 amappl12 160 192 0 190 2 1 1 1 0 8 0 amappl11 152 61 0 50 1 0 1 1 0 8 0 amappl10 144 119 0 116 1 0 1 1 0 8 0 amappl9 136 722 0 718 1 0 1 1 0 8 0 amappl8 128 265 0 233 2 0 2 2 0 8 0 amappl7 120 219 0 208 1 0 1 1 0 8 0 amappl6 112 76 0 68 1 0 1 1 0 8 0 amappl5 104 351 0 340 1 0 1 1 0 8 0 amappl4 96 1067 0 1039 1 0 1 1 0 8 0 amappl3 88 142 0 134 1 0 1 1 0 8 0 amappl2 80 5692 0 5623 3 1 2 3 0 8 0 amappl1 72 25091 0 24658 26 16 10 20 0 8 0 amappl 80 1982 0 1933 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 27 0 0 1 0 1 1 0 8 0 uaddrrnd 24 851 0 829 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 851 0 829 1 0 1 1 0 8 0 vmmpekpl 168 10409 0 10378 2 0 2 2 0 8 0 vmmpepl 168 110341 0 108100 155 26 129 141 0 357 31 vmsppl 272 850 0 829 4 2 2 2 0 8 0 pdppl 4096 1708 0 1666 7 1 6 6 0 8 0 pvpl 32 345784 0 322506 254 31 223 254 0 265 35 pmappl 200 850 0 829 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 179 0 33 5 0 5 5 0 8 0