lwn.net/SubscriberLink …
'Bounce buffers for untrusted devices'
An approach like this should be done for all devices, not only 'untrusted' ones, since internal hardware can be compromised by an attacker or even malicious from the start. Recent thread:
Quote Tweet
Replying to @vyodaiken @billhuey and 6 others
Sharing actual list (including access to pointers) with hardware is unsafe, bogus to do. Sharing the data buffer space does not require any complex data structures. Storage for that should be allocated and managed by OS infrastructure outside of the driver.

