From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] iommu/arm-smmu: Check that iommu_fwspecs are ours Date: Thu, 3 Nov 2016 21:37:11 +0100 Message-ID: <20161103203711.GW3541@8bytes.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Robin Murphy Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, will.deacon-5wv7dgnIgG8@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Wed, Nov 02, 2016 at 05:31:32PM +0000, Robin Murphy wrote: > We seem to have forgotten to check that iommu_fwspecs actually belong to > us before we go ahead and dereference their private data. Oops. > > Fixes: 021bb8420d44 ("iommu/arm-smmu: Wire up generic configuration support") > Signed-off-by: Robin Murphy > --- > drivers/iommu/arm-smmu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)a Applied to iommu/fixes, thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 From: joro@8bytes.org (Joerg Roedel) Date: Thu, 3 Nov 2016 21:37:11 +0100 Subject: [PATCH] iommu/arm-smmu: Check that iommu_fwspecs are ours In-Reply-To: References: Message-ID: <20161103203711.GW3541@8bytes.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Nov 02, 2016 at 05:31:32PM +0000, Robin Murphy wrote: > We seem to have forgotten to check that iommu_fwspecs actually belong to > us before we go ahead and dereference their private data. Oops. > > Fixes: 021bb8420d44 ("iommu/arm-smmu: Wire up generic configuration support") > Signed-off-by: Robin Murphy > --- > drivers/iommu/arm-smmu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)a Applied to iommu/fixes, thanks.