Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6879100rwn; Tue, 13 Sep 2022 10:12:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR460wwK+rYeu0fAdNl9j5AMeLQx8WV6PdJB9unacGG3GVazV7Casqw57ihdqXMTdbX1JJ2q X-Received: by 2002:a05:6402:5209:b0:451:2b4e:6e30 with SMTP id s9-20020a056402520900b004512b4e6e30mr16829841edd.380.1663089160930; Tue, 13 Sep 2022 10:12:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663089160; cv=none; d=google.com; s=arc-20160816; b=hJstnJYdqvtNi59MMjwBZAL17fSJaKzx2ZmqtDJIUrHI4niS0r16M1qd7ElbsvkTEK xwlnGFjZEDDbV7iWHvVWiYeOadJwoWJxw783A16jpFK6UINikDf3/bduBkMvOOiKuIuK vBm5tneFf7UpOANzOZ6uF4wleC4v71G64zLz81BwCqgyUl0+kdWUuIEa5f/+341EFIuA /zRFZB9FuLzubq/TCzu4PWuk0rQJT6hpPjD7NpEdf/8HF+jrSU+Tc6ek4FPWAPH+XCf/ /ktayCWr23uGN/IkgDTTJqV6piCV0n3p0cZcm/kyp08S3dt0snJ8TiRRNXcsnBmAAnuu XGYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=oK2fqA+eJKlumJ2qthC6U57tIYT5sBlUkTZFBDaw+Xk=; b=NKLe59JlHctIwG0J0EF/y0Z2Uka50IdH5INA19glHflfrbSgeGynYocNX68piDY4+Q aXH8vUuQKnEHLlRll4lD6QZDfzXpLUhCk7hJyJp7QfRTIKYnMgDuuoMDv93n1Ut08MJ+ QpNDSLdxBGTGWD1qkgiGSbPNE/saAbcyR7CLyarrFBkDQYKTD8aLCbjQIpaY4y+DMd55 L2XF6AtisY19wnjC7YfWTZHmNMnrEKHKAisqAHa01uTS7VSSvaG3Ahy1MzXS2tRikQeM jLItwD3MQz9qsu1/XKuEiuu8Um8IR+KwZo1KCuc0mD1EPDOUTagMbblOXjVfp1Fy/89e 1MeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foxdogstudios-com.20210112.gappssmtp.com header.s=20210112 header.b=HAzIwEgo; 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 hq11-20020a1709073f0b00b0073dab845a38si7823531ejc.346.2022.09.13.10.12.06; Tue, 13 Sep 2022 10:12:40 -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; dkim=pass header.i=@foxdogstudios-com.20210112.gappssmtp.com header.s=20210112 header.b=HAzIwEgo; 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 S230072AbiIMRI2 (ORCPT + 99 others); Tue, 13 Sep 2022 13:08:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232181AbiIMRIH (ORCPT ); Tue, 13 Sep 2022 13:08:07 -0400 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95D55C6953 for ; Tue, 13 Sep 2022 08:57:11 -0700 (PDT) Received: by mail-yb1-xb2f.google.com with SMTP id b136so18488797yba.2 for ; Tue, 13 Sep 2022 08:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxdogstudios-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=oK2fqA+eJKlumJ2qthC6U57tIYT5sBlUkTZFBDaw+Xk=; b=HAzIwEgoJAormss7IKkQ2Qwbhm2SIl+Y9QWUlEEieDsvbYZXn6VWIbxaQGw906iMU+ 8Ip8PntZ8Pb/dx27QWf4RUx5YkLlgYk+U/m4gdZXXxat6y3MzKFyUYpOnZoIyyAYcpsp BRX09IIVkaudWHHEDRn4jHYpkwqY94OBLceFJlnA41Yp30vCui+u7cc8Q4TvoQbfqfnz YB40h0wos7bwjhoALTYLWoxX5tjFnvkJFwURFd/M5vcwpGPQSJOncG6ysgknRgkZke8F eKExiMV2PdiJIyto7p1lNqXd02cQXlEyF3CcaczX8Jsf70LqPYEWtTZXY4+rTn+xjzrS 4Ngg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=oK2fqA+eJKlumJ2qthC6U57tIYT5sBlUkTZFBDaw+Xk=; b=zcUGy8Xd7C7cu0dsRdaPAjtLrmYLbsKFnuekmWrnkD44vmN5NNWaZphCFMTM+PNhQS qccX9VZZ11m+JGQ9L9YTj67J+dv4SPjJkpUK0xSGAY+YRL4TpE4CRXT7GD/jGcXgNKV2 qxwL0RPhTkp2t2K8Oxa6lbjF3DzJw8mOI6DHaGcffV0M0elCK5ItgLOakq0koAbRG2mM CoN8bFmsWlVXKycADcOmvMcfm7DfSJgKfo0orACAIvsG8hKNEqG/I56LZfWftfg1jXbI wzdjybtkdfcbqhqn5KT+Nm5sqH3MhYSqUd/gfg6Y1QhIP9vod1sdTG/YvlVgAkTyxNe7 3Buw== X-Gm-Message-State: ACgBeo0c5hbPQfCPPooektwBOBSNaZaIbOksN5LLPJ9HJXR1YeOcQAYg hwikJ22rXkWk4VjOezSYONUlcpjZDgU7pNxRzAvYEF6YME1ZtA== X-Received: by 2002:a05:6130:1102:b0:38c:49b4:bbc3 with SMTP id ce2-20020a056130110200b0038c49b4bbc3mr11332022uab.107.1663082441639; Tue, 13 Sep 2022 08:20:41 -0700 (PDT) MIME-Version: 1.0 References: <24e95c8b-dc05-0d00-50bb-58b71c5baf94@molgen.mpg.de> In-Reply-To: From: Peter Sutton Date: Tue, 13 Sep 2022 16:20:30 +0100 Message-ID: Subject: Re: [Bug] [Deadlock] Kernel thread deadlock in rfcomm socket release when connect interrupted To: Thorsten Leemhuis Cc: Paul Menzel , Desmond Cheong Zhi Xi , Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org, regressions@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, 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 > 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.