Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6852301rwn; Tue, 13 Sep 2022 09:51:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR7X+XSg4gactf+AofSVzHgYNHCVZ0y08LsWFRwAkatLYGTsAHeIIKAxzlGvstAh7KvuG2mX X-Received: by 2002:a05:6402:5106:b0:451:787c:9fcc with SMTP id m6-20020a056402510600b00451787c9fccmr11613257edd.164.1663087899572; Tue, 13 Sep 2022 09:51:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663087899; cv=none; d=google.com; s=arc-20160816; b=NMhHxVT4u56KslhVRifVr4qvLs5o2Yp7XH7rHHrKnnaawt2XGx8oGsjFGbTNHoBa7x 1tALoXPpVwLWu7e4Ni96Xg8PkpuIY7/fCLrQTnFq9YJAmn5tk/Zg17+QOoYtqt90UO0H Hb9HB592E5Pz1Hd2VsaBdWI/plG2Eje9e7LNk9UYR8tABHb0reALx6DvN+gACIycH6i+ r1Jtzt4R3UHcHbnsGHU/LKjkEkL7fJQa3EmYfpat0vc6++5fmzFIGjOlJDVENZRkM2hz ruK8b1JytZLahSVOU51Mc0SZxCw/OD+ZyfpevevK8vhGwRTr97SdGaVxHxop9FQC4G3B 2sQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=9DMDlr3MVFUJ2dftB3i7/k1Z28MSimFT/ibB1osuh98=; b=CmUVgzeg8v8goZRInd5yo8y1CeubcTsTdfj1/rAMijF+YtcDkvDNcFLj3ui3Q7ywiK w0JUnoCNCGPNCatq2QcCrnDEcaRz/zkFlKuLwzqYXwc27t5xJGopVf8BVuQ2XBsnEJ2A N7RLAytoHVfiABxlAQ7IZ/Ar0rota2DTsvA1m+Hl/YYgDl2NRFjZ9s/haap94kk08XSk Dq9T9qXv7PX0ZmsHIBm/bU1vczCdyde9TYfPfALQYE1xO6knNBWMPRn5AKp+XoJW8Kfs ofwoS6rS37oyVFY2CCMs6pmuO9NWrj6q8zqSoI7U8Nv/i9SGhCwjUwTXzJt7gtmAcyMx Qy/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n11-20020a05640205cb00b00446fe97fd17si12038253edx.559.2022.09.13.09.51.12; Tue, 13 Sep 2022 09:51:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231901AbiIMQqE (ORCPT + 99 others); Tue, 13 Sep 2022 12:46:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231979AbiIMQpe (ORCPT ); Tue, 13 Sep 2022 12:45:34 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61ECF6DAC6 for ; Tue, 13 Sep 2022 08:39:53 -0700 (PDT) Received: from [185.122.133.20] (helo=[172.16.40.43]); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1oY7yJ-0006Fz-Ee; Tue, 13 Sep 2022 17:37:11 +0200 Message-ID: <6c0f6043-8aa0-2516-38de-b2b9f4a22401@leemhuis.info> Date: Tue, 13 Sep 2022 16:37:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [Bug] [Deadlock] Kernel thread deadlock in rfcomm socket release when connect interrupted Content-Language: en-US, de-DE To: Luiz Augusto von Dentz Cc: Paul Menzel , Desmond Cheong Zhi Xi , linux-bluetooth@vger.kernel.org, regressions@lists.linux.dev, Peter Sutton References: <24e95c8b-dc05-0d00-50bb-58b71c5baf94@molgen.mpg.de> From: Thorsten Leemhuis In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1663083593;7dab6341; X-HE-SMSGID: 1oY7yJ-0006Fz-Ee X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On 13.09.22 16:20, Peter Sutton wrote: >> a fix for a deadlock for RFCOMM sk state change was posted last year already: >> >> https://lore.kernel.org/all/20211004180734.434511-1-desmondcheongzx@gmail.com/ >> >> It seems it never went anywhere, unless I'm missing something. Is that >> maybe the same problem or somehow related? > > I mentioned this on the Arch Linux Matrix channel. The `linux` package > maintainer said they had encountered the same and added the linked > patch to the Arch Linux kernel package but removed it because it > wasn't merged (which explains why my issue went way then came back). > Anyway, we compiled a 5.19.8 `linux` package with the patch (which > fixes my issue) and they said they'll add the patch back to the linux > package. Well, that's fine and hopefully will solve your issue soon, but the arch maintainers are right: this should be fixed upstream. Luiz, is there a reason why that patch wasn't merged? What is needed to get this merged, ideally while adding a "Link: https://lore.kernel.org/all/CAD+dNTsbuU4w+Y_P7o+VEN7BYCAbZuwZx2+tH+OTzCdcZF82YA@mail.gmail.com/" tag? Ciao, Thorsten