kernel: protection fault trap, code=0
Stopped at in6_addmulti+0xc4: movzbl 0x1(%rax),%ebx
ddb{1}>
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
the kernel did not panic
ddb{1}> trace
in6_addmulti(ffff80002fe5ea88,ffff800000cfc800,ffff80002fe5eb1c) at in6_addmulti+0xc4 sys/netinet6/in6.c:1037
in6_update_ifa(ffff800000cfc800,ffff80002fe5eb90,0) at in6_update_ifa+0x1418 in6_joingroup sys/netinet6/in6.c:1154 [inline]
in6_update_ifa(ffff800000cfc800,ffff80002fe5eb90,0) at in6_update_ifa+0x1418 sys/netinet6/in6.c:776
in6_ifattach_linklocal(ffff800000cfc800,0) at in6_ifattach_linklocal+0x28d sys/netinet6/in6_ifattach.c:281
in6_ifattach(ffff800000cfc800) at in6_ifattach+0x1bb sys/netinet6/in6_ifattach.c:405
ifnewlladdr(ffff800000cfc800) at ifnewlladdr+0x180 sys/net/if.c:3204
ifioctl(fffffd806d7f0d70,8020691f,ffff80002fe5edf0,ffff8000212978a8) at ifioctl+0x1f5e sys/net/if.c:2253
sys_ioctl(ffff8000212978a8,ffff80002fe5ef08,ffff80002fe5ef50) at sys_ioctl+0x4a2
syscall(ffff80002fe5efd0) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff80002fe5efd0) at syscall+0x606 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2653fea4810, count: -9
ddb{1}> show registers
rdi 0xffff80002636a000
rsi 0x6ead __ALIGN_SIZE+0x5ead
rbp 0xffff80002fe5e970
rbx 0
rdx 0xffff80002636a000
rcx 0x6eac __ALIGN_SIZE+0x5eac
rax 0xdeaf0036deaf4152
r8 0x2
r9 0
r10 0xfb723dcfbf9e70a9
r11 0x2c7a71edb4f56b7a
r12 0xffff800000caf000
r13 0xffff80002fe5ea88
r14 0xffff80002fe5eb1c
r15 0xffff800000cfc800
rip 0xffffffff810e3c54 in6_addmulti+0xc4
cs 0x8
rflags 0x10286 __ALIGN_SIZE+0xf286
rsp 0xffff80002fe5e7f0
ss 0x10
in6_addmulti+0xc4: movzbl 0x1(%rax),%ebx
ddb{1}> show proc
PROC (syz-executor.4) pid=395985 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=32, usrpri=67, nice=20
forw=0xffffffffffffffff, list=0xffff8000212962e8,0xffff800021254860
process=0xffff80002128bab8 user=0xffff80002fe5a000, vmspace=0xfffffd8008a06c08
estcpu=17, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
75213 170209 64252 0 2 0 syz-executor.5
75213 456110 64252 0 3 0x4000080 fsleep syz-executor.5
75213 369619 64252 0 3 0x4000080 fsleep syz-executor.5
75213 13184 64252 0 2 0x4000000 syz-executor.5
1273 470648 11511 0 2 0 syz-executor.0
1273 92383 11511 0 3 0x4000080 fsleep syz-executor.0
1273 342981 11511 0 2 0x4000080 syz-executor.0
17191 417789 97701 0 2 0 syz-executor.2
17191 396005 97701 0 3 0x4000080 fsleep syz-executor.2
17191 514537 97701 0 3 0x4000080 fsleep syz-executor.2
6650 100459 41460 0 2 0 syz-executor.3
6650 118686 41460 0 3 0x4000080 netio syz-executor.3
6650 425835 41460 0 3 0x4000080 fsleep syz-executor.3
77473 36056 98543 0 2 0 syz-executor.4
77473 140392 98543 0 3 0x4000000 smrbar syz-executor.4
*77473 395985 98543 0 7 0x4000000 syz-executor.4
25933 396642 21649 0 2 0x81000 syz-executor.7
25933 290559 21649 0 3 0x4003000 suspend syz-executor.7
81081 166199 26373 0 2 0 syz-executor.1
81081 179457 26373 0 3 0x4000080 fsleep syz-executor.1
81081 466174 26373 0 2 0x4000000 syz-executor.1
48114 92974 0 0 3 0x14200 bored sosplice
26373 338152 75491 0 3 0x82 nanoslp syz-executor.1
20908 225144 53753 0 3 0x100082 netio arp
1546 78964 75491 0 2 0x482 syz-executor.6
21649 69968 75491 0 3 0x82 nanoslp syz-executor.7
64252 170668 75491 0 3 0x82 nanoslp syz-executor.5
53753 221414 1 0 3 0x10008a sigsusp sh
41460 141096 75491 0 2 0x2 syz-executor.3
98543 513783 75491 0 3 0x82 nanoslp syz-executor.4
97701 72026 75491 0 3 0x82 nanoslp syz-executor.2
11511 292397 75491 0 3 0x82 nanoslp syz-executor.0
75491 13174 77817 0 3 0x82 wait syz-fuzzer
75491 349046 77817 0 3 0x4000082 nanoslp syz-fuzzer
75491 452219 77817 0 3 0x4000082 thrsleep syz-fuzzer
75491 509908 77817 0 3 0x4000082 wait syz-fuzzer
75491 147316 77817 0 3 0x4000082 thrsleep syz-fuzzer
75491 239574 77817 0 3 0x4000082 wait syz-fuzzer
75491 503087 77817 0 3 0x4000082 wait syz-fuzzer
75491 332870 77817 0 3 0x4000082 wait syz-fuzzer
75491 375509 77817 0 2 0x4000002 syz-fuzzer
75491 48226 77817 0 3 0x4000082 wait syz-fuzzer
75491 520346 77817 0 3 0x4000082 thrsleep syz-fuzzer
75491 99278 77817 0 3 0x4000082 thrsleep syz-fuzzer
75491 383447 77817 0 3 0x4000082 wait syz-fuzzer
75491 208484 77817 0 3 0x4000082 wait syz-fuzzer
75491 351575 77817 0 3 0x4000082 thrsleep syz-fuzzer
77817 171776 23436 0 3 0x10008a sigsusp ksh
23436 182141 53893 0 3 0x9a kqread sshd
95264 388223 1 0 3 0x100083 ttyin getty
53893 128752 1 0 3 0x88 kqread sshd
21504 155070 463 74 3 0x1100092 bpf pflogd
463 367901 1 0 3 0x80 netio pflogd
10723 419394 97904 73 7 0x1100010 syslogd
97904 430025 1 0 3 0x100082 netio syslogd
46681 359828 1 0 3 0x100080 kqread resolvd
94578 207076 29919 77 3 0x100092 kqread dhcpleased
61781 66739 29919 77 3 0x100092 kqread dhcpleased
29919 127458 1 0 3 0x80 kqread dhcpleased
62507 196204 0 0 3 0x14200 bored smr
73428 143602 0 0 2 0x14200 zerothread
54147 475087 0 0 3 0x14200 aiodoned aiodoned
29165 482237 0 0 3 0x14200 syncer update
86099 283867 0 0 3 0x14200 cleaner cleaner
23095 164354 0 0 3 0x14200 reaper reaper
85225 276729 0 0 3 0x14200 pgdaemon pagedaemon
57687 459238 0 0 3 0x14200 bored viomb
46541 207341 0 0 3 0x40014200 acpi0 acpi0
86309 205642 0 0 3 0x40014200 idle1
11937 214037 0 0 3 0x14200 bored softnet
15362 416979 0 0 3 0x14200 bored softnet
85982 507836 0 0 3 0x14200 bored softnet
21623 255767 0 0 3 0x14200 bored softnet
20022 187329 0 0 2 0x14200 systqmp
51322 174912 0 0 3 0x14200 bored systq
35709 249389 0 0 3 0x40014200 bored softclock
94465 203910 0 0 3 0x40014200 idle0
1 241872 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{1}> show all locks
Process 77473 (syz-executor.4) thread 0xffff800021254b08 (140392)
exclusive rwlock clonelk r = 0 (0xffffffff82b495e0)
#0 witness_lock+0x44d
#1 if_clone_destroy+0x49
#2 ifioctl+0x3b4 sys/net/if.c:1924
#3 sys_ioctl+0x4a2
#4 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#4 syscall+0x606 sys/arch/amd64/amd64/trap.c:625
#5 Xsyscall+0x128
Process 77473 (syz-executor.4) thread 0xffff8000212978a8 (395985)
exclusive rwlock netlock r = 0 (0xffffffff82b49670)
#0 witness_lock+0x44d
#1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2 ifioctl+0x14e2 sys/net/if.c:2235
#3 sys_ioctl+0x4a2
#4 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#4 syscall+0x606 sys/arch/amd64/amd64/trap.c:625
#5 Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82db6228)
#0 witness_lock+0x44d
#1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
#2 mi_switch+0x3bb sys/kern/sched_bsd.c:405
#3 sleep_finish+0x180 sys/kern/kern_synch.c:417
#4 rw_enter+0x35a sys/kern/kern_rwlock.c:286
#5 ifioctl+0x14e2 sys/net/if.c:2235
#6 sys_ioctl+0x4a2
#7 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#7 syscall+0x606 sys/arch/amd64/amd64/trap.c:625
#8 Xsyscall+0x128
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10208 6495K 6614K 78643K 11505 0
pcb 13 8K 8K 78643K 28 0
rtable 220 7K 7K 78643K 397 0
ifaddr 78 25K 26K 78643K 109 0
counters 60 35K 36K 78643K 76 0
ioctlops 0 0K 4K 78643K 1485 0
iov 0 0K 0K 78643K 4 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 4 0
vnodes 1354 85K 85K 78643K 1414 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 5K 78643K 5 0
VM map 2 1K 1K 78643K 2 0
sem 12 0K 1K 78643K 21 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12548 0
file desc 19 69K 93K 78643K 276 0
sigio 0 0K 0K 78643K 39 0
proc 68 91K 115K 78643K 553 0
subproc 117 7K 7K 78643K 117 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 10 0
in_multi 89 5K 6K 78643K 114 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 43 201K 201K 78643K 43 0
exec 0 0K 1K 78643K 405 0
pfkey data 0 0K 0K 78643K 2 0
tdb 3 0K 0K 78643K 3 0
pagedep 1 8K 8K 78643K 1 0
inodedep 1 32K 32K 78643K 1 0
newblk 1 0K 0K 78643K 1 0
VM swap 8 62K 64K 78643K 10 0
UVM amap 317 79K 80K 78643K 3757 0
UVM aobj 17 3K 3K 78643K 21 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
NDP 13 0K 1K 78643K 34 0
temp 92 5764K 5828K 78643K 14653 0
kqueue 12 18K 22K 78643K 31 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
plcache 128 22 0 0 1 0 1 1 0 8 0
rtpcb 120 42 0 38 1 0 1 1 0 8 0
rtentry 112 122 0 22 4 0 4 4 0 8 0
unpcb 144 147 0 127 2 0 2 2 0 8 0
syncache 296 4 0 4 1 1 0 1 0 8 0
tcpqe 32 235 0 235 2 2 0 1 0 8 0
tcpcb 776 33 0 28 1 0 1 1 0 8 0
arp 120 19 0 3 1 0 1 1 0 8 0
inpcb 368 174 0 162 4 0 4 4 0 8 2
nd6 48 26 0 4 1 0 1 1 0 8 0
pkpcb 40 2 0 2 2 1 1 1 0 8 1
kcovpl 48 9 0 0 1 0 1 1 0 8 0
ppxss 1256 4 0 4 1 1 0 1 0 8 0
pppxif 1456 4 0 4 1 1 0 1 0 8 0
pfosfp 40 1428 0 1005 5 0 5 5 0 8 0
pfosfpen 112 1428 0 714 21 0 21 21 0 8 0
pfanchor 1280 390 0 197 26 4 22 22 0 8 2
pfstitem 24 10 0 7 1 0 1 1 0 8 0
pfstkey 128 10 0 7 1 0 1 1 0 8 0
pfstate 384 10 0 7 1 0 1 1 0 8 0
pfrule 1344 21 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 547 0 65 31 0 31 31 0 8 0
art_table 32 548 0 65 4 0 4 4 0 8 0
art_node 16 121 0 26 1 0 1 1 0 8 0
semupl 112 4 0 4 2 2 0 1 0 8 0
semapl 112 15 0 5 1 0 1 1 0 8 0
shmpl 112 18 0 4 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1661 0 219 91 0 91 91 0 8 0
ffsino 272 1661 0 219 97 0 97 97 0 8 0
nchpl 144 2119 0 471 63 0 63 63 0 8 0
uvmvnodes 80 1897 0 0 39 0 39 39 0 8 0
vnodes 216 1897 0 0 106 0 106 106 0 8 0
namei 1024 7835 0 7835 4 3 1 2 0 8 1
percpumem 16 51 0 8 1 0 1 1 0 8 0
kstatmem 264 34 0 8 2 0 2 2 0 8 0
scxspl 216 7421 0 7421 14 13 1 8 0 8 1
plimitpl 152 36 0 16 1 0 1 1 0 8 0
sigapl 424 593 0 542 8 2 6 7 0 8 0
futexpl 64 1655 0 1648 2 1 1 1 0 8 0
knotepl 120 184 0 0 6 0 6 6 0 8 0
kqueuepl 216 172 0 161 6 5 1 6 0 8 0
pipepl 320 296 0 265 9 6 3 9 0 8 0
fdescpl 496 575 0 543 5 0 5 5 0 8 0
filepl 152 3282 0 3011 23 9 14 20 0 8 2
lockfpl 104 106 0 102 1 0 1 1 0 8 0
lockfspl 48 55 0 51 1 0 1 1 0 8 0
sessionpl 144 25 0 7 1 0 1 1 0 8 0
pgrppl 48 25 0 7 1 0 1 1 0 8 0
ucredpl 104 131 0 119 1 0 1 1 0 8 0
zombiepl 144 544 0 542 2 1 1 1 0 8 0
processpl 1072 593 0 542 4 0 4 4 0 8 0
procpl 696 902 0 823 8 0 8 8 0 8 0
sosppl 168 3 0 3 1 1 0 1 0 8 0
sockpl 488 365 0 329 9 0 9 9 0 8 4
mcl64k 65536 4 0 0 1 0 1 1 0 8 0
mcl16k 16384 2 0 0 1 0 1 1 0 8 0
mcl12k 12288 4 0 0 1 0 1 1 0 8 0
mcl9k 9216 2 0 0 1 0 1 1 0 8 0
mcl8k 8192 3 0 0 1 0 1 1 0 8 0
mcl4k 4096 6 0 0 1 0 1 1 0 8 0
mcl2k2 2112 1 0 0 1 0 1 1 0 8 0
mcl2k 2048 357 0 0 44 0 44 44 0 8 0
mtagpl 96 9 0 0 1 0 1 1 0 8 0
mbufpl 256 1059 0 0 62 0 62 62 0 8 0
bufpl 288 4218 0 150 291 0 291 291 0 8 0
anonpl 24 162676 0 144458 122 6 116 117 0 186 2
amapchunkpl 152 10338 0 9494 35 0 35 35 0 158 1
amappl16 200 3030 0 2518 32 2 30 30 0 8 2
amappl15 192 7 0 7 1 1 0 1 0 8 0
amappl14 184 169 0 153 2 1 1 2 0 8 0
amappl13 176 8 0 7 1 0 1 1 0 8 0
amappl12 168 435 0 430 1 0 1 1 0 8 0
amappl11 160 60 0 45 1 0 1 1 0 8 0
amappl10 152 41 0 31 1 0 1 1 0 8 0
amappl9 144 969 0 969 2 2 0 1 0 8 0
amappl8 136 158 0 118 2 0 2 2 0 8 0
amappl7 128 172 0 144 2 0 2 2 0 8 0
amappl6 120 168 0 155 2 1 1 2 0 8 0
amappl5 112 136 0 127 1 0 1 1 0 8 0
amappl4 104 518 0 485 2 0 2 2 0 8 0
amappl3 96 1078 0 1013 2 0 2 2 0 8 0
amappl2 88 928 0 844 4 2 2 4 0 8 0
amappl1 80 15518 0 14641 30 11 19 28 0 8 0
amappl 88 3231 0 3024 6 1 5 5 0 92 0
dma4096 4096 1 0 1 1 1 0 1 0 8 0
dma1024 1024 1 0 0 1 0 1 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 72 20 0 4 1 0 1 1 0 8 0
uaddrrnd 24 575 0 543 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 575 0 543 1 0 1 1 0 8 0
vmmpekpl 168 11304 0 11247 3 0 3 3 0 8 0
vmmpepl 168 63741 0 60728 160 22 138 138 0 357 5
vmsppl 440 574 0 543 6 2 4 5 0 8 0
rwobjpl 56 20743 0 17011 54 0 54 54 0 8 0
pdppl 4096 1157 0 1086 139 66 73 83 0 8 2
pvpl 32 400660 0 375854 380 175 205 366 0 265 2
pmappl 248 574 0 543 3 0 3 3 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 775 0 72 21 0 21 21 0 8 0
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
ddb{0}> trace
x86_ipi_db(ffffffff82b24ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 kd_curproc sys/dev/kcov.c:574 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 sys/dev/kcov.c:148
__mp_lock(ffffffff82db6020) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82db6020) at __mp_lock+0x133 sys/kern/kern_lock.c:147
softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88
Xsoftclock() at Xsoftclock+0x1f
__mp_lock(ffffffff82db6020) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82db6020) at __mp_lock+0x122 sys/kern/kern_lock.c:147
vn_write(fffffd806fb78000,ffff80002124f7a0,0) at vn_write+0x42 sys/kern/vfs_vnops.c:393
dofilewritev(ffff8000211bd058,e,ffff80002124f7a0,0,ffff80002124f890) at dofilewritev+0x19c sys/kern/sys_generic.c:375
sys_writev(ffff8000211bd058,ffff80002124f840,ffff80002124f890) at sys_writev+0xa7 sys/kern/sys_generic.c:322
syscall(ffff80002124f910) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff80002124f910) at syscall+0x606 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffd0800, count: -13
ddb{0}> machine ddbcpu 1
Stopped at in6_addmulti+0xc4: movzbl 0x1(%rax),%ebx
ddb{1}> trace
in6_addmulti(ffff80002fe5ea88,ffff800000cfc800,ffff80002fe5eb1c) at in6_addmulti+0xc4 sys/netinet6/in6.c:1037
in6_update_ifa(ffff800000cfc800,ffff80002fe5eb90,0) at in6_update_ifa+0x1418 in6_joingroup sys/netinet6/in6.c:1154 [inline]
in6_update_ifa(ffff800000cfc800,ffff80002fe5eb90,0) at in6_update_ifa+0x1418 sys/netinet6/in6.c:776
in6_ifattach_linklocal(ffff800000cfc800,0) at in6_ifattach_linklocal+0x28d sys/netinet6/in6_ifattach.c:281
in6_ifattach(ffff800000cfc800) at in6_ifattach+0x1bb sys/netinet6/in6_ifattach.c:405
ifnewlladdr(ffff800000cfc800) at ifnewlladdr+0x180 sys/net/if.c:3204
ifioctl(fffffd806d7f0d70,8020691f,ffff80002fe5edf0,ffff8000212978a8) at ifioctl+0x1f5e sys/net/if.c:2253
sys_ioctl(ffff8000212978a8,ffff80002fe5ef08,ffff80002fe5ef50) at sys_ioctl+0x4a2
syscall(ffff80002fe5efd0) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff80002fe5efd0) at syscall+0x606 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2653fea4810, count: -9