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(bfffffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b0aa00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000b0c000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000b0c000) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000b0c000) 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(ffff800020ed4a20) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e3060d8,7,fffffd807f7bfae0,ffff800020e97b40) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8076bbe558,ffff800020e97b40) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8076bbe558,ffff800020e97b40) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8076bbe558,ffff800020e97b40) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8076bbe558,ffff800020e97b40) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e97b40) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e97b40,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020e97b40,ffff800020ed4cb0,ffff800020ed4d00) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800020ed4d80) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ed4d80) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc020, count: -16 ddb{0}> show registers rdi 0x2 rsi 0 rbp 0xffff800020ed47f0 rbx 0 rdx 0 rcx 0 rax 0xffff800020e97b40 r8 0xffff800000b0aa00 r9 0xffffffff81e56833 rt_ifa_purge+0x153 r10 0x5 r11 0xf9eb88c9ae410043 r12 0 r13 0x3 r14 0xbfffffffffffffff r15 0x1 rip 0xffffffff823bf7bd in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020ed4790 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{0}> show proc PROC (syz-executor.1) pid=180982 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020e978c8,0xffffffff828cde18 process=0xffff800020eaa7e8 user=0xffff800020ecf000, vmspace=0xfffffd807effe000 estcpu=36, cpticks=8, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 30542 175579 1 0 3 0x100083 ttyin getty 8345 69331 0 0 3 0x14200 bored sosplice 74740 329300 35516 0 3 0x82 piperd syz-executor.0 35516 434675 15945 0 2 0x2 syz-fuzzer 35516 189070 15945 0 2 0x4000002 syz-fuzzer 35516 329759 15945 0 3 0x4000082 kqread syz-fuzzer 35516 422690 15945 0 7 0x4000002 syz-fuzzer 35516 205203 15945 0 3 0x4000082 thrsleep syz-fuzzer 35516 450654 15945 0 3 0x4000082 thrsleep syz-fuzzer 35516 160990 15945 0 3 0x4000082 thrsleep syz-fuzzer 35516 502648 15945 0 3 0x4000082 thrsleep syz-fuzzer 15945 168634 2626 0 3 0x10008a pause ksh 2626 453567 95504 0 3 0x92 select sshd 95504 56458 1 0 3 0x80 select sshd 25071 177638 31381 74 3 0x100092 bpf pflogd 31381 329186 1 0 3 0x80 netio pflogd 24770 303633 8664 73 3 0x100090 kqread syslogd 8664 6061 1 0 3 0x100082 netio syslogd 61119 214823 1 77 2 0x100090 dhclient 80558 513665 1 0 3 0x80 poll dhclient 45867 264519 0 0 3 0x14200 bored smr 41951 349526 0 0 3 0x14200 pgzero zerothread 46470 168594 0 0 3 0x14200 aiodoned aiodoned 56155 185685 0 0 3 0x14200 syncer update 37892 158078 0 0 3 0x14200 cleaner cleaner 87453 440372 0 0 3 0x14200 reaper reaper 78492 273704 0 0 3 0x14200 pgdaemon pagedaemon 42652 303182 0 0 3 0x14200 bored crynlk 80779 192440 0 0 3 0x14200 bored crypto 43670 476108 0 0 3 0x40014200 acpi0 acpi0 8129 456391 0 0 3 0x40014200 idle1 11417 87172 0 0 3 0x14200 bored softnet 31895 253557 0 0 2 0x14200 systqmp 11646 85531 0 0 3 0x14200 bored systq 11713 133265 0 0 3 0x40014200 bored softclock 23971 90320 0 0 3 0x40014200 idle0 1 509008 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 9506 6411K 6793K 78643K 11425 0 pcb 13 8K 8K 78643K 85 0 rtable 88 5K 7K 78643K 549 0 ifaddr 77 16K 16K 78643K 189 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 69 0 ioctlops 0 0K 4K 78643K 1587 0 iov 0 0K 16K 78643K 42 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1544 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 19 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 180 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 753 0 sigio 0 0K 0K 78643K 32 0 proc 62 63K 95K 78643K 602 0 subproc 23 1K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 65 0 in_multi 69 3K 3K 78643K 160 0 ether_multi 1 0K 0K 78643K 10 0 mrt 0 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 281 0 pfkey data 0 0K 1K 78643K 2 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 184 92K 93K 78643K 3422 0 UVM aobj 52 6K 7K 78643K 54 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 55 0 NDP 11 0K 0K 78643K 38 0 temp 129 3872K 3936K 78643K 5759 0 kqueue 3 4K 14K 78643K 72 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 13 0 6 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 69 0 67 1 0 1 1 0 8 0 rtentry 112 103 0 74 2 0 2 2 0 8 0 unpcb 120 469 0 459 1 0 1 1 0 8 0 syncache 272 7 0 7 3 2 1 1 0 8 1 tcpqe 32 301 0 301 3 2 1 2 0 8 1 tcpcb 592 200 0 195 3 2 1 2 0 8 0 inpcb 296 676 0 669 4 3 1 2 0 8 0 nd6 48 23 0 19 1 0 1 1 0 8 0 pkpcb 40 8 0 8 4 4 0 1 0 8 0 ppxss 1136 3 0 3 3 3 0 1 0 8 0 pfstscr 40 12 0 12 1 1 0 1 0 8 0 pffrag 232 11 0 10 1 0 1 1 0 482 0 pffrnode 88 11 0 10 1 0 1 1 0 8 0 pffrent 40 111 0 110 1 0 1 1 0 8 0 pfosfp 40 847 0 423 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfrktable 1344 37 0 35 2 1 1 1 0 8 0 pfpktdelay 64 15 0 15 3 3 0 1 0 8 0 pftag 88 5 0 4 2 1 1 1 0 8 0 pfstitem 24 31 0 27 1 0 1 1 0 8 0 pfstkey 112 39 0 35 1 0 1 1 0 8 0 pfstate 328 32 0 28 3 1 2 3 0 8 0 pfrule 1360 37 0 26 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 392 0 276 13 3 10 12 0 8 0 art_table 32 394 0 276 2 0 2 2 0 8 0 art_node 16 89 0 64 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 9 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 176 0 166 1 0 1 1 0 8 0 shmpl 112 51 0 2 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2325 0 929 89 1 88 89 0 8 0 ffsino 272 2325 0 929 94 0 94 94 0 8 0 nchpl 144 3944 0 2368 60 0 60 60 0 8 0 uvmvnodes 72 2603 0 0 48 0 48 48 0 8 0 vnodes 208 2603 0 0 137 0 137 137 0 8 0 namei 1024 10919 0 10919 3 2 1 1 0 8 1 percpumem 16 45 0 13 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 13 0 11 2 1 1 1 0 8 0 scxspl 200 10396 0 10396 13 12 1 7 0 8 1 plimitpl 152 85 0 77 1 0 1 1 0 8 0 sigapl 424 965 0 934 4 0 4 4 0 8 0 futexpl 56 11414 0 11414 3 2 1 1 0 8 1 knotepl 112 175 0 161 1 0 1 1 0 8 0 kqueuepl 152 1051 0 1045 1 0 1 1 0 8 0 pipepl 304 155 0 147 4 2 2 2 0 8 1 fdescpl 496 949 0 934 3 0 3 3 0 8 0 filepl 152 6635 0 6548 6 1 5 6 0 8 0 lockfpl 104 171 0 170 1 0 1 1 0 8 0 lockfspl 48 51 0 50 1 0 1 1 0 8 0 sessionpl 120 22 0 11 1 0 1 1 0 8 0 pgrppl 48 32 0 21 1 0 1 1 0 8 0 ucredpl 96 551 0 542 1 0 1 1 0 8 0 zombiepl 144 935 0 934 2 1 1 1 0 8 0 processpl 1008 965 0 934 5 0 5 5 0 8 0 procpl 632 2479 0 2441 4 0 4 4 0 8 0 sosppl 144 6 0 6 4 4 0 1 0 8 0 sockpl 400 1224 0 1205 9 6 3 6 0 8 1 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 11 0 0 2 0 2 2 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 333 0 0 41 0 41 41 0 8 0 mtagpl 96 46 0 0 2 0 2 2 0 8 0 mbufpl 256 400 0 0 21 0 21 21 0 8 0 bufpl 280 4554 0 130 316 0 316 316 0 8 0 anonpl 16 115576 0 96930 95 20 75 89 0 124 0 amapchunkpl 152 5567 0 5250 17 3 14 17 0 158 0 amappl16 192 4384 0 3528 63 20 43 54 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 122 0 120 1 0 1 1 0 8 0 amappl13 168 86 0 83 1 0 1 1 0 8 0 amappl12 160 84 0 82 1 0 1 1 0 8 0 amappl11 152 709 0 692 1 0 1 1 0 8 0 amappl10 144 20 0 17 1 0 1 1 0 8 0 amappl9 136 374 0 372 1 0 1 1 0 8 0 amappl8 128 398 0 356 2 0 2 2 0 8 0 amappl7 120 131 0 117 1 0 1 1 0 8 0 amappl6 112 673 0 665 1 0 1 1 0 8 0 amappl5 104 673 0 656 1 0 1 1 0 8 0 amappl4 96 693 0 664 1 0 1 1 0 8 0 amappl3 88 188 0 178 1 0 1 1 0 8 0 amappl2 80 6519 0 6448 2 0 2 2 0 8 0 amappl1 72 37836 0 37369 23 13 10 18 0 8 0 amappl 80 2821 0 2733 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 53 0 2 1 0 1 1 0 8 0 uaddrrnd 24 953 0 934 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 953 0 934 1 0 1 1 0 8 0 vmmpekpl 168 9385 0 9348 3 0 3 3 0 8 0 vmmpepl 168 130376 0 128341 134 40 94 127 0 357 1 vmsppl 368 952 0 934 2 0 2 2 0 8 0 pdppl 4096 1913 0 1872 6 0 6 6 0 8 0 pvpl 32 351377 0 329531 230 50 180 211 0 265 3 pmappl 232 952 0 934 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 295 0 17 9 1 8 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace in_delmulti(bfffffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b0aa00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000b0c000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000b0c000) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000b0c000) 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(ffff800020ed4a20) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e3060d8,7,fffffd807f7bfae0,ffff800020e97b40) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8076bbe558,ffff800020e97b40) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8076bbe558,ffff800020e97b40) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8076bbe558,ffff800020e97b40) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8076bbe558,ffff800020e97b40) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e97b40) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e97b40,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020e97b40,ffff800020ed4cb0,ffff800020ed4d00) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800020ed4d80) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ed4d80) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc020, 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 end of kernel end trace frame: 0xc000047f20, count: -3