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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no 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 97BADC33CB1 for ; Sun, 19 Jan 2020 15:51:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6245220679 for ; Sun, 19 Jan 2020 15:51:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579449111; bh=pH4zHIYMH+RYfutX/BxK/DKPgQLnsGFzBAUFRQtPKW8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Vxe9dczCFbenDyw9GT8zzDFGiAxCJI28ltxzdVkiuszPiGJyE6Mi9ty8frgzszbeY hotwkoAbfPvxLs1kMBJmqU5wTxcSaibZiDhyA69RAXRyNNT6l+ihG98V115S+o2tSj D4F6DjEAiemeV+Y4TWq+9j0mdHWlHQU9huGXihkU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726925AbgASPvu (ORCPT ); Sun, 19 Jan 2020 10:51:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:46294 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbgASPvu (ORCPT ); Sun, 19 Jan 2020 10:51:50 -0500 Received: from localhost (unknown [84.241.197.67]) (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 615A420679; Sun, 19 Jan 2020 15:51:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579449110; bh=pH4zHIYMH+RYfutX/BxK/DKPgQLnsGFzBAUFRQtPKW8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sVhAd7D3ZNPT0rOHfQKkAIVYZ3fEVQv1oLvI/WUa25vQPak+gOWMNgcA2Z+poCx3K 42hmb3KlC84fdYaw1qmJrGJ0aDF3CrgW25adWUgGO1lvkSJM1pT5Yy+haHMlDSSeNT mydamPj7qMHmH4hHAYj81a69niRslii2B95qn8x0= Date: Sun, 19 Jan 2020 16:51:46 +0100 From: Greg KH To: Sasha Levin 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: <20200119155146.GA345231@kroah.com> References: <157944127621242@kroah.com> <20200119154733.GR1706@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200119154733.GR1706@sasha-vm> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Sun, Jan 19, 2020 at 10:47:33AM -0500, Sasha Levin wrote: > 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 for this and the other fixups you're doing here, much appreciated. greg k-h