block/nbd.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 73 insertions(+), 14 deletions(-)
The following changes since commit 08c9bbb825148dec9669f5184ecf18823bb6d631:
Update version for v11.2.0-rc1 release (2026-11-18 12:57:24 -0800)
are available in the Git repository at:
https://gitlab.com/ebblake/qemu.git tags/pull-nbd-2026-11-19
for you to fetch changes up to 470888ffb0220911a0ab58f9ffd41d95f36e4a22:
nbd/client: Don't leak uninitialized memory on malicious server (2026-11-19 14:21:23 -0600)
----------------------------------------------------------------
NBD patches for 2026-11-19
- Eric Blake: CVE-2026-126657: heap leak on client to malicious NBD server
----------------------------------------------------------------
Eric Blake (3):
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
block/nbd.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 73 insertions(+), 14 deletions(-)
--
2.56.1
On 11/19/26 23:23, Eric Blake wrote:
> NBD patches for 2026-11-19
>
> - Eric Blake: CVE-2026-126657: heap leak on client to malicious NBD server
>
> ----------------------------------------------------------------
> Eric Blake (3):
> 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
>
> block/nbd.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++----------
> 1 file changed, 73 insertions(+), 14 deletions(-)
>
Hi Eric!
This patchset contains a single patch which is marked for-stable, the
last one. The first two are not marked as-such. However, when picking
up just the patch 3, I'm seeing iotest failures, for example:
# running qcow2 140
not ok qcow2 140
--- /build/qemu/10.0/tests/qemu-iotests/140.out
+++ /tmp/q10/scratch/qcow2-file-140/140.out.bad
@@ -11,6 +11,7 @@
{ 'execute': 'nbd-server-add',
'arguments': { 'device': 'drv' }}
{"return": {}}
+Pattern verification failed at offset 0, 65536 bytes
read 65536/65536 bytes at offset 0
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
{ 'execute': 'eject',
(it's always "Pattern verification failed").
but when applying all 3, the failures goes away.
I'm picking up all 3. Please let me know if I should not :)
Thanks,
/mjt
On Fri, Nov 20, 2026 at 11:52:25AM +0300, Michael Tokarev wrote: > On 11/19/26 23:23, Eric Blake wrote: > > > NBD patches for 2026-11-19 > > > > - Eric Blake: CVE-2026-126657: heap leak on client to malicious NBD server > > > > ---------------------------------------------------------------- > > Eric Blake (3): > > 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 > > > > block/nbd.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++---------- > > 1 file changed, 73 insertions(+), 14 deletions(-) > > > > Hi Eric! > > This patchset contains a single patch which is marked for-stable, the > last one. The first two are not marked as-such. ... > I'm picking up all 3. Please let me know if I should not :) All three should be backported to stable; the third depends on the first two being in place. My fault for not applying the tag consistently, and thanks for double-checking! -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org
On 11/19/26 12:23, Eric Blake wrote: > The following changes since commit 08c9bbb825148dec9669f5184ecf18823bb6d631: > > Update version for v11.2.0-rc1 release (2026-11-18 12:57:24 -0800) > > are available in the Git repository at: > > https://gitlab.com/ebblake/qemu.git tags/pull-nbd-2026-11-19 > > for you to fetch changes up to 470888ffb0220911a0ab58f9ffd41d95f36e4a22: > > nbd/client: Don't leak uninitialized memory on malicious server (2026-11-19 14:21:23 -0600) > > ---------------------------------------------------------------- > NBD patches for 2026-11-19 > > - Eric Blake: CVE-2026-126657: heap leak on client to malicious NBD server Applied, thanks. r~
© 2016 - 2026 Red Hat, Inc.