[PULL v2 0/6] NBD patches through 2026-11-10

Eric Blake posted 6 patches 1 week, 2 days ago
Failed in applying to current master (apply log)
docs/system/security.rst                    |  23 ++++
nbd/server.c                                |  10 +-
tests/qemu-iotests/iotests.py               |  30 ++++
tests/qemu-iotests/tests/nbd-multiconn      |  44 ++----
tests/qemu-iotests/tests/nbd-robustness     | 205 ++++++++++++++++++++++++++++
tests/qemu-iotests/tests/nbd-robustness.out |   5 +
6 files changed, 279 insertions(+), 38 deletions(-)
create mode 100755 tests/qemu-iotests/tests/nbd-robustness
create mode 100644 tests/qemu-iotests/tests/nbd-robustness.out
[PULL v2 0/6] NBD patches through 2026-11-10
Posted by Eric Blake 1 week, 2 days ago
The following changes since commit 4bcd55a1f4b926ae86872087f7f3bc9f9e1d065e:

  Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging (2026-11-12 21:14:41 -0700)

are available in the Git repository at:

  https://gitlab.com/ebblake/qemu.git tags/pull-nbd-2026-11-10-v2

for you to fetch changes up to e682c0e570179bd7fa01ea896358a8cdad196a3b:

  iotests: Add another nbd-robustness test (2026-11-13 08:02:09 -0600)

In v2, defer Guillame's patches (the bug was minor, and the unit test
to verify the bug fix was flaky) to a later date

----------------------------------------------------------------
NBD patches through 2026-11-10

A few bug fixes:
- Eric Blake: fix two low-severity CVEs with non-compliant NBD clients

----------------------------------------------------------------
Eric Blake (6):
      docs: Mention security considerations for NBD
      iotests: Refactor python NBD server setup
      nbd/server: Reject rather than assert on non-compliant BLOCK_STATUS
      iotests: Add new nbd-robustness test
      nbd/server: Reject rather than assert on non-compliant NBD_OPT_SET_META_CONTEXT
      iotests: Add another nbd-robustness test

 docs/system/security.rst                    |  23 ++++
 nbd/server.c                                |  10 +-
 tests/qemu-iotests/iotests.py               |  30 ++++
 tests/qemu-iotests/tests/nbd-multiconn      |  44 ++----
 tests/qemu-iotests/tests/nbd-robustness     | 205 ++++++++++++++++++++++++++++
 tests/qemu-iotests/tests/nbd-robustness.out |   5 +
 6 files changed, 279 insertions(+), 38 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/nbd-robustness
 create mode 100644 tests/qemu-iotests/tests/nbd-robustness.out

-- 
2.56.0
Re: [PULL v2 0/6] NBD patches through 2026-11-10
Posted by Michael Tokarev 1 week, 1 day ago
On 11/13/26 17:30, Eric Blake wrote:
> The following changes since commit 4bcd55a1f4b926ae86872087f7f3bc9f9e1d065e:
> 
>    Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging (2026-11-12 21:14:41 -0700)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/ebblake/qemu.git tags/pull-nbd-2026-11-10-v2
> 
> for you to fetch changes up to e682c0e570179bd7fa01ea896358a8cdad196a3b:
> 
>    iotests: Add another nbd-robustness test (2026-11-13 08:02:09 -0600)
> 
> In v2, defer Guillame's patches (the bug was minor, and the unit test
> to verify the bug fix was flaky) to a later date
> 
> ----------------------------------------------------------------
> NBD patches through 2026-11-10
> 
> A few bug fixes:
> - Eric Blake: fix two low-severity CVEs with non-compliant NBD clients
> 
> ----------------------------------------------------------------
> Eric Blake (6):
>        docs: Mention security considerations for NBD
>        iotests: Refactor python NBD server setup
>        nbd/server: Reject rather than assert on non-compliant BLOCK_STATUS
>        iotests: Add new nbd-robustness test
>        nbd/server: Reject rather than assert on non-compliant NBD_OPT_SET_META_CONTEXT
>        iotests: Add another nbd-robustness test
> 
>   docs/system/security.rst                    |  23 ++++
>   nbd/server.c                                |  10 +-
>   tests/qemu-iotests/iotests.py               |  30 ++++
>   tests/qemu-iotests/tests/nbd-multiconn      |  44 ++----
>   tests/qemu-iotests/tests/nbd-robustness     | 205 ++++++++++++++++++++++++++++
>   tests/qemu-iotests/tests/nbd-robustness.out |   5 +
>   6 files changed, 279 insertions(+), 38 deletions(-)
>   create mode 100755 tests/qemu-iotests/tests/nbd-robustness
>   create mode 100644 tests/qemu-iotests/tests/nbd-robustness.out
I'm picking up this whole Pull Request to the stable qemu series, -
besides 2 fixes it includes the tests and the documentation update.

Please let me know if I should not :)

Thanks,

/mjt
Re: [PULL v2 0/6] NBD patches through 2026-11-10
Posted by Eric Blake 6 days, 12 hours ago
On Sat, Nov 14, 2026 at 09:27:02PM +0300, Michael Tokarev wrote:
> > ----------------------------------------------------------------
> > Eric Blake (6):
> >        docs: Mention security considerations for NBD
> >        iotests: Refactor python NBD server setup
> >        nbd/server: Reject rather than assert on non-compliant BLOCK_STATUS
> >        iotests: Add new nbd-robustness test
> >        nbd/server: Reject rather than assert on non-compliant NBD_OPT_SET_META_CONTEXT
> >        iotests: Add another nbd-robustness test

> I'm picking up this whole Pull Request to the stable qemu series, -
> besides 2 fixes it includes the tests and the documentation update.
> 
> Please let me know if I should not :)

While the two patches for the CVE fixes are essential, I see no
problem with the rest of the series also going into stable. Testing
that a CVE fix works even in the backport always sounds reasonable to
me! And the doc update is useful information on best practices for
minimizing security risks.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization:  qemu.org | libguestfs.org
Re: [PULL v2 0/6] NBD patches through 2026-11-10
Posted by Richard Henderson 1 week, 2 days ago
On 11/13/26 07:30, Eric Blake wrote:
> The following changes since commit 4bcd55a1f4b926ae86872087f7f3bc9f9e1d065e:
> 
>    Merge tag 'pull-trivial-patches' ofhttps://gitlab.com/mjt0k/qemu into staging (2026-11-12 21:14:41 -0700)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/ebblake/qemu.git tags/pull-nbd-2026-11-10-v2
> 
> for you to fetch changes up to e682c0e570179bd7fa01ea896358a8cdad196a3b:
> 
>    iotests: Add another nbd-robustness test (2026-11-13 08:02:09 -0600)
> 
> In v2, defer Guillame's patches (the bug was minor, and the unit test
> to verify the bug fix was flaky) to a later date
> 
> ----------------------------------------------------------------
> NBD patches through 2026-11-10
> 
> A few bug fixes:
> - Eric Blake: fix two low-severity CVEs with non-compliant NBD clients

Applied, thanks.

r~