aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-04-19 13:16:13 +0300
committerOliver Upton <[email protected]>2023-04-19 15:22:37 +0000
commita25bc8486f9c01c1af6b6c5657234b2eee2c39d6 (patch)
tree2f5b5af5ef4b17a89390c36f72406fefb06a7a5a /scripts/bpf_doc.py
parent35dcb3ac663a16510afc27ba2725d70c15e012a5 (diff)
KVM: arm64: Fix buffer overflow in kvm_arm_set_fw_reg()
The KVM_REG_SIZE() comes from the ioctl and it can be a power of two between 0-32768 but if it is more than sizeof(long) this will corrupt memory. Fixes: 99adb567632b ("KVM: arm/arm64: Add save/restore support for firmware workaround state") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Steven Price <[email protected]> Reviewed-by: Eric Auger <[email protected]> Reviewed-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions