Prasad J Pandit 1ce084af08 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>
(cherry picked from commit d05dcd94aee88728facafb993c7280547eb4d645)
Signed-off-by: Michael Roth <michael.roth@amd.com>
2021-12-14 17:39:20 -06:00
..
2021-12-14 12:46:48 -06:00
2021-07-27 11:00:00 +01:00
2021-07-11 14:32:49 +01:00
2021-07-11 14:32:49 +01:00
2021-07-29 10:59:49 +10:00
2021-07-12 19:15:11 +01:00
2021-07-08 14:42:00 -05:00
2021-05-05 13:52:00 +01:00
2021-12-14 08:56:53 -06:00
2021-12-14 14:49:55 -06:00
2020-08-21 06:30:33 -04:00