Commit 99ccfaa1 authored by Alexander Bulekov's avatar Alexander Bulekov Committed by Jason Wang
Browse files

pcnet: 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/1917085


Reviewed-by: Philippe Mathieu-Daudé's avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: default avatarAlexander Bulekov <alxndr@bu.edu>
Signed-off-by: Jason Wang's avatarJason Wang <jasowang@redhat.com>
parent 5311fb80
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment