From: Eric Blake <eblake@redhat.com>
To: qemu-devel@nongnu.org
Cc: qemu-stable@nongnu.org, berrange@redhat.com,
qemu-block@nongnu.org,
Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Subject: [PATCH v2 1/3] docs: Mention security considerations for NBD
Date: Sat, 7 Nov 2026 16:54:36 -0600 [thread overview]
Message-ID: <20261107225834.778738-6-eblake@redhat.com> (raw)
In-Reply-To: <20261107225834.778738-5-eblake@redhat.com>
Document a policy that NBD connections should strongly consider using
TLS and x509 certificates to filter out untrusted clients. If a
malicious server or client can trigger a QEMU assertion failure on a
plaintext connection, but can be trivially mitigated by enabling TLS
to weed out untrusted partners that would violate the protocol in the
first place, then I prefer to treat the bug as a lower-priority issue,
which our policy states can be fixed without an embargo.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
docs/system/security.rst | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/docs/system/security.rst b/docs/system/security.rst
index e211fdd2344..7b422d51472 100644
--- a/docs/system/security.rst
+++ b/docs/system/security.rst
@@ -320,3 +320,24 @@ encryption and authorization control policy on client connections.
In summary, the monitor console is considered a privileged control interface to
QEMU and as such should only be made accessible to a trusted management
application or user.
+
+Block device network protocols (NBD, NFS, etc.)
+'''''''''''''''''''''''''''''''''''''''''''''''
+
+When using QEMU to access remote storage over a network (such as QEMU
+acting as an NBD or NFS client) or to provide remote storage access
+(such as QEMU acting as an NBD server), it is important to realize
+that an unencrypted connection can allow an external process a
+potential attack vector over the network port. When possible, QEMU
+should be configured to require TLS to prevent a man-in-the-middle
+attack, as well as use x509 client certificates with the
+tls-creds-x509 object set with 'verify-peer=on' to check that the peer
+is allowed to connect. It may also be worth using 'tls-authz' to
+filter which certificates are allowed if the CA issues certs more
+broadly.
+
+Proper hardening of network connections can prevent the use of
+untrusted clients, and is therefore a factor when considering whether
+a malicious network partner that intentionally violates the
+communication protocol to trigger a QEMU bug can be treated as a lower
+priority bug.
--
2.56.0
next prev parent reply other threads:[~2026-11-07 23:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-07 22:54 [PATCH for-11.2 v2 0/3] Avoid low-severity NBD denial-of-service attack Eric Blake
2026-11-07 22:54 ` Eric Blake [this message]
2026-11-09 15:58 ` [PATCH v2 1/3] docs: Mention security considerations for NBD Stefan Hajnoczi
2026-11-09 20:48 ` Eric Blake
2026-11-10 8:48 ` Daniel P. Berrangé
2026-11-07 22:54 ` [PATCH v2 2/3] nbd/server: Reject rather than assert on non-compliant BLOCK_STATUS Eric Blake
2026-11-09 13:57 ` Eric Blake
2026-11-09 15:45 ` Stefan Hajnoczi
2026-11-09 15:51 ` Stefan Hajnoczi
2026-11-07 22:54 ` [PATCH v2 3/3] iotests: Add new nbd-robustness test Eric Blake
2026-11-09 15:36 ` Stefan Hajnoczi
2026-11-09 16:06 ` Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261107225834.778738-6-eblake@redhat.com \
--to=eblake@redhat.com \
--cc=berrange@redhat.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.