Efficient intra-operating system protection against harmful DMAs