diff options
author | Jason Wang | 2021-02-24 06:14:35 +0100 |
---|---|---|
committer | Jason Wang | 2021-03-15 09:41:22 +0100 |
commit | 8c92060d3c0248bd4d515719a35922cd2391b9b4 (patch) | |
tree | 3baff0d2569343e238e12241dcb92708c7a45f8c /hw/net/net_tx_pkt.c | |
parent | msf2-mac: switch to use qemu_receive_packet() for loopback (diff) | |
download | qemu-8c92060d3c0248bd4d515719a35922cd2391b9b4.tar.gz qemu-8c92060d3c0248bd4d515719a35922cd2391b9b4.tar.xz qemu-8c92060d3c0248bd4d515719a35922cd2391b9b4.zip |
sungem: switch to use qemu_receive_packet() for loopback
This patch switches to use qemu_receive_packet() which can detect
reentrancy and return early.
This is intended to address CVE-2021-3416.
Cc: Prasad J Pandit <ppandit@redhat.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/net_tx_pkt.c')
0 files changed, 0 insertions, 0 deletions