All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-11.2 0/4] Another NBD CVE fix: incomplete read
@ 2026-11-13 22:34 Eric Blake
  2026-11-13 22:34 ` [PATCH 1/4] nbd: Refactor structured payload interpretation Eric Blake
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Eric Blake @ 2026-11-13 22:34 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-block, qemu-stable, bea1e

https://gitlab.com/qemu-project/qemu/-/work_items/3815

This one is a bug with QEMU as NBD client leaking qemu heap data under
the influence from a malicious server. Not as dramatic as the
denial-of-service attacks that my two CVE fixes earlier this week
(those were both assertion failures on QEMU as NBD server to a
malicious client), but the data exfiltration may make other attacks on
QEMU easier to pull off.  As before, the ability to insist on TLS and
perform x509 cert checks reduces the risk when you restrict NBD
connections to assumed-safe servers.

Eric Blake (4):
  nbd: Refactor structured payload interpretation
  nbd: Pass back offset/length for all structured read replies
  nbd/client: Don't leak uninitialized memory on malicious server
  nbd: Add iotest exposing previous CVE fix

 block/nbd.c                                   |  87 +++++--
 .../tests/nbd-structured-read-gaps            | 215 ++++++++++++++++++
 .../tests/nbd-structured-read-gaps.out        |   5 +
 3 files changed, 293 insertions(+), 14 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/nbd-structured-read-gaps
 create mode 100644 tests/qemu-iotests/tests/nbd-structured-read-gaps.out

-- 
2.56.0



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

end of thread, other threads:[~2026-11-17 22:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-13 22:34 [PATCH for-11.2 0/4] Another NBD CVE fix: incomplete read Eric Blake
2026-11-13 22:34 ` [PATCH 1/4] nbd: Refactor structured payload interpretation Eric Blake
2026-11-17 18:06   ` Stefan Hajnoczi
2026-11-13 22:34 ` [PATCH 2/4] nbd: Pass back offset/length for all structured read replies Eric Blake
2026-11-17 18:06   ` Stefan Hajnoczi
2026-11-13 22:34 ` [PATCH 3/4] nbd/client: Don't leak uninitialized memory on malicious server Eric Blake
2026-11-17 18:06   ` Stefan Hajnoczi
2026-11-13 22:34 ` [PATCH 4/4] nbd: Add iotest exposing previous CVE fix Eric Blake
2026-11-17 18:06   ` Stefan Hajnoczi
2026-11-17 20:07     ` Eric Blake
2026-11-17 20:51       ` Philippe Mathieu-Daudé
2026-11-17 22:03         ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.