Bug 2581778

Summary: CVE-2026-126657 qemu: Host heap memory disclosure via incomplete structured NBD read replies [fedora-all]
Product: [Fedora] Fedora Reporter: Mauro Matteo Cascella <mcascell>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: berrange, cfergeau, crobinso, mcascell, pbonzini, rich, suraj.ghimire7, virt-maint
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["0258d1b9-01d8-4e55-9cf8-6b6bf3f93560"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2576450    

Description Mauro Matteo Cascella 2026-11-23 10:33:21 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in QEMU's NBD block driver (block/nbd.c). A malicious NBD server can respond to a read request with a DONE-marked structured reply covering only part of the requested sector. QEMU accepts this incomplete read as successful and returns the full sector to the guest, including bytes from the uninitialized portion of a host heap buffer. This results in host QEMU process memory being disclosed to the guest VM, potentially leaking sensitive data such as credentials or other guests' data. The flaw is also reachable through the IDE buffered read path (hw/ide/core.c).

Upstream report: https://gitlab.com/qemu-project/qemu/-/work_items/3815