Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757435AbcCaQtT (ORCPT ); Thu, 31 Mar 2016 12:49:19 -0400 Received: from mail-yw0-f169.google.com ([209.85.161.169]:36501 "EHLO mail-yw0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755616AbcCaQtS (ORCPT ); Thu, 31 Mar 2016 12:49:18 -0400 Date: Thu, 31 Mar 2016 12:49:15 -0400 From: Tejun Heo To: Chris Wilson Cc: intel-gfx@lists.freedesktop.org, Ville =?iso-8859-1?Q?Syrj=E4l=E4?= , Joonas Lahtinen , Greg Kroah-Hartman , NeilBrown , linux-kernel@vger.kernel.org Subject: Re: [PATCH] kernfs: Move faulting copy_user operations outside of the mutex Message-ID: <20160331164915.GC24661@htj.duckdns.org> References: <1459421106-17788-1-git-send-email-chris@chris-wilson.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1459421106-17788-1-git-send-email-chris@chris-wilson.co.uk> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 793 Lines: 22 On Thu, Mar 31, 2016 at 11:45:06AM +0100, Chris Wilson wrote: > A fault in a user provided buffer may lead anywhere, and lockdep warns > that we have a potential deadlock between the mm->mmap_sem and the > kernfs file mutex: ... > Reported-by: Ville Syrj?l? > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94350 > Signed-off-by: Chris Wilson > Reviewed-by: Joonas Lahtinen > Cc: Ville Syrj?l? > Cc: Joonas Lahtinen > Cc: Tejun Heo > Cc: Greg Kroah-Hartman > Cc: NeilBrown > Cc: linux-kernel@vger.kernel.org Acked-by: Tejun Heo Thanks! -- tejun