logoalt Hacker News

bluepetertoday at 12:07 AM2 repliesview on HN

The kernel owns the page tables. It can always find another way in.


Replies

vlovich123today at 4:58 AM

But the point here is that userspace can use this to bypass kernel protections that would otherwise prevent it from mutating R^X pages for example, not that the kernel can bypass its own.

mschuster91today at 12:23 AM

> The kernel owns the page tables.

not entirely, IOMMU is a thing, that is IIRC how Amazon and other hyperscalers can promise you virtual machines whose memory cannot be touched even in the case the host is compromised (and, by extension, also if the feds arrive to v& your server).

show 2 replies