summary refs log tree commit diff stats
path: root/hw/core/machine.c
diff options
context:
space:
mode:
authorPrasad J Pandit <pjp@fedoraproject.org>2021-01-30 18:46:52 +0530
committerJason Wang <jasowang@redhat.com>2021-11-19 11:43:47 +0800
commitd05dcd94aee88728facafb993c7280547eb4d645 (patch)
treecbf25f7888dd78e4e57050732219e5edb6716898 /hw/core/machine.c
parent44a3aa0608f01274418487b655d42467c1d8334e (diff)
downloadfocaccia-qemu-d05dcd94aee88728facafb993c7280547eb4d645.tar.gz
focaccia-qemu-d05dcd94aee88728facafb993c7280547eb4d645.zip
net: vmxnet3: validate configuration values during activate (CVE-2021-20203)
While activating device in vmxnet3_acticate_device(), it does not
validate guest supplied configuration values against predefined
minimum - maximum limits. This may lead to integer overflow or
OOB access issues. Add checks to avoid it.

Fixes: CVE-2021-20203
Buglink: https://bugs.launchpad.net/qemu/+bug/1913873
Reported-by: Gaoning Pan <pgn@zju.edu.cn>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/core/machine.c')
0 files changed, 0 insertions, 0 deletions