Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751599AbbKHLpX (ORCPT ); Sun, 8 Nov 2015 06:45:23 -0500 Received: from mx2.suse.de ([195.135.220.15]:51227 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750823AbbKHLpR (ORCPT ); Sun, 8 Nov 2015 06:45:17 -0500 Date: Sun, 8 Nov 2015 12:45:12 +0100 From: Joerg Roedel To: Linus Torvalds Cc: Greg Kroah-Hartman , Linux Kernel Mailing List , stable , Jay Cornwall Subject: Re: [PATCH 4.1 11/86] iommu/amd: Fix BUG when faulting a PROT_NONE VMA Message-ID: <20151108114512.GF2255@suse.de> References: <20151106192205.351595349@linuxfoundation.org> <20151106192205.899033919@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 701 Lines: 19 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/