Re: [PATCH 4.1 11/86] iommu/amd: Fix BUG when faulting a PROT_NONE VMA

From: Joerg Roedel
Date: Sun Nov 08 2015 - 06:46:03 EST


On Fri, Nov 06, 2015 at 12:49:20PM -0800, Linus Torvalds wrote:
> I'm not arguing against the stable backport, because that is fine. But
> I think this should be fixed further.
>
> Joerg?

Huh, you are right, I completly missed that. Basically the code needs to
do a lot of checks that the cpu page-fault handlers also do, including
the access-checks. Other checks are probably necessary too, I'll have
look at this. Thanks for pointing it out.


Joerg

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/