pve-qemu/debian/patches/extra
Fiona Ebner 816077299c fix #2874: SATA: avoid unsolicited write to sector 0 during reset
If there is a pending DMA operation during ide_bus_reset(), the fact
that the IDEstate is already reset before the operation is canceled
can be problematic. In particular, ide_dma_cb() might be called and
then use the reset IDEstate which contains the signature after the
reset. When used to construct the IO operation this leads to
ide_get_sector() returning 0 and nsector being 1. This is particularly
bad, because a write command will thus destroy the first sector which
often contains a partition table or similar.

Upstream discussion:
https://lists.nongnu.org/archive/html/qemu-devel/2023-08/msg04239.html

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-09-26 11:30:22 +02:00
..
0001-monitor-qmp-fix-race-with-clients-disconnecting-earl.patch update submodule and patches to QEMU 8.0.0 2023-05-22 15:09:14 +02:00
0002-scsi-megasas-Internal-cdbs-have-16-byte-length.patch update reentrancy patches to version in upstream git 2023-06-06 16:32:38 +02:00
0003-ide-avoid-potential-deadlock-when-draining-during-tr.patch update reentrancy patches to version in upstream git 2023-06-06 16:32:38 +02:00
0004-ui-return-NULL-when-getting-cursor-without-a-console.patch update reentrancy patches to version in upstream git 2023-06-06 16:32:38 +02:00
0005-memory-prevent-dma-reentracy-issues.patch update reentrancy patches to version in upstream git 2023-06-06 16:32:38 +02:00
0006-lsi53c895a-disable-reentrancy-detection-for-script-R.patch update reentrancy patches to version in upstream git 2023-06-06 16:32:38 +02:00
0007-bcm2835_property-disable-reentrancy-detection-for-io.patch update reentrancy patches to version in upstream git 2023-06-06 16:32:38 +02:00
0008-raven-disable-reentrancy-detection-for-iomem.patch update reentrancy patches to version in upstream git 2023-06-06 16:32:38 +02:00
0009-apic-disable-reentrancy-detection-for-apic-msi.patch update reentrancy patches to version in upstream git 2023-06-06 16:32:38 +02:00
0010-migration-block-dirty-bitmap-fix-loading-bitmap-when.patch add patch fixing resume for snapshot and hibernate with drive with iothread and a dirty bitmap 2023-07-28 12:00:50 +02:00
0011-vhost-fix-the-fd-leak.patch add patch fixing fd leak for vhost 2023-08-03 17:40:13 +02:00
0012-hw-ide-reset-cancel-async-DMA-operation-before-reset.patch fix #2874: SATA: avoid unsolicited write to sector 0 during reset 2023-09-26 11:30:22 +02:00