Bug 2488283 (CVE-2026-48914)

Summary: CVE-2026-48914 qemu-kvm: Heap buffer overflow in virtio-blk SCSI request handling
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in QEMU's virtio-blk device. The issue arises because the device does not properly validate the size of input descriptors before writing data. A malicious guest with high privileges could exploit this vulnerability by submitting a malformed virtio-blk SCSI request, leading to an out-of-bounds write in the host heap memory and a potential denial of service (DoS) for the QEMU process.
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: 2488291, 2488292    
Bug Blocks:    

Description OSIDB Bzimport 2026-06-12 09:22:24 UTC
QEMU's virtio-blk device can write past the end of a heap-allocated MMIO bounce buffer while handling a crafted `VIRTIO_BLK_T_SCSI_CMD` request. A malicious guest that can program virtio-blk request descriptors can make the second-to-last writable input descriptor point to an MMIO guest physical address with a length of only 1 byte. QEMU maps that descriptor through an exact-size heap bounce buffer, then `virtio_blk_handle_scsi()` writes the 4-byte `virtio_scsi_inhdr.errors` field without first checking that the descriptor is large enough. A malicious guest can cause an out-of-bounds host heap write in the QEMU process by submitting a malformed virtio-blk SCSI request.

Comment 3 Mauro Matteo Cascella 2026-06-12 09:36:56 UTC
Upstream patch:
https://lore.kernel.org/qemu-devel/20260526154957.1741622-1-stefanha@redhat.com/