On Tue, Mar 22, 2022 at 11:02:16AM +0100, Halil Pasic wrote:
Dear Stable Team,
This is a backport of ddbd89deb7d3 ("swiotlb: fix info leak with DMA_FROM_DEVICE") and aa6f8dcbab47 ("swiotlb: rework "fix info leak with DMA_FROM_DEVICE"") to 5.10.y.
I had to handle some merge conflicts, and at this point we have swiotlb_tbl_sync_single() as opposed to swiotlb_sync_single_for_device() so I had to handle that as well.
Halil Pasic (2): swiotlb: fix info leak with DMA_FROM_DEVICE swiotlb: rework "fix info leak with DMA_FROM_DEVICE"
kernel/dma/swiotlb.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-)
Thanks for these.
What about for kernels older than 5.10? Do they matter for this issue?
thanks,
greg k-h