Re: [PATCH 1/2] x86: consider effective protection attributes in W+X check

From: Ingo Molnar
Date: Tue Dec 12 2017 - 05:36:50 EST



* Jan Beulich <JBeulich@xxxxxxxx> wrote:

> Using just the leaf page table entry flags would cause a false warning
> in case _PAGE_RW is clear or _PAGE_NX is set in a higher level entry.

Good find - I assume this bug can cause both false positives and false negatives
as well, right?

Thanks,

Ingo