diff options
| author | Alexander Potapenko <glider@google.com> | 2024-11-21 16:30:50 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2024-11-26 11:12:47 +0000 |
| commit | 2ebbc7259f2bda405779335b46a2f519f14ec473 (patch) | |
| tree | b81960041de957bb95a917df9c42924d8ac6de9b /executor/common_linux.h | |
| parent | ae34cc2c773d3522e98ab8f038e2e5875fb9dac4 (diff) | |
executor: arm64: sys/linux: allocate 1024 pages for guest address space
Pass 1024 pages of memory to both syz_kvm_setup_syzos_vm() and
syz_kvm_setup_cpu$arm64() to make sure that:
- there is enough memory for guest allocations (e.g. ITS pages)
- host can tamper with that memory, provoking more bugs
Diffstat (limited to 'executor/common_linux.h')
| -rw-r--r-- | executor/common_linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h index 562fe703b..b6214563e 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -3222,7 +3222,7 @@ static long syz_kvm_add_vcpu(volatile long a0, volatile long a1, volatile long a } #endif #if !GOARCH_arm64 && (SYZ_EXECUTOR || __NR_syz_kvm_setup_syzos_vm) -static long syz_kvm_setup_syzos_vm(volatile long a0) +static long syz_kvm_setup_syzos_vm(volatile long a0, volatile long a1) { return 0; } |
