qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] CVE-2023-5088
@ 2023-09-21 16:07 Simon Rowe
  2023-09-21 16:07 ` [PATCH 1/1] hw/ide/core: terminate in-flight DMA on IDE bus reset Simon Rowe
  0 siblings, 1 reply; 12+ messages in thread
From: Simon Rowe @ 2023-09-21 16:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: John Snow, qemu-block, f.ebner, Simon Rowe

The attached patch fixes CVE-2023-5088 in which a bug in QEMU could
cause a guest I/O operation otherwise addressed to an arbitrary disk
offset to be targeted to offset 0 instead (potentially overwriting the
VM's boot code). This could be used, for example, by L2 guests with a
virtual disk (vdiskL2) stored on a virtual disk of an L1 (vdiskL1)
hypervisor to read and/or write data to LBA 0 of vdiskL1, potentially
gaining control of L1 at its next reboot.

The symptoms behind this bug have been previously reported as MBR
corruptions and an independent fix has been posted by Fiona Ebner in:

https://lists.gnu.org/archive/html/qemu-devel/2023-08/msg03883.html

Simon Rowe (1):
  hw/ide/core: terminate in-flight DMA on IDE bus reset

 hw/ide/core.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

-- 
2.22.3



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-10-04  7:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-21 16:07 [PATCH 0/1] CVE-2023-5088 Simon Rowe
2023-09-21 16:07 ` [PATCH 1/1] hw/ide/core: terminate in-flight DMA on IDE bus reset Simon Rowe
2023-09-25 19:53   ` John Snow
2023-09-26  7:11     ` Fiona Ebner
2023-09-26 14:45       ` John Snow
2023-09-28 11:23         ` Fiona Ebner
2023-10-02  9:08           ` Simon Rowe
2023-10-02 22:59             ` John Snow
2023-10-03 12:46               ` Simon Rowe
2023-10-03 14:06     ` Niklas Cassel
2023-10-03 17:05       ` John Snow
2023-10-04  7:51         ` Simon Rowe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).