From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:54630 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732640AbeITRDH (ORCPT ); Thu, 20 Sep 2018 13:03:07 -0400 Date: Thu, 20 Sep 2018 13:20:03 +0200 From: Greg KH To: Heikki Krogerus Cc: Hans de Goede , linux-usb@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 1/2] usb: typec: mux: Take care of driver module reference counting Message-ID: <20180920112003.GA12655@kroah.com> References: <20180919075805.61319-1-heikki.krogerus@linux.intel.com> <20180919075805.61319-2-heikki.krogerus@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180919075805.61319-2-heikki.krogerus@linux.intel.com> Sender: stable-owner@vger.kernel.org List-ID: On Wed, Sep 19, 2018 at 10:58:04AM +0300, Heikki Krogerus wrote: > Functions typec_mux_get() and typec_switch_get() already > make sure that the mux device reference count is > incremented, but the same must be done to the driver module > as well to prevent the drivers from being unloaded in the > middle of operation. > > This fixes a potential "BUG: unable to handle kernel paging > request at ..." from happening. > > Fixes: 93dd2112c7b2 ("usb: typec: mux: Get the mux identifier from function parameter") > Cc: Why is this flagged for stable? 93dd2112c7b2 went into 4.19-rc1 and has not been backported anywhere else. confused, greg k-h