Skip to content

Fix some low-severity NBD CVEs

Eric Blake qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 5 repliesIn review
  2. v23 patches 8 repliesSuperseded
  3. v11 patch 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6docs: Mention security considerations for NBDdocs/system/security.rst+23 -01 reply
2/6iotests: Refactor python NBD server setuptests/qemu-iotests/iotests.py tests/qemu-iotests/tests/nbd-multiconn+38 -361 reply
3/6nbd/server: Reject rather than assert on non-compliant BLOCK_STATUSnbd/server.c+3 -21 reply
4/6iotests: Add new nbd-robustness testtests/qemu-iotests/tests/nbd-robustness tests/qemu-iotests/tests/nbd-robustness.out+137 -00 replies
5/6nbd/server: Reject rather than assert on non-compliant NBD_OPT_SET_META_CONTEXTnbd/server.c+5 -01 reply
6/6iotests: Add another nbd-robustness testtests/qemu-iotests/tests/nbd-robustness tests/qemu-iotests/tests/nbd-robustness.out+75 -20 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel P. BerrangéStefan Hajnoczi
SeriesR-b
1/6R-b
2/6R-b
3/6R-b
4/6
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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
Signature · 1 line
2.56.0