Another NBD CVE fix: incomplete read
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | nbd: Refactor structured payload interpretationblock/ | +15 | 1 reply | |
| 2/4 | nbd: Pass back offset/length for all structured read repliesblock/ | +35 | 1 reply | |
| 3/4 | nbd/client: Don't leak uninitialized memory on malicious serverblock/ | +23 | 1 reply | |
| 4/4 | nbd: Add iotest exposing previous CVE fixtests/ tests/ | +220 | 7 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Stefan Hajnoczi |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH for-11.2 0/4] Another NBD CVE fix: incomplete read
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
Signature · 1 line
2.56.0