Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4304934pxb; Tue, 10 Nov 2020 13:01:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3UWKtqbT0XpDUiss5QUvBEn/2XC5q3NnrYLSkKi59S1+YOYWZ0sUqk7MRZ/7mn8pl0HTa X-Received: by 2002:a50:fd15:: with SMTP id i21mr1344550eds.127.1605042083059; Tue, 10 Nov 2020 13:01:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605042083; cv=none; d=google.com; s=arc-20160816; b=jDegqXGryVxkTzSr5xzMpH57lykyQOpy0NlHCeRbJsYCotMsqUQ+gGAS9/m1tyyzRe 10yLbAkMou1rK7uuLKQGB6r47IdGKunskdTDWP94125N5/PUA8Hj0xNrpZXJQIPGIvzp 5xJ5KA7h0doUvX84G86Vew4uYPdz+75sqGhEd9Flc6DIumGOUq6yzQ4oyomvbaV8XkEg 4WbVclQfSY9XJM7RmTJNVb8vziI5jNdMRzFlZgbsnC+vXH4fFI1QuqLj6xpjggcYicY+ jL7sym2/xHJUMXHO1IuJZDBDiqLOYoy3CzwdqOSQrRK2z87eNWkTgpDG11OLnL/LujRd K1VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:date; bh=yygze7HI9YJNXxbkMRM/doJInuQMK3mUGoENwg4pCD8=; b=y8X1/CGMQcCtr409ATBrXarHecWpqcI9cPkGwEdcEkwgSbTOeKa12V2M2jXhKxolEc vlchX9tzO7UR9itefXUX2hL4oVWDkBGk7lhIiuZgSBO95FfBt0T60LxK9YY+Ttc51oEA lt74Aj4gmtLzIiII/zm2MnRewtnt3TTSuhT7WVzf2WhjU6e2fZtSlK+FhidshTPrWceD OVgtqFz0kCLeqQ17xqze2W4V2H9j0VZVgPEF/vGVwa4oW4CiG90zyzi0uKn/qpazAWSd ViqfStzEfdaGcMEc1NG1XiqWKZXr3t9uUm4JZ2rM4m24ZYi0xc3fKXX1BWVhwQIPjWa3 RZ9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@c0d3.blue header.s=2018 header.b="tTN/JXhv"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f7si5908654edq.587.2020.11.10.13.00.16; Tue, 10 Nov 2020 13:01:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@c0d3.blue header.s=2018 header.b="tTN/JXhv"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731687AbgKJVAC (ORCPT + 99 others); Tue, 10 Nov 2020 16:00:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726737AbgKJVAC (ORCPT ); Tue, 10 Nov 2020 16:00:02 -0500 X-Greylist: delayed 52750 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 10 Nov 2020 12:59:59 PST Received: from mail.aperture-lab.de (mail.aperture-lab.de [IPv6:2a01:4f8:171:314c::100:a1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2538CC0613D1; Tue, 10 Nov 2020 12:59:58 -0800 (PST) Date: Tue, 10 Nov 2020 21:59:50 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c0d3.blue; s=2018; t=1605041997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yygze7HI9YJNXxbkMRM/doJInuQMK3mUGoENwg4pCD8=; b=tTN/JXhv5q2ziwyHU7FS5OpwfUH7Xhn4R97x/Y0VUqXCmtbytUU10Bzivi8/1zUO+FY8b/ QDGIws2JEXpH7eJRgAlr0zJzb9VxFRI8dhodV/Fecx2uYoVvR5LOvoCW7QBuu886o2ypbT nGb+poX9GI3jmz7icZG8Fbz/a/i6mo7Kso7mmt7LD4OxhFrOJA/osEi3LywDKseEbdxY2T WLkyFGuf7xSdQbMIo1u9Ui2ruWsWVkgX2XolZLGUHbMRhhakH0anSb0x4Am5N79NJ2k+Ik JKKk4YzXyFgsDYOdjXnBEqSAb+fvhMM7wEWtmUhlvm2q3ieceaCfV2RVBKER+w== From: Linus =?utf-8?Q?L=C3=BCssing?= To: linux-bluetooth@vger.kernel.org, linux-wireless@vger.kernel.org, Intel Linux Wireless Cc: Emmanuel Grumbach , Luiz Augusto von Dentz , Marcel Holtmann Subject: Re: Crash / Null pointer dereference in l2cap_chan_send() Message-ID: <20201110205950.GF2423@otheros> References: <20201110062039.GC2423@otheros> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201110062039.GC2423@otheros> Authentication-Results: ORIGINATING; auth=pass smtp.auth=linus.luessing@c0d3.blue smtp.mailfrom=linus.luessing@c0d3.blue Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Tue, Nov 10, 2020 at 07:20:39AM +0100, Linus Lüssing wrote: > [...] > > The issue was introduced with the following commit: > > f4bfdc5e571e ("iwlwifi: mvm: stop supporting swcrypto and bt_coex_active module parameters") > * first affected tag: v5.8-rc1 > PS: As this commit mentioned bt_coex_active, I retried with a vanilla 5.9.6 kernel while leaving bt_coex_active at its default value. That is leaving it enabled while all previous tests I did had it disabled. However I still get the Bluetooth A2DP freeze and subsequent kernel panics. Only the warnings in dmesg with "iwlmvm doesn't allow to disable BT Coex, check bt_coex_active module parameter" seem to have vanished. Also, swcrypto is disabled, as it is by default. So the majority of the lines changed shouldn't affect me. The only thing that should affect and trigger the crashes for me seems to be that BT_COEX_NW is now always enabled and that the code now ignores what I set for the iwlwifi bt_coex_active module parameter. While before I had it always disabled via the iwlwifi module parameter.