Thread (38 messages) flat view 38 messages, 5 authors, 2021-06-04

Re: [PATCH v1 1/8] virtio: Force only split mode with protected guest

From: Andi Kleen <hidden>
Date: 2021-06-03 13:55:21
Also in: linux-iommu, lkml

Ok, but what I meant is this, if we don't read from the descriptor 
ring, and validate all the other metadata supplied by the device (used 
id and len). Then there should be no way for the device to suppress 
the dma flags to write to the indirect descriptor table.

Or do you have an example how it can do that?
I don't. If you can validate everything it's probably ok

The only drawback is even more code to audit and test.

-Andi


_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help