qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] io: fix crash in VNC websock server when client quits early
@ 2025-10-03 15:02 Daniel P. Berrangé
  2025-10-03 15:02 ` [PATCH v2 1/3] io: release active GSource in TLS channel finalizer Daniel P. Berrangé
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Daniel P. Berrangé @ 2025-10-03 15:02 UTC (permalink / raw)
  To: qemu-devel
  Cc: Daniel P. Berrangé, Grant Millar | Cylo,
	Marc-André Lureau

See patch 3 for the description of the problem and reproducer

Changes in v2:

 - Improve finalizer robustness of TLS source
 - Keep cleanup in finalizer of websock, just augment
   it in the close method
 - Fix resetting of hs_ioc_tag value when callback
   is complete
 - Add CVE assignemnt in 3rd patch

Daniel P. Berrangé (3):
  io: release active GSource in TLS channel finalizer
  io: move websock resource release to close method
  io: fix use after free in websocket handshake code

 include/io/channel-websock.h |  3 ++-
 io/channel-tls.c             | 10 ++++++++++
 io/channel-websock.c         | 33 ++++++++++++++++++++++++++-------
 3 files changed, 38 insertions(+), 8 deletions(-)

-- 
2.50.1



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-10-27 10:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-03 15:02 [PATCH v2 0/3] io: fix crash in VNC websock server when client quits early Daniel P. Berrangé
2025-10-03 15:02 ` [PATCH v2 1/3] io: release active GSource in TLS channel finalizer Daniel P. Berrangé
2025-10-16 14:13   ` Eric Blake
2025-10-03 15:02 ` [PATCH v2 2/3] io: move websock resource release to close method Daniel P. Berrangé
2025-10-16 14:15   ` Eric Blake
2025-10-03 15:02 ` [PATCH v2 3/3] io: fix use after free in websocket handshake code Daniel P. Berrangé
2025-10-16 14:19   ` Eric Blake
2025-10-26  8:02 ` [PATCH v2 0/3] io: fix crash in VNC websock server when client quits early Michael Tokarev
2025-10-27 10:18   ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).