Bug 2313760 (CVE-2024-8612) - CVE-2024-8612 qemu-kvm: information leak in virtio devices
Summary: CVE-2024-8612 qemu-kvm: information leak in virtio devices
Keywords:
Status: NEW
Alias: CVE-2024-8612
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2313763
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-20 13:04 UTC by OSIDB Bzimport
Modified: 2024-09-20 17:14 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-20 13:04:46 UTC
A flaw was found in QEMU in the virtio-scsi, virtio-blk and virtio-crypto devices. The size for virtqueue_push as set in virtio_scsi_complete_req / virtio_blk_req_complete / virito_crypto_req_complete could be larger than the true size of the data which has been sent to guest. 

Once virtqueue_push() finally calls dma_memory_unmap to ummap the in_iov, it may call the address_space_write function to write back the data. Some uninitialized data may exist in the bounce.buffer, leading to an information leak.

Upstream fix:
https://gitlab.com/qemu-project/qemu/-/commit/637b0aa139565cb82a7b9269e62214f87082635c


Note You need to log in before you can comment on or make changes to this bug.