https://gitlab.com/qemu-project/qemu/-/work_items/3815
This one is a bug with QEMU as NBD client leaking qemu heap data under the influence from a malicious server. Not as dramatic as the denial-of-service attacks that my two CVE fixes earlier this week (those were both assertion failures on QEMU as NBD server to a malicious client), but the data exfiltration may make other attacks on QEMU easier to pull off. As before, the ability to insist on TLS and perform x509 cert checks reduces the risk when you restrict NBD connections to assumed-safe servers. Eric Blake (4): 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 nbd: Add iotest exposing previous CVE fix block/nbd.c | 87 +++++-- .../tests/nbd-structured-read-gaps | 215 ++++++++++++++++++ .../tests/nbd-structured-read-gaps.out | 5 + 3 files changed, 293 insertions(+), 14 deletions(-) create mode 100755 tests/qemu-iotests/tests/nbd-structured-read-gaps create mode 100644 tests/qemu-iotests/tests/nbd-structured-read-gaps.out -- 2.56.0
