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(bff7ffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000a90200) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ioctl_change_ifaddr(80206919,ffff800023dc1ac0,ffff800000a75800,1) at in_ioctl_change_ifaddr+0x1c2 in_ioctl(80206919,ffff800023dc1ac0,ffff800000a75800,1) at in_ioctl+0x2fb sys/netinet/in.c:246 ifioctl(fffffd80761a2318,80206919,ffff800023dc1ac0,ffff800020ac0290) at ifioctl+0xe70 sys/net/if.c:2291 sys_ioctl(ffff800020ac0290,ffff800023dc1bd8,ffff800023dc1c20) at sys_ioctl+0x5b9 syscall(ffff800023dc1ca0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023dc1ca0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd9dd2132830, count: -8 ddb{1}> show registers rdi 0xffffffff81eee24d in_delmulti+0x8d rsi 0x2a24 __ALIGN_SIZE+0x1a24 rbp 0xffff800023dc1880 rbx 0 rdx 0x2a25 __ALIGN_SIZE+0x1a25 rcx 0xffff80002197c000 rax 0xffff80002197c000 r8 0xffffffff81342423 rt_ifa_purge+0x153 r9 0x5 r10 0x2f r11 0xe27a07a042bf581b r12 0 r13 0x3 r14 0xbff7ffffffffffff r15 0x1 rip 0xffffffff81eee24d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800023dc1820 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> show proc PROC (syz-executor.0) pid=171642 stat=onproc flags process=0 proc=4000000 pri=57, usrpri=57, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac09f8,0xffff800020ac0ef8 process=0xffff800020aed880 user=0xffff800023dbc000, vmspace=0xfffffd807f008b80 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 92897 216389 41613 0 2 0 syz-executor.0 *92897 171642 41613 0 7 0x4000000 syz-executor.0 92897 182035 41613 0 7 0x4000080 syz-executor.0 84784 457518 18003 0 3 0x80 nanosleep syz-executor.1 84784 240210 18003 0 3 0x4000080 bell syz-executor.1 84784 101972 18003 0 3 0x4000080 fsleep syz-executor.1 41613 419414 71142 0 3 0x82 nanosleep syz-executor.0 99022 105685 0 0 3 0x14200 bored sosplice 18003 391253 71142 0 3 0x82 nanosleep syz-executor.1 71142 259606 39691 0 3 0x82 thrsleep syz-fuzzer 71142 141855 39691 0 3 0x4000082 thrsleep syz-fuzzer 71142 166421 39691 0 3 0x4000082 kqread syz-fuzzer 71142 17134 39691 0 3 0x4000082 thrsleep syz-fuzzer 71142 486775 39691 0 3 0x4000082 thrsleep syz-fuzzer 71142 138437 39691 0 3 0x4000082 thrsleep syz-fuzzer 71142 26465 39691 0 3 0x4000082 thrsleep syz-fuzzer 71142 75534 39691 0 3 0x4000082 thrsleep syz-fuzzer 71142 261745 39691 0 3 0x4000082 thrsleep syz-fuzzer 71142 146988 39691 0 3 0x4000082 thrsleep syz-fuzzer 39691 75771 98399 0 3 0x10008a pause ksh 98399 423697 36837 0 3 0x92 select sshd 4611 25366 1 0 3 0x100083 ttyin getty 36837 273562 1 0 3 0x80 select sshd 81471 118677 43574 74 3 0x100092 bpf pflogd 43574 418440 1 0 3 0x80 netio pflogd 66743 316312 54245 73 3 0x100090 kqread syslogd 54245 248061 1 0 3 0x100082 netio syslogd 91256 446165 1 77 3 0x100090 poll dhclient 81320 344125 1 0 3 0x80 poll dhclient 30064 25308 0 0 3 0x14200 pgzero zerothread 14026 334646 0 0 3 0x14200 aiodoned aiodoned 48272 303470 0 0 3 0x14200 syncer update 95825 272858 0 0 3 0x14200 cleaner cleaner 14065 172129 0 0 3 0x14200 reaper reaper 58302 296945 0 0 3 0x14200 pgdaemon pagedaemon 34965 224209 0 0 3 0x14200 bored crynlk 98322 357059 0 0 3 0x14200 bored crypto 21383 162188 0 0 3 0x40014200 acpi0 acpi0 18328 240953 0 0 3 0x40014200 idle1 90648 112254 0 0 3 0x14200 bored softnet 80064 68277 0 0 3 0x14200 bored systqmp 52524 43079 0 0 3 0x14200 bored systq 96471 31385 0 0 3 0x40014200 bored softclock 94561 282662 0 0 3 0x40014200 idle0 69684 183106 0 0 3 0x14200 bored smr 1 357757 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 92897 (syz-executor.0) thread 0xffff800020ac0290 (171642) exclusive rwlock netlock r = 0 (0xffffffff82495598) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 in_ioctl_change_ifaddr+0x91 #2 in_ioctl+0x2fb sys/netinet/in.c:246 #3 ifioctl+0xe70 sys/net/if.c:2291 #4 sys_ioctl+0x5b9 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff826563c0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9510 6420K 6914K 78643K 10875 0 pcb 13 8K 8K 78643K 35 0 rtable 100 3K 4K 78643K 298 0 ifaddr 66 13K 13K 78643K 111 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1470 0 iov 0 0K 12K 78643K 20 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1314 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 1K 1K 78643K 2 0 sem 8 1K 1K 78643K 8 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 138 0 proc 60 63K 95K 78643K 486 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 39 2K 2K 78643K 51 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 42 185K 185K 78643K 42 0 exec 0 0K 1K 78643K 233 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 133 23K 24K 78643K 1426 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 1K 78643K 36 0 NDP 11 0K 0K 78643K 25 0 temp 113 3014K 3080K 78643K 4723 0 kqueue 0 0K 0K 78643K 1 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 8 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 55 0 15 2 0 2 2 0 8 0 unpcb 120 131 0 121 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 127 0 127 1 1 0 1 0 8 0 tcpcb 544 144 0 138 2 0 2 2 0 8 1 inpcb 280 289 0 278 2 0 2 2 0 8 1 nd6 48 6 0 2 1 0 1 1 0 8 0 ppxss 1128 4 0 4 1 0 1 1 0 8 1 pffrag 232 3 0 3 1 0 1 1 0 482 1 pffrnode 88 3 0 3 1 0 1 1 0 8 1 pffrent 40 135 0 135 1 0 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 19 0 1 1 0 1 1 0 8 0 pfstkey 112 19 0 1 1 0 1 1 0 8 0 pfstate 328 19 0 1 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 255 0 47 14 0 14 14 0 8 0 art_table 32 256 0 47 2 0 2 2 0 8 0 art_node 16 54 0 18 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 10 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 6 0 0 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 1590 0 183 46 0 46 46 0 8 0 ffsino 272 1590 0 183 95 0 95 95 0 8 0 nchpl 144 1961 0 353 61 0 61 61 0 8 0 uvmvnodes 72 1705 0 0 31 0 31 31 0 8 0 vnodes 208 1705 0 0 90 0 90 90 0 8 0 namei 1024 5284 0 5284 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scsiplug 64 2 0 2 1 0 1 1 0 8 1 scxspl 192 5485 0 5485 8 3 5 7 0 8 5 plimitpl 152 26 0 17 1 0 1 1 0 8 0 sigapl 432 334 0 318 3 1 2 3 0 8 0 futexpl 56 2290 0 2289 1 0 1 1 0 8 0 knotepl 112 76 0 57 1 0 1 1 0 8 0 kqueuepl 104 26 0 24 1 0 1 1 0 8 0 pipepl 160 208 0 189 3 1 2 2 0 8 1 fdescpl 488 335 0 318 3 0 3 3 0 8 0 filepl 152 2022 0 1914 6 0 6 6 0 8 1 lockfpl 104 47 0 46 1 0 1 1 0 8 0 lockfspl 48 16 0 15 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 21 0 10 1 0 1 1 0 8 0 ucredpl 96 103 0 94 1 0 1 1 0 8 0 zombiepl 144 318 0 318 1 0 1 1 0 8 1 processpl 896 351 0 318 4 0 4 4 0 8 0 procpl 632 593 0 547 5 0 5 5 0 8 1 srpgc 64 2 0 2 1 0 1 1 0 8 1 sosppl 128 6 0 6 1 0 1 1 0 8 1 sockpl 384 447 0 424 5 0 5 5 0 8 2 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 161 0 0 20 0 20 20 0 8 1 mtagpl 80 14 0 0 1 0 1 1 0 8 0 mbufpl 256 275 0 0 17 0 17 17 0 8 0 bufpl 280 6446 0 1342 365 0 365 365 0 8 0 anonpl 16 54172 0 35871 79 1 78 78 0 125 2 amapchunkpl 152 1782 0 1620 11 0 11 11 0 158 4 amappl16 192 1545 0 508 53 0 53 53 0 8 1 amappl15 184 95 0 87 1 0 1 1 0 8 0 amappl14 176 39 0 35 1 0 1 1 0 8 0 amappl13 168 45 0 43 1 0 1 1 0 8 0 amappl12 160 7 0 4 2 1 1 1 0 8 0 amappl11 152 83 0 68 1 0 1 1 0 8 0 amappl10 144 12 0 6 1 0 1 1 0 8 0 amappl9 136 609 0 606 1 0 1 1 0 8 0 amappl8 128 151 0 117 2 0 2 2 0 8 0 amappl7 120 109 0 97 1 0 1 1 0 8 0 amappl6 112 83 0 79 1 0 1 1 0 8 0 amappl5 104 148 0 134 1 0 1 1 0 8 0 amappl4 96 592 0 558 2 1 1 2 0 8 0 amappl3 88 115 0 107 1 0 1 1 0 8 0 amappl2 80 1768 0 1678 3 1 2 3 0 8 0 amappl1 72 17610 0 17137 26 16 10 21 0 8 0 amappl 80 859 0 808 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 335 0 318 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 335 0 318 1 0 1 1 0 8 0 vmmpekpl 168 6536 0 6500 2 0 2 2 0 8 0 vmmpepl 168 50152 0 47803 146 8 138 138 0 357 35 vmsppl 368 334 0 318 2 0 2 2 0 8 0 pdppl 4096 677 0 636 6 0 6 6 0 8 0 pvpl 32 166248 0 144519 187 0 187 187 0 265 7 pmappl 232 334 0 318 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 168 0 3 5 0 5 5 0 8 0