aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_kvm.h
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2026-01-19 09:38:53 +0100
committerAlexander Potapenko <glider@google.com>2026-01-19 11:05:35 +0000
commite2d17597c5c0f0be4b4b6e992d9434edef02c2f0 (patch)
treea2c78281c94c7a8e244863b40672d07afb3e97f0 /executor/common_kvm.h
parent8a9c6fb791de2ce75347ae863885b4584ac82afe (diff)
executor: sys/linux: SYZOS: add AMD SET_INTERCEPT primitive
This patch introduces SYZOS_API_NESTED_AMD_SET_INTERCEPT to SYZOS. This primitive enables the fuzzer to surgically modify intercept vectors in the AMD VMCB (Virtual Machine Control Block) Control Area. It implements a read-modify-write operation on 32-bit VMCB offsets, allowing the L1 hypervisor (SYZOS) to deterministically set or clear specific intercept bits (e.g., for RDTSC, HLT, or exceptions) for the L2 guest. This capability allows syzkaller to systematically explore KVM's nested SVM emulation logic by toggling intercepts on and off, rather than relying on static defaults or random memory corruption.
Diffstat (limited to 'executor/common_kvm.h')
0 files changed, 0 insertions, 0 deletions