3 ms·
Does this bug also imply they're not using SMAP, since otherwise any kernel access to the page tables should have tripped it?
by caf 9y ago
Does this bug also imply they're not using SMAP, since otherwise any kernel access to the page tables should have tripped it?
- caf 9y agoReplying to myself, I guess not, because the kernel doesn't modify the user pagetables using the user pagetables' own self-referencing entry. Rather it has the kernel %cr3 loaded and modifies them using a mapping of the user pagetables in those kernel pagetables.
- caf 9y ago..which, on further reflection, raises the question: if those page tables aren't loaded when in kernel mode, why do they even need a self-referential entry at all?