From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5F8FC33CB1 for ; Sun, 19 Jan 2020 15:47:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A942C2051A for ; Sun, 19 Jan 2020 15:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579448857; bh=vKdnwFegY4lORdPR9LxRCMpU+nrPnivwbggKhCmFFtk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=ZqzQ3khAfTF4ne+fruJAtkLFCRkmkhgX5v6HZHVR94Ap584RakDPPYeMGC1VHBXWi WGvjwVLgYHTr3mINSjM/8kMc5NCXNyyYXlhr7rpAIsI7/0LIPkdbYAvpOz7O1yeCUu wB3HeUhLj5xPauIFa/ZITtfCZKQx7ETvXaIJ0cPo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726860AbgASPrh (ORCPT ); Sun, 19 Jan 2020 10:47:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:43328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726778AbgASPrg (ORCPT ); Sun, 19 Jan 2020 10:47:36 -0500 Received: from localhost (96-81-74-198-static.hfc.comcastbusiness.net [96.81.74.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F340E2051A; Sun, 19 Jan 2020 15:47:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579448856; bh=vKdnwFegY4lORdPR9LxRCMpU+nrPnivwbggKhCmFFtk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UrSgNq1g2i8GWaTtyM2i3ewqHQJD/MLD1VaZt3RdTFnq0TLcYppSMqlGkLGhNmuRu 6Cj/WJ5YpIBVT/SHx1YyCGvQMjLsCGPQDHxP94TOqvOyDyldYFq6RCvIrSvbzmjQ7r MeDjNLrk4pz6vaAHF9WgINcVVexu0wSC+W6zbKtQ= Date: Sun, 19 Jan 2020 10:47:33 -0500 From: Sasha Levin To: gregkh@linuxfoundation.org Cc: johan@kernel.org, stable@vger.kernel.org Subject: Re: FAILED: patch "[PATCH] USB: serial: keyspan: handle unbound ports" failed to apply to 4.9-stable tree Message-ID: <20200119154733.GR1706@sasha-vm> References: <157944127621242@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <157944127621242@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Sun, Jan 19, 2020 at 02:41:16PM +0100, gregkh@linuxfoundation.org wrote: > >The patch below does not apply to the 4.9-stable tree. >If someone wants it applied there, or to any other stable or longterm >tree, then please email the backport, including the original git commit >id to . > >thanks, > >greg k-h > >------------------ original commit in Linus's tree ------------------ > >>From 3018dd3fa114b13261e9599ddb5656ef97a1fa17 Mon Sep 17 00:00:00 2001 >From: Johan Hovold >Date: Fri, 17 Jan 2020 10:50:25 +0100 >Subject: [PATCH] USB: serial: keyspan: handle unbound ports > >Check for NULL port data in the control URB completion handlers to avoid >dereferencing a NULL pointer in the unlikely case where a port device >isn't bound to a driver (e.g. after an allocation failure on port >probe()). > >Fixes: 0ca1268e109a ("USB Serial Keyspan: add support for USA-49WG & USA-28XG") >Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") >Cc: stable >Reviewed-by: Greg Kroah-Hartman >Signed-off-by: Johan Hovold Grabbing the prerequisite for the other USB patch also resolved the conflict here, now queued for 4.9 and 4.4. -- Thanks, Sasha