[PATCH for-11.2 v3 0/6] Fix some low-severity NBD CVEs

Eric Blake posted 6 patches 1 week, 5 days ago
Only 1 patches received!
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
[PATCH for-11.2 v3 0/6] Fix some low-severity NBD CVEs
Posted by Eric Blake 1 week, 5 days ago
Since v2 (https://lists.nongnu.org/archive/html/qemu-devel/2026-11/msg01673.htm\
l):
- Tweak the documentation in patch 1 again [Stefan, Dan]
- Improve unit tests, and pass pylint iotest 297 (new patch 2, also patch 4, 6)
- Retain assertion at safer point for first bug (patch 3)
- Second CVE addressed as well (patch 5, 6)

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: [PATCH for-11.2 v3 0/6] Fix some low-severity NBD CVEs
Posted by Stefan Hajnoczi 1 week, 5 days ago
On Tue, Nov 10, 2026 at 09:30:00AM -0600, Eric Blake wrote:
> Since v2 (https://lists.nongnu.org/archive/html/qemu-devel/2026-11/msg01673.htm\
> l):
> - Tweak the documentation in patch 1 again [Stefan, Dan]
> - Improve unit tests, and pass pylint iotest 297 (new patch 2, also patch 4, 6)
> - Retain assertion at safer point for first bug (patch 3)
> - Second CVE addressed as well (patch 5, 6)
> 
> 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
> 
> 

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>