kernel: protection fault trap, code=0 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace in_delmulti(fffdfefffdffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b4e400) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000af4000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000af4000) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000af4000) 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(ffff800021f0a0c0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e7fb4e8,7,fffffd807f7bf900,ffff800020e8f160) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8072b77d30,ffff800020e8f160) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8072b77d30,ffff800020e8f160) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8072b77d30,ffff800020e8f160) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8072b77d30,ffff800020e8f160) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e8f160) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e8f160,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020e8f160,ffff800021f0a350,ffff800021f0a3a0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800021f0a420) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f0a420) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffda2b0, count: -16 ddb{1}> show registers rdi 0x2 rsi 0 rbp 0xffff800021f09e90 rbx 0 rdx 0 rcx 0 rax 0xffff800020e8f160 r8 0xffff800000b4e400 r9 0xffffffff81e56833 rt_ifa_purge+0x153 r10 0x5 r11 0xe93f37645172a31d r12 0 r13 0x3 r14 0xfffdfefffdffffff r15 0x1 rip 0xffffffff823bf7bd in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021f09e30 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> show proc PROC (syz-executor.1) pid=363194 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff800020e8ec70,0xffff800020e8eef8 process=0xffff800020eb2bd8 user=0xffff800021f05000, vmspace=0xfffffd807effe5c0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 70948 57246 6204 0 3 0x80 nanosleep syz-executor.0 70948 98659 6204 0 3 0x4000080 bell syz-executor.0 70948 74829 6204 0 3 0x4000080 fsleep syz-executor.0 6204 328858 92674 0 3 0x82 nanosleep syz-executor.0 92674 298871 76638 0 3 0x82 thrsleep syz-fuzzer 92674 127568 76638 0 3 0x4000082 nanosleep syz-fuzzer 92674 438655 76638 0 3 0x4000082 thrsleep syz-fuzzer 92674 391893 76638 0 7 0x4000482 syz-fuzzer 92674 2028 76638 0 3 0x4000082 thrsleep syz-fuzzer 92674 7221 76638 0 3 0x4000082 thrsleep syz-fuzzer 92674 316491 76638 0 3 0x4000082 thrsleep syz-fuzzer 92674 127823 76638 0 3 0x4000082 thrsleep syz-fuzzer 76638 278220 5357 0 3 0x10008a pause ksh 5357 78804 41275 0 3 0x92 select sshd 11236 196532 1 0 3 0x100083 ttyin getty 41275 319115 1 0 3 0x80 select sshd 7344 161293 85562 74 3 0x100092 bpf pflogd 85562 77241 1 0 3 0x80 netio pflogd 96789 88969 98048 73 3 0x100090 kqread syslogd 98048 34180 1 0 3 0x100082 netio syslogd 58794 325427 1 77 3 0x100090 poll dhclient 67651 369829 1 0 3 0x80 poll dhclient 64722 256812 0 0 3 0x14200 bored smr 71862 184423 0 0 3 0x14200 pgzero zerothread 15682 126695 0 0 3 0x14200 aiodoned aiodoned 41036 122990 0 0 3 0x14200 syncer update 48276 417481 0 0 3 0x14200 cleaner cleaner 46590 22294 0 0 3 0x14200 reaper reaper 28184 393219 0 0 3 0x14200 pgdaemon pagedaemon 37857 140102 0 0 3 0x14200 bored crynlk 75162 151413 0 0 3 0x14200 bored crypto 75766 346122 0 0 3 0x40014200 acpi0 acpi0 97993 276211 0 0 3 0x40014200 idle1 3810 35973 0 0 3 0x14200 bored softnet 18941 416536 0 0 3 0x14200 bored systqmp 74247 174721 0 0 3 0x14200 bored systq 74596 485758 0 0 3 0x40014200 bored softclock 99524 408989 0 0 3 0x40014200 idle0 1 361409 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9494 6414K 6863K 78643K 10888 0 pcb 13 8K 8K 78643K 51 0 rtable 101 4K 4K 78643K 340 0 ifaddr 66 14K 14K 78643K 89 0 counters 43 33K 34K 78643K 47 0 ioctlops 0 0K 4K 78643K 1502 0 iov 0 0K 16K 78643K 22 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1321 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 24 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 270 0 proc 62 63K 95K 78643K 480 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 80 0 in_multi 59 3K 3K 78643K 113 0 ether_multi 1 0K 0K 78643K 6 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 230 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 181 43K 43K 78643K 1837 0 UVM aobj 18 2K 2K 78643K 20 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 37 0 NDP 9 0K 0K 78643K 20 0 temp 109 3871K 3935K 78643K 3441 0 kqueue 3 4K 8K 78643K 7 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 10 0 3 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 80 0 41 2 0 2 2 0 8 0 unpcb 120 99 0 89 1 0 1 1 0 8 0 syncache 272 4 0 4 1 1 0 1 0 8 0 tcpqe 32 169 0 169 2 2 0 2 0 8 0 tcpcb 592 200 0 194 3 0 3 3 0 8 2 inpcb 296 474 0 466 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 19 0 10 1 0 1 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 7 0 6 1 0 1 1 0 8 0 pfstitem 24 15 0 2 1 0 1 1 0 8 0 pfstkey 112 15 0 2 1 0 1 1 0 8 0 pfstate 328 15 0 2 2 0 2 2 0 8 0 pfrule 1360 27 0 20 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 362 0 143 16 0 16 16 0 8 0 art_table 32 363 0 143 2 0 2 2 0 8 0 art_node 16 79 0 47 1 0 1 1 0 8 0 sysvmsgpl 40 52 0 12 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 17 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1739 0 338 88 0 88 88 0 8 0 ffsino 272 1739 0 338 94 0 94 94 0 8 0 nchpl 144 2364 0 775 60 0 60 60 0 8 0 uvmvnodes 72 1850 0 0 34 0 34 34 0 8 0 vnodes 208 1850 0 0 98 0 98 98 0 8 0 namei 1024 6280 0 6280 1 0 1 1 0 8 1 percpumem 16 34 0 2 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 1 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 2 1 1 0 1 0 8 0 scxspl 200 6699 0 6699 7 5 2 6 0 8 2 plimitpl 152 25 0 17 1 0 1 1 0 8 0 sigapl 424 485 0 454 4 0 4 4 0 8 0 futexpl 56 3353 0 3352 1 0 1 1 0 8 0 knotepl 112 66 0 52 1 0 1 1 0 8 0 kqueuepl 152 27 0 25 1 0 1 1 0 8 0 pipepl 304 106 0 98 2 0 2 2 0 8 1 fdescpl 496 470 0 454 3 0 3 3 0 8 0 filepl 152 2599 0 2510 5 0 5 5 0 8 0 lockfpl 104 45 0 44 1 0 1 1 0 8 0 lockfspl 48 17 0 16 1 0 1 1 0 8 0 sessionpl 120 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 218 0 209 1 0 1 1 0 8 0 zombiepl 144 455 0 454 1 0 1 1 0 8 0 processpl 1008 485 0 454 5 0 5 5 0 8 0 procpl 632 990 0 950 4 0 4 4 0 8 0 sockpl 400 605 0 585 4 0 4 4 0 8 2 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 246 0 0 30 0 30 30 0 8 0 mtagpl 96 21 0 0 1 0 1 1 0 8 0 mbufpl 256 260 0 0 16 0 16 16 0 8 0 bufpl 280 3711 0 127 256 0 256 256 0 8 0 anonpl 16 60102 0 41813 80 5 75 79 0 124 1 amapchunkpl 152 2673 0 2364 17 2 15 17 0 158 0 amappl16 192 1748 0 899 43 0 43 43 0 8 0 amappl15 184 114 0 112 1 0 1 1 0 8 0 amappl14 176 127 0 123 1 0 1 1 0 8 0 amappl13 168 28 0 25 1 0 1 1 0 8 0 amappl12 160 20 0 18 1 0 1 1 0 8 0 amappl11 152 179 0 162 1 0 1 1 0 8 0 amappl10 144 131 0 126 1 0 1 1 0 8 0 amappl9 136 368 0 367 1 0 1 1 0 8 0 amappl8 128 352 0 310 2 0 2 2 0 8 0 amappl7 120 117 0 105 1 0 1 1 0 8 0 amappl6 112 31 0 27 1 0 1 1 0 8 0 amappl5 104 243 0 227 1 0 1 1 0 8 0 amappl4 96 614 0 582 1 0 1 1 0 8 0 amappl3 88 247 0 236 1 0 1 1 0 8 0 amappl2 80 2929 0 2850 2 0 2 2 0 8 0 amappl1 72 22337 0 21861 22 12 10 17 0 8 0 amappl 80 1297 0 1208 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 19 0 2 1 0 1 1 0 8 0 uaddrrnd 24 471 0 454 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 471 0 454 1 0 1 1 0 8 0 vmmpekpl 168 7405 0 7365 3 0 3 3 0 8 0 vmmpepl 168 66396 0 64258 117 10 107 114 0 357 13 vmsppl 368 470 0 454 2 0 2 2 0 8 0 pdppl 4096 949 0 909 6 0 6 6 0 8 0 pvpl 32 198664 0 177135 189 4 185 189 0 265 11 pmappl 232 470 0 454 2 0 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 270 0 4 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82785ff0) 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+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82933140) at __mp_lock+0x12e sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82933140,1) at __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x392 sys/kern/sched_bsd.c:435 sleep_finish(ffff800020e88570,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020e88570,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020e88570,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(ffffffff827f5664,120,ffffffff823fd3d0,2) at tsleep+0x1cc sys/kern/kern_synch.c:155 sys_nanosleep(ffff8000fffff8c0,ffff800020e886a0,ffff800020e886f0) at sys_nanosleep+0x205 sys/kern/kern_time.c:297 syscall(ffff800020e88770) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e88770) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc000047de0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> trace in_delmulti(fffdfefffdffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b4e400) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000af4000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000af4000) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000af4000) 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(ffff800021f0a0c0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e7fb4e8,7,fffffd807f7bf900,ffff800020e8f160) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8072b77d30,ffff800020e8f160) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8072b77d30,ffff800020e8f160) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8072b77d30,ffff800020e8f160) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8072b77d30,ffff800020e8f160) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e8f160) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e8f160,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020e8f160,ffff800021f0a350,ffff800021f0a3a0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800021f0a420) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f0a420) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffda2b0, count: -16