diff options
author | Alexander Bulekov | 2021-02-26 19:47:53 +0100 |
---|---|---|
committer | Jason Wang | 2021-03-15 09:41:22 +0100 |
commit | 5311fb805a4403bba024e83886fa0e7572265de4 (patch) | |
tree | a028a241cf8ff5ecc6b2550fb4c71ca3ee7da009 /hw/net/pcnet.c | |
parent | tx_pkt: switch to use qemu_receive_packet_iov() for loopback (diff) | |
download | qemu-5311fb805a4403bba024e83886fa0e7572265de4.tar.gz qemu-5311fb805a4403bba024e83886fa0e7572265de4.tar.xz qemu-5311fb805a4403bba024e83886fa0e7572265de4.zip |
rtl8139: 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
Buglink: https://bugs.launchpad.net/qemu/+bug/1910826
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/pcnet.c')
0 files changed, 0 insertions, 0 deletions