qemu/include
Daniel P. Berrangé b722a90334 io: remove io watch if TLS channel is closed during handshake
The TLS handshake make take some time to complete, during which time an
I/O watch might be registered with the main loop. If the owner of the
I/O channel invokes qio_channel_close() while the handshake is waiting
to continue the I/O watch must be removed. Failing to remove it will
later trigger the completion callback which the owner is not expecting
to receive. In the case of the VNC server, this results in a SEGV as
vnc_disconnect_start() tries to shutdown a client connection that is
already gone / NULL.

CVE-2023-3354
Reported-by: jiangyegen <jiangyegen@huawei.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: zeng_chi <zengchi@kylinos.cn>
2024-04-25 16:16:10 +08:00
..
authz New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
block New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
chardev New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
crypto New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
disas New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
exec New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
fpu New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
hw A new virtio pci device named virtio-vcpu-stall-watchdog-pci 2023-07-17 14:47:54 +08:00
io io: remove io watch if TLS channel is closed during handshake 2024-04-25 16:16:10 +08:00
libdecnumber New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
migration New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
monitor New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
net New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
qapi New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
qemu New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
qom New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
scsi New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
semihosting New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
standard-headers New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
sysemu New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
tcg New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
ui New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
user New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
elf.h New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
glib-compat.h New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
qemu-io.h New upstream version 7.1.0 2022-11-03 14:19:34 +08:00
qemu-main.h New upstream version 7.1.0 2022-11-03 14:19:34 +08:00