[RFC PATCH 0/3] hw/sd/sdhci: Fix DMA re-entrancy issue

2021-12-15 Thread Philippe Mathieu-Daudé
Hi, This series is an attempt to fix the DMA re-entrancy problem on the SDHCI device. OSS-Fuzz found it and Alexander generated a helpful reproducer. By setting the MemTxAttrs::memory bit before doing DMA transactions, the flatview API will return MEMTX_BUS_ERROR if the transaction targets a non-

Re: [PATCH 0/3] hw/sd/sdhci: Fix DMA re-entrancy issue

2021-12-15 Thread Philippe Mathieu-Daudé
On 12/15/21 21:55, Philippe Mathieu-Daudé wrote: > Hi, > > This series is an attempt to fix the DMA re-entrancy problem > on the SDHCI device. OSS-Fuzz found it and Alexander generated > a helpful reproducer. > > By setting the MemTxAttrs::memory bit before doing DMA transactions, > the flatview

[PATCH 0/3] hw/sd/sdhci: Fix DMA re-entrancy issue

2021-12-15 Thread Philippe Mathieu-Daudé
Hi, This series is an attempt to fix the DMA re-entrancy problem on the SDHCI device. OSS-Fuzz found it and Alexander generated a helpful reproducer. By setting the MemTxAttrs::memory bit before doing DMA transactions, the flatview API will return MEMTX_BUS_ERROR if the transaction targets a non-