From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:44108 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752115AbdGYDps (ORCPT ); Mon, 24 Jul 2017 23:45:48 -0400 Date: Mon, 24 Jul 2017 20:45:42 -0700 From: Greg KH To: John Brooks Cc: alexander.deucher@amd.com, christian.koenig@amd.com, stable@vger.kernel.org Subject: Re: [PATCH for 4.9] drm/ttm: Fix use-after-free in ttm_bo_clean_mm Message-ID: <20170725034542.GA7471@kroah.com> References: <1500945633163162@kroah.com> <20170725031530.GA26615@kitsune.fastquake.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170725031530.GA26615@kitsune.fastquake.com> Sender: stable-owner@vger.kernel.org List-ID: On Tue, Jul 25, 2017 at 03:15:30AM +0000, John Brooks wrote: > We unref the man->move fence in ttm_bo_clean_mm() and then call > ttm_bo_force_list_clean() which waits on it, except the refcount is now > zero so a warning is generated (or worse): Thanks for the backport! greg k-h