Skip to content

dmg: add missing input validation (CVE-2026-65929 & CVE-2026-65928)

Stefan Hajnoczi qemu-devel 1 version Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3dmg: fix out-of-bounds load in search_chunk() (CVE-2026-65929)block/dmg.c+4 -12 replies
2/3dmg: refuse to open files with no chunksblock/dmg.c+6 -01 reply
3/3dmg: reject inconsistent UDRW chunk sector count and length (CVE-2026-65928)block/dmg.c+25 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/3R-b
2/3R-b
3/3

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

Read the v1 thread

Cover letter [PATCH for-11.1 0/3] dmg: add missing input validation (CVE-2026-65929 & CVE-2026-65928)

The read-only dmg block driver can crash or leak information when it encounters a malicious DMG file. The severity of these issues is low because the block driver is used in qemu-img convert workflows where there is no sensitive information to leak and crashing is a self-DoS.

See the individual patches for descriptions of the bugs.

Stefan Hajnoczi (3):
dmg: fix out-of-bounds load in search_chunk() (CVE-2026-65929)
dmg: refuse to open files with no chunks
dmg: reject inconsistent UDRW chunk sector count and length

    (CVE-2026-65928)
 block/dmg.c | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)
Signature · 1 line
2.55.0