Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3278194ybc; Mon, 18 Nov 2019 12:29:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzZ1O0Otg3HBnLR4qLwVOaXJ7YiCUMbgSYZGFKRbcXV0ZhqK3uw4BqDg9pdiijVw7zM2klK X-Received: by 2002:a17:906:1d19:: with SMTP id n25mr28184159ejh.151.1574108953252; Mon, 18 Nov 2019 12:29:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574108953; cv=none; d=google.com; s=arc-20160816; b=conUTch2KpOFo94yXgh7k4iFkAKIp8ulaUY6v2xlc6YHtv0s7kiKzjqevFfPHxIJmk SdDtEs11aX5IFIIUUKzbiUQ+q9svc+bnz/Yo8OOPq0SnwQLObwbQzlK27LVI0wWfxSag 1VNypRz5qadKzUxB0qZ2lg2dWDLWwKBgNXVU/S2QKwVvqb4wZv0p+y7ZYOwBVs3pGw1a 1Gas2Iqe8zSGNR1BwWkC2RB/OtL2/xaNEd9KvHeCGqkIY5emg9gRfpM+jyv8np+Y5sct NRKVeamX84UqtPHTMT2MytdLzf8wZ1MFI/2fobmldtobaSmVAIa5zDGlFjjhNPlHRQqR q2mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rn9PmXG9zN7JtIt5zr+2mmeEEUnpYr+Jpitib9nTCsw=; b=xfqoyqgUzV9M+E51a3Miurbg5M1ddQOanhmhEgjPOfToUABhXmbSq2HR0Wy6Tsjzb8 3qBbBwDGOeo316mB2e3RWSpY51JZJo3PuqSMsdu+fsA0q4hSjoej7A8OxO24Fbv7St4j lWtclZJarLf0G9OmBbYYHMfld8714CRsYL85qaeqwqhu9yORXWQmUE/zYjDYejSTh4Nb bnIqbKI2gIYxQKNUMTaojOeBLehvt5iCGI4EoecvRRc1UxlYiqg0jW6WBmaRdsFRlCrW 3FURqC/cR3Ser31mLwt5ET5cJWvYeQOUq0hhWIa5tefCA/3CjzvDcTk9GWYBIXTF4173 9sxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v4mLBoSy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gx4si13020486ejb.182.2019.11.18.12.28.48; Mon, 18 Nov 2019 12:29:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v4mLBoSy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726714AbfKRU1R (ORCPT + 99 others); Mon, 18 Nov 2019 15:27:17 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:44752 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726638AbfKRU1R (ORCPT ); Mon, 18 Nov 2019 15:27:17 -0500 Received: by mail-qk1-f195.google.com with SMTP id m16so15661015qki.11 for ; Mon, 18 Nov 2019 12:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rn9PmXG9zN7JtIt5zr+2mmeEEUnpYr+Jpitib9nTCsw=; b=v4mLBoSymbGVEY1PIxQQ/QnlTxxm05B1sFyx2xM4xpn3XGoXHrCEf/wR4JBQJO0kCe TVyzSxhfdrNQPDeZ8D8ZhZZXvu0TZSaDHcLaINTDIWekINXmEnmavogvIc3PTAl84L+b 2buhVoL2TmTs7XoEC08/z8dh7xXa8ms0xrcdpOxnzSC4NdxaZomM4u8aGZ92Gy8d4un+ /X5osXDb2GXDiQewBy+OYiLHANMzip5COZ8B2Tf87Vb2mVx66J6Vovi75TXAVWRCxeYo zldpVYYAYa9YkQ2/AsmgAklR1hcebRFlENzey/vREbW4SNCUFJ85c6IfcuSdQi4fy3D5 WmsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rn9PmXG9zN7JtIt5zr+2mmeEEUnpYr+Jpitib9nTCsw=; b=jXUCT7bTnAF+s096KsAEP1hfScdNeMxMrNVsp5Qtmk1ZA1bVZbXae8HghZAajl1Kew StvoqrIsK6I+zor94QUpVfkNj0U9Q4TaJofsdoyEmAbU4XC67kU2t+/pQMXRJBW2GrUS 9RXQimglQZIfCQxNWl1SJ9QL542+1nv9vn2ooaXzHWa+0eQ7+DUXK3+QpHE4rUPelJ0x +4x+ndGmagAHNyQeiDauVC+oYcXMgSCps6y5ZAxqHrswBd/J9D1MaKxwJnna1Cu0EsRQ OMMA/lWui4kcbnv3J7mcXRfluUKzKr1CQEwnIOKpggshG56VitoVmsqwQqhdmeeEMufo 8T8w== X-Gm-Message-State: APjAAAWgkv4RgHwxTMOAksW4AGgOdAaxbRsYBzIZqXKc7UK29Ka/8x2g zcJaNa6yhKLnB91WQWZGwusZzw== X-Received: by 2002:a37:4906:: with SMTP id w6mr14513952qka.82.1574108834507; Mon, 18 Nov 2019 12:27:14 -0800 (PST) Received: from localhost (rfs.netwinder.org. [206.248.184.2]) by smtp.gmail.com with ESMTPSA id t27sm9004534qkm.19.2019.11.18.12.27.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Nov 2019 12:27:13 -0800 (PST) Date: Mon, 18 Nov 2019 15:27:12 -0500 From: Ralph Siemsen To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, syzbot+899a33dc0fa0dbaf06a6@syzkaller.appspotmail.com, Kefeng Wang , Jeremy Cline , Marcel Holtmann Subject: Re: [PATCH 4.9 02/31] Bluetooth: hci_ldisc: Postpone HCI_UART_PROTO_READY bit set in hci_uart_set_proto() Message-ID: <20191118202712.GA14832@maple.netwinder.org> References: <20191115062009.813108457@linuxfoundation.org> <20191115062010.682028342@linuxfoundation.org> <20191115161029.GA32365@maple.netwinder.org> <20191116075614.GB381281@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20191116075614.GB381281@kroah.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 16, 2019 at 03:56:14PM +0800, Greg Kroah-Hartman wrote: >> >> BTW, this also seems to be missing from 4.4 branch, although it was merged >> for 3.16 (per https://lore.kernel.org/stable/?q=Postpone+HCI). > >Odd that it was merged into 3.16, perhaps it was done there because some >earlier patch added the problem? This patch should really be viewed as a correction to an earlier commit: 84cb3df02aea ("Bluetooth: hci_ldisc: Fix null pointer derefence in case of early data"). This was merged 2016-Apr-08 into v4.7, and therefore is included in 4.9 and higher. Only very recently, on 2019-Sep-23, this was backported to 3.16, along with the correction. Both appeared in v3.16.74. > I say this as I do not think this is >relevant for the 4.4.y kernel, do you? Have you tried to apply this >patch there? The patch does not apply, but this is mainly due to the earlier commit missing. It seems to me like that earlier fix is desirable (and it was put into 3.16), along with the followup. So I would think we want it in 4.4 as well. [Aside: I'm really only interested in 4.9 and 4.19, so the 4.4 stuff is just a diversion. But figured I might as well mention what I found...] Regards, -Ralph