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(bfffefffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b5db00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000af7000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000af7000) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000af7000) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff800021efd480) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e5b6008,7,fffffd807f7bfa20,ffff800021f72ef8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8067dcfef0,ffff800021f72ef8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8067dcfef0,ffff800021f72ef8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8067dcfef0,ffff800021f72ef8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8067dcfef0,ffff800021f72ef8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800021f72ef8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800021f72ef8,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800021f72ef8,ffff800021efd710,ffff800021efd760) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800021efd7e0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021efd7e0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff3a70, count: -16 ddb{0}> show registers rdi 0x2 rsi 0 rbp 0xffff800021efd250 rbx 0 rdx 0 rcx 0 rax 0xffff800021f72ef8 r8 0xffff800000b5db00 r9 0xffffffff81e56833 rt_ifa_purge+0x153 r10 0x5 r11 0xb3971823d3867ff1 r12 0 r13 0x3 r14 0xbfffefffffffffff r15 0x1 rip 0xffffffff823bf7bd in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021efd1f0 ss 0 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{0}> show proc PROC (syz-executor.1) pid=491567 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800021f73660,0xffffffff828cde18 process=0xffff800021f587e0 user=0xffff800021ef8000, vmspace=0xfffffd807effe000 estcpu=36, cpticks=4, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 91470 127614 0 0 3 0x14280 nfsidl nfsio 95905 178950 0 0 3 0x14280 nfsidl nfsio 95711 468593 0 0 3 0x14280 nfsidl nfsio 27606 202686 0 0 3 0x14280 nfsidl nfsio 21906 374955 0 0 3 0x14280 nfsidl nfsio 70052 60503 0 0 3 0x14280 nfsidl nfsio 33241 94741 0 0 3 0x14280 nfsidl nfsio 95505 522997 0 0 3 0x14280 nfsidl nfsio 44616 368453 0 0 3 0x14280 nfsidl nfsio 86172 172873 0 0 3 0x14280 nfsidl nfsio 3244 333318 0 0 3 0x14280 nfsidl nfsio 73542 124769 0 0 3 0x14280 nfsidl nfsio 23935 479289 0 0 3 0x14280 nfsidl nfsio 68938 216752 0 0 3 0x14280 nfsidl nfsio 66873 186363 0 0 3 0x14280 nfsidl nfsio 8761 468320 0 0 3 0x14280 nfsidl nfsio 32935 289049 0 0 3 0x14280 nfsidl nfsio 55710 48459 0 0 3 0x14280 nfsidl nfsio 46351 473049 0 0 3 0x14280 nfsidl nfsio 13097 429139 0 0 3 0x14280 nfsidl nfsio 80033 459959 0 0 3 0x14200 bored sosplice 15155 476593 51238 0 2 0x2 syz-executor.0 51238 461196 60514 0 3 0x82 thrsleep syz-fuzzer 51238 273178 60514 0 7 0x4000002 syz-fuzzer 51238 322593 60514 0 2 0x4000002 syz-fuzzer 51238 379591 60514 0 3 0x4000082 thrsleep syz-fuzzer 51238 398942 60514 0 2 0x4000002 syz-fuzzer 51238 208416 60514 0 3 0x4000082 thrsleep syz-fuzzer 51238 394388 60514 0 3 0x4000082 thrsleep syz-fuzzer 51238 148705 60514 0 2 0x4000002 syz-fuzzer 60514 204398 70083 0 3 0x10008a pause ksh 70083 74255 40743 0 3 0x92 select sshd 21575 55361 1 0 3 0x100083 ttyin getty 40743 44204 1 0 3 0x80 select sshd 23428 405098 1828 74 3 0x100092 bpf pflogd 1828 473772 1 0 3 0x80 netio pflogd 9896 507692 98968 73 3 0x100090 kqread syslogd 98968 464045 1 0 3 0x100082 netio syslogd 44133 251679 1 77 2 0x100090 dhclient 57800 280115 1 0 3 0x80 poll dhclient 19935 8276 0 0 3 0x14200 bored smr 65464 424136 0 0 2 0x14200 zerothread 86395 282621 0 0 3 0x14200 aiodoned aiodoned 20769 251003 0 0 3 0x14200 syncer update 61066 467817 0 0 3 0x14200 cleaner cleaner 31301 201879 0 0 3 0x14200 reaper reaper 13131 19134 0 0 3 0x14200 pgdaemon pagedaemon 10183 177873 0 0 3 0x14200 bored crynlk 18473 329409 0 0 3 0x14200 bored crypto 43722 167232 0 0 3 0x40014200 acpi0 acpi0 19961 407922 0 0 3 0x40014200 idle1 11610 142298 0 0 3 0x14200 bored softnet 50450 91663 0 0 2 0x14200 systqmp 83052 331187 0 0 3 0x14200 bored systq 4984 313186 0 0 3 0x40014200 bored softclock 73145 448650 0 0 3 0x40014200 idle0 1 386647 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 9508 6419K 6807K 78643K 11094 0 pcb 13 8K 8K 78643K 57 0 rtable 70 2K 4K 78643K 334 0 ifaddr 67 13K 14K 78643K 111 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 57 0 ioctlops 0 0K 4K 78643K 1535 0 iov 0 0K 16K 78643K 46 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1381 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 15 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 86 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 410 0 proc 62 63K 95K 78643K 462 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 137 0 in_multi 48 2K 2K 78643K 76 0 ether_multi 1 0K 0K 78643K 3 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 227 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 179 29K 45K 78643K 2312 0 UVM aobj 28 2K 2K 78643K 31 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 26 0 NDP 11 0K 0K 78643K 23 0 temp 112 3870K 3934K 78643K 20178 0 kqueue 3 4K 8K 78643K 12 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 10 0 5 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 29 0 27 1 0 1 1 0 8 0 rtentry 112 63 0 37 2 0 2 2 0 8 0 unpcb 120 210 0 200 1 0 1 1 0 8 0 syncache 272 6 0 6 2 2 0 1 0 8 0 tcpqe 32 162 0 162 1 1 0 1 0 8 0 tcpcb 592 218 0 214 5 3 2 2 0 8 1 inpcb 296 497 0 490 5 3 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 9 0 4 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 2 0 2 1 1 0 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 6 0 6 1 1 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 41 0 25 1 0 1 1 0 8 0 pfstkey 112 41 0 25 1 0 1 1 0 8 0 pfstate 328 41 0 25 3 0 3 3 0 8 0 pfrule 1360 28 0 21 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 289 0 123 13 1 12 13 0 8 1 art_table 32 290 0 123 2 0 2 2 0 8 0 art_node 16 62 0 39 1 0 1 1 0 8 0 sysvmsgpl 40 48 0 16 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 84 0 74 1 0 1 1 0 8 0 shmpl 112 28 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1917 0 518 88 0 88 88 0 8 0 ffsino 272 1917 0 518 94 0 94 94 0 8 0 nchpl 144 2759 0 1172 60 0 60 60 0 8 0 uvmvnodes 72 2072 0 0 38 0 38 38 0 8 0 vnodes 208 2072 0 0 110 0 110 110 0 8 0 namei 1024 8162 0 8162 4 3 1 1 0 8 1 percpumem 16 39 0 7 1 0 1 1 0 8 0 vmpool 560 2 0 2 1 1 0 1 0 8 0 pfiaddrpl 120 2 0 2 1 1 0 1 0 8 0 scxspl 200 8575 0 8575 16 15 1 7 0 8 1 plimitpl 152 38 0 29 1 0 1 1 0 8 0 sigapl 424 646 0 595 6 0 6 6 0 8 0 futexpl 56 5401 0 5401 4 3 1 1 0 8 1 knotepl 112 80 0 66 1 0 1 1 0 8 0 kqueuepl 152 39 0 37 1 0 1 1 0 8 0 pipepl 304 114 0 106 5 3 2 2 0 8 1 fdescpl 496 610 0 595 3 0 3 3 0 8 0 filepl 152 3878 0 3791 7 2 5 5 0 8 1 lockfpl 104 129 0 128 1 0 1 1 0 8 0 lockfspl 48 39 0 38 1 0 1 1 0 8 0 sessionpl 120 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 961 0 952 1 0 1 1 0 8 0 zombiepl 144 596 0 594 2 1 1 1 0 8 0 processpl 1008 646 0 594 7 0 7 7 0 8 0 procpl 632 1472 0 1413 6 0 6 6 0 8 0 sosppl 144 4 0 4 1 1 0 1 0 8 0 sockpl 400 738 0 719 5 2 3 3 0 8 1 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 284 0 0 35 0 35 35 0 8 0 mtagpl 96 28 0 0 1 0 1 1 0 8 0 mbufpl 256 291 0 0 18 0 18 18 0 8 0 bufpl 280 4580 0 127 319 0 319 319 0 8 0 anonpl 16 81118 0 62597 99 15 84 84 0 124 8 amapchunkpl 152 4666 0 4337 45 27 18 27 0 158 4 amappl16 192 2647 0 1819 54 12 42 47 0 8 0 amappl15 184 2 0 2 2 2 0 1 0 8 0 amappl14 176 4 0 2 1 0 1 1 0 8 0 amappl13 168 211 0 207 1 0 1 1 0 8 0 amappl12 160 213 0 209 1 0 1 1 0 8 0 amappl11 152 250 0 233 1 0 1 1 0 8 0 amappl10 144 18 0 14 1 0 1 1 0 8 0 amappl9 136 367 0 366 1 0 1 1 0 8 0 amappl8 128 405 0 338 3 0 3 3 0 8 0 amappl7 120 115 0 103 1 0 1 1 0 8 0 amappl6 112 225 0 217 1 0 1 1 0 8 0 amappl5 104 504 0 487 1 0 1 1 0 8 0 amappl4 96 497 0 466 1 0 1 1 0 8 0 amappl3 88 130 0 122 1 0 1 1 0 8 0 amappl2 80 4070 0 3999 2 0 2 2 0 8 0 amappl1 72 27024 0 26585 23 13 10 18 0 8 0 amappl 80 1766 0 1678 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 30 0 3 1 0 1 1 0 8 0 uaddrrnd 24 612 0 597 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 612 0 597 1 0 1 1 0 8 0 vmmpekpl 168 8188 0 8148 3 0 3 3 0 8 0 vmmpepl 168 84508 0 82498 137 39 98 111 0 357 4 vmsppl 368 611 0 597 2 0 2 2 0 8 0 pdppl 4096 1231 0 1194 7 1 6 6 0 8 1 pvpl 32 244303 0 222546 226 27 199 199 0 265 21 pmappl 232 611 0 597 3 2 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 280 0 12 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace in_delmulti(bfffefffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b5db00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000af7000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000af7000) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000af7000) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff800021efd480) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e5b6008,7,fffffd807f7bfa20,ffff800021f72ef8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8067dcfef0,ffff800021f72ef8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8067dcfef0,ffff800021f72ef8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8067dcfef0,ffff800021f72ef8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8067dcfef0,ffff800021f72ef8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800021f72ef8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800021f72ef8,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800021f72ef8,ffff800021efd710,ffff800021efd760) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800021efd7e0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021efd7e0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff3a70, count: -16 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d70ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82933140) at __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82933140) at __mp_lock+0x120 sys/kern/kern_lock.c:147 syscall(ffff800020e7c3b0) at syscall+0x400 mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800020e7c3b0) at syscall+0x400 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc00004df20, count: -6