Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2284417lqt; Mon, 22 Apr 2024 06:54:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwNb1o8EwdtrTMiJ86flqdum4TTPFipaOhBy9L77Vc7bBJuphcfY+n1BaICqVwsYQ53NylpixyTHw2k8rmEkLYmOETYWOVQRweHTl02g== X-Google-Smtp-Source: AGHT+IGL9ReUmeIwNHQsUB+rvwZxiH9hAcswbYhRN6rhiu/4BBD5HcwmWGmMP6cGGCRwDHVTc8pS X-Received: by 2002:a50:c05c:0:b0:56d:f637:451c with SMTP id u28-20020a50c05c000000b0056df637451cmr6502077edd.32.1713794049614; Mon, 22 Apr 2024 06:54:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713794049; cv=pass; d=google.com; s=arc-20160816; b=fRXi2S4CikTz1lDg2wlTtEkgPbTtr5h9TlQf8T5JeinimB9IwmEDxgXiqRE2ddddbW XzsxFQv3dlYbcRjROHf4kD4Z+Xcm21W6Bb/Lz4HPsLT8MJIeRdJMJHWkM61Mc/7QsYzF R6hmLJNP7u9h314CRrBG1gUDGSHZ+lRHJcvXpRtoRLKzxIWRsf8LgpjrUZeMyk8ZYF7h viTh8OKIyNBwWBvErOxqZNC2kaBeHZ+sYWNBslSxaV5zLL1uPUviPWJW8amavIdOwRyQ QH7MbdpaDAssjSEA6JhXK1N0eCjzCG/ooPHzICTEZymb0iViHrEXF5MC3qaca2F2F+qv P/Ag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=1LEM9aTZtzNviWZvRo/wuDRCghamGO9W+vXQRpk+4B4=; fh=8KMg0ZAyFbvU6FRHwhAklT0yajF4h14fT22bER7TSWY=; b=pCtxj8DrCwtDODuu+RD1dQO1AC43EH8em5/+NTIXLcrQEAStyjxbb/QA7b22TcwB1C PAtlllI9t6cQRC622WpaTc9HRm1VcPTSWPaFqSfSA9V+OyiD75vL5NW1imHYhTVYkxM9 5KiGZHBI1FBKnBEIiiIL0y9nYlRbr1kiu7Qo/w2AKYL/12C3d/HHqxQTL+L1lPNFk7H1 1wGjdOMC1ZZEmYVrDGBAq5FqbOGN4hIRRhVAWaWsr6i5f/OzsTeVAAGymR1IAGAfh5pX MFcFB7qgCy8DP3TvVo9ZTKVApUKvxLaQ9M3BaOrKrwHGIMj0wL0tZq/l5NEQrvAj4YiI hRQw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OoSg1g5l; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-bluetooth+bounces-3867-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3867-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v10-20020aa7d80a000000b00570a6f10a09si5745913edq.582.2024.04.22.06.54.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 06:54:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3867-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OoSg1g5l; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-bluetooth+bounces-3867-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3867-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3206F1F21505 for ; Mon, 22 Apr 2024 13:54:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B133150993; Mon, 22 Apr 2024 13:54:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="OoSg1g5l" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B39E14F9EB; Mon, 22 Apr 2024 13:54:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713794043; cv=none; b=DvIzscIDB3u8CEVo0oiCvhhy7gNi2BFWq98X92wuzzBgf4NLxhJdCe9YmBAbckKlCgaoC8OmZdMss2JElEb5yy6KvfTqkEOXjOBUTeyTNF9VlZgs3qjAPhWuPvuuX8NSzME7LhipuujZa6IJXJaigNHDI+97KgzxflmgBpD+vtY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713794043; c=relaxed/simple; bh=cWYXxYBzEmLHHrRkhtIBYKdIoZl2GcFMLoWHmoYJrDQ=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=n1eGAsj62j32z9JT4CUIIZTdMmR2IDKe3/x/4tupMsEXVnPm5SltVOqICwsPkS5PlGEn6VHNoRv6MTMRRnNDWShMjC5pDE3YzOyjOTgtW8xrHiaGsllG0eGEckTdM46WafLmp30SPUM4u9Z7LIGq03rzoW+kdQ1rMwAP2juv+IQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=OoSg1g5l; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43M2F9Ov019047; Mon, 22 Apr 2024 13:53:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=1LEM9aTZtzNviWZvRo/wuDRCghamGO9W+vXQRpk+4B4=; b=Oo Sg1g5l19Ds6KKeosZ8d1/f8SMzWciNJ/rm3tXoW2XIgJaGLJx9lQx0Tou2zeV1ua HLmOmwyHozTi5uHnpyuFtYJQAuUwAxMpCe7VHBci+2RQCJzuD0sMUf0fAjKgaf+l vzleFXzgTNjaGCMA5P33tM6G8D8x5Tig8zgqOmwc5LJrGZ2EY4SuMBJ6bSFZQ8FN ySbOMK5896UcLavKa8hkPJ/Wocijlx3fPmq+PzNQV7ivJi8NR9A17mRlrRERQQEN NcSRmVTFomXK0/UFIA2C/+4an22wD10d7v71qOp09wphHfpbcwBLXSSwJmhrfvrn WzUWOrmi7PLgCfBTffKg== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xm5sx4hbv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 13:53:53 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43MDrqC3002907 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 13:53:52 GMT Received: from [10.253.37.80] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 22 Apr 2024 06:53:50 -0700 Message-ID: <3e170e40-c143-4e3b-8696-b661cac56f00@quicinc.com> Date: Mon, 22 Apr 2024 21:53:48 +0800 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/2] Bluetooth: qca: fix NULL-deref on non-serdev setup To: Johan Hovold CC: Luiz Augusto von Dentz , Marcel Holtmann , Zhengping Jiang , , References: <20240319154611.2492-1-johan+linaro@kernel.org> <438844e9-47e8-486e-9611-ae524d6974b3@quicinc.com> <472b9f60-d68e-47ee-9ca9-f71a9ba86a1a@quicinc.com> Content-Language: en-US From: quic_zijuhu In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: QHD02XCXzSQuJsae-f2kdyE0fgSicZT6 X-Proofpoint-GUID: QHD02XCXzSQuJsae-f2kdyE0fgSicZT6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-22_09,2024-04-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 phishscore=0 clxscore=1015 suspectscore=0 malwarescore=0 spamscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404220060 On 4/22/2024 9:43 PM, Johan Hovold wrote: > On Mon, Apr 22, 2024 at 09:30:28PM +0800, quic_zijuhu wrote: >> On 4/22/2024 9:20 PM, Johan Hovold wrote: >>> On Mon, Apr 22, 2024 at 09:04:58PM +0800, quic_zijuhu wrote: >>>> On 4/22/2024 8:51 PM, Johan Hovold wrote: >>>>> On Tue, Mar 19, 2024 at 04:46:09PM +0100, Johan Hovold wrote: >>> >>>>>> Johan Hovold (2): >>>>>> Bluetooth: qca: fix NULL-deref on non-serdev suspend >>>>>> Bluetooth: qca: fix NULL-deref on non-serdev setup >>>>> >>>>> Could you pick these up for 6.9 or 6.10? >>>>> >>>>> The patches are marked for stable backport and only privileged users can >>>>> set the N_HCI line discipline these days (even if I'm not sure about >>>>> pre-5.14 kernels...) so it may be fine to wait for 6.10 if you prefer. >>> >>>> could you share the patch links for me to review. i can >>>> 't find them now >>> >>> Sure, but you should bookmark lore.kernel.org in your browser as you can >>> search the archives there yourself: >>> >>> https://lore.kernel.org/lkml/20240319154611.2492-1-johan+linaro@kernel.org/ > >> NAK for your [PATCH 1/2] since the null checking is redundant with your >> [PATCH 2/2]. > > I explained in the cover letter why it is split up like this. If you > don't bother reading, then we will not bother listening to you. > >> NAK for your [PATCH 2/2], since it is same with my earlier fix >> https://lore.kernel.org/all/1704960978-5437-1-git-send-email-quic_zijuhu@quicinc.com/ >> my new patchset for btattach tool still has this change. > > The fix does not depend on your btattach series, which has also been > rejected. > these my v1 and v2 for this issue which are earlier then yours. they are not rejected but not responded. https://lore.kernel.org/all/bf74d533-c0ff-42c6-966f-b4b28c5e0f60@molgen.mpg.de/ https://lore.kernel.org/all/1704970181-30092-1-git-send-email-quic_zijuhu@quicinc.com/ > You clearly have some learning to do on how to interact with the kernel > community and to write proper commit messages and patches. If you start > listening to feedback and try not to piss everyone off perhaps you can > even get your patches merged one day. [1][2] > > Johan > > [1] https://lore.kernel.org/linux-bluetooth/fbe5722b-1e45-4ccb-a050-20a473a823c8@quicinc.com/T/#m8e495666a71eb0e7ae54c82554dfff1fc96983e7 > [2] https://lore.kernel.org/linux-bluetooth/1713563327-19694-1-git-send-email-quic_zijuhu@quicinc.com/T/#med0610646a8fd8b3c8586abca9895b124b2d2534