Skip to content
Snippets Groups Projects
Commit 9050f976 authored by 小田喜陽彦's avatar 小田喜陽彦 Committed by Jason Wang
Browse files

net: Update MemReentrancyGuard for NIC


Recently MemReentrancyGuard was added to DeviceState to record that the
device is engaging in I/O. The network device backend needs to update it
when delivering a packet to a device.

This implementation follows what bottom half does, but it does not add
a tracepoint for the case that the network device backend started
delivering a packet to a device which is already engaging in I/O. This
is because such reentrancy frequently happens for
qemu_flush_queued_packets() and is insignificant.

Fixes: CVE-2023-3019
Reported-by: default avatarAlexander Bulekov <alxndr@bu.edu>
Signed-off-by: default avatarAkihiko Odaki <akihiko.odaki@daynix.com>
Acked-by: default avatarAlexander Bulekov <alxndr@bu.edu>
Signed-off-by: Jason Wang's avatarJason Wang <jasowang@redhat.com>
parent 7d0fefdf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment