Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp819131rwd; Thu, 25 May 2023 04:34:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ47sxgVeq5Acx0sO182mq8NtD8kk7Qr5MO1e9/Wmw/iq0kwW2OpP0lrhnognYIWQDW6o6/L X-Received: by 2002:a17:90b:224a:b0:24d:f77c:71e7 with SMTP id hk10-20020a17090b224a00b0024df77c71e7mr1238638pjb.41.1685014465678; Thu, 25 May 2023 04:34:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685014465; cv=none; d=google.com; s=arc-20160816; b=KqYZ7xrd5y9juY3Z5wvGlrhHOI6hxiOlGXBtMBgEZwuKBi69PlH6VfbQy4iCA7Iepx jGu2as025CCFrO7VFf3muGrX8sXyal7hQ0HtLvdC449GyobqP/YZgU3YyHuHzsiJnrCm IAvTS1O1dSSO6g4YMVdwbw6z/MJWGdnBI2EavsR0Oxu80HKoyqU33Uh5227Bi0gzirBc WhQkPYymb6vzhP5OS13z3paAI+htehCa92h+WqYOsZBs9emJgFRYJXi71g5UbjKAP66h nHpFzDxw0tFbXp92AkILEy2xhsAchlO9bGvx93QbXXKyxNqqeZ2qVppQtG4AdBnaMpoH pLig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=5F4e37hxoARs4fANzF7y1sP1lg39Ahh3is7WLZy58tg=; b=G6F7fcYxD7NstoRuwleuZFJczzHUGjG81J7Aa9kc3O77JboifO0sDJ8ftpDLI4uVVH ZzuydZDFWccEVHxiWQPbHCm3KHQZXokd40ijum9XqtGqj4P5+30exrLHLIPLqM3JdVsl 05SB213c+tGZKjZepoB6tPW2kQ3d4CQ8o/g+4lpmk1iXQTjnif2WO5nrL7JEnz4FlSWc d6XY6+i+1D08Wen22nnEbp0YN9urDbt8rrIyZUecs+OfEkDMzdhNPldJmHNKKO2hbmSL d7wNTWA8Jb7jyQCzxeyyX7HhGelZbU6WFc3WBcNnE+Dj9w0qRvWQFmsDfRPyz+RgKrCo OULA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Yt5A+1wD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pi5-20020a17090b1e4500b002535e5e607asi1445794pjb.150.2023.05.25.04.34.13; Thu, 25 May 2023 04:34:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@redhat.com header.s=mimecast20190719 header.b=Yt5A+1wD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231542AbjEYLUZ (ORCPT + 99 others); Thu, 25 May 2023 07:20:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240549AbjEYLUY (ORCPT ); Thu, 25 May 2023 07:20:24 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D18FE191 for ; Thu, 25 May 2023 04:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1685013575; 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=5F4e37hxoARs4fANzF7y1sP1lg39Ahh3is7WLZy58tg=; b=Yt5A+1wDIUJoq8Ks+hO+1/7au9veR/2Kfp3Q/CaoP5OSMG9ChVWif9t22vnKhFgam3HxHR oFK+HLx6WeoKxNK0Vr/Mz6NC++i5iV1t+jiRNiL3t0I/2I0k3h0plZxNKuRSlXSrYBZqWB dh/xcb2IvBIuaquVuzBwDxJu+jdn6MA= Received: from mail-yw1-f198.google.com (mail-yw1-f198.google.com [209.85.128.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-671-55paiocSNGyxwGE2tiUmVQ-1; Thu, 25 May 2023 07:19:33 -0400 X-MC-Unique: 55paiocSNGyxwGE2tiUmVQ-1 Received: by mail-yw1-f198.google.com with SMTP id 00721157ae682-564f529a663so7013817b3.1 for ; Thu, 25 May 2023 04:19:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685013573; x=1687605573; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5F4e37hxoARs4fANzF7y1sP1lg39Ahh3is7WLZy58tg=; b=lDhEwXTkWGP9pyDVT3tVFJx1zFrzYifTpSa+USYvyfIE1WXK0DKk6LEh29Hw2AUEqd 3Lv8qe7J1N43BfHlSSKDN7R93C4+MXxZOfilSO3CLWrGY3RRDIu4k4DT4dhh2kQalfmv IlnhXb/rN4lVJYTW6B+XdM4YX2s/O5/eH1ewBitKIqBrowAj0ZmZp/gfKzo6Cnc5aqSK s05X/rmhxOslGgi7VTTkS5ZGyEtqDi0okWQkpxywg2a1gfs3GRTSJWC6AD/cKKnmSaoZ xKrBMJPzFAP30wm4NxCWwgdoM1+zPQXlYg4GssEVHgVL45yxyHqjK2sUSifJnqCBxA+K fcJQ== X-Gm-Message-State: AC+VfDydS1YlIihAboAKH7cScG/dN3wi6xyZrSFMvu7+bGEKlJkiyklE LqbPxadRQ0oXaOSCyFXxgvE4kBTadANnnhMgBjpnREMaju0O+2fZDzq0bs3965JwWMjsf1Wuzsp vtnpuqW8PPNIKhi93lcoc9Cahf+ZUeZaeh6LDqF2R X-Received: by 2002:a81:ab50:0:b0:559:f0f3:a70c with SMTP id d16-20020a81ab50000000b00559f0f3a70cmr19851882ywk.12.1685013573162; Thu, 25 May 2023 04:19:33 -0700 (PDT) X-Received: by 2002:a81:ab50:0:b0:559:f0f3:a70c with SMTP id d16-20020a81ab50000000b00559f0f3a70cmr19851866ywk.12.1685013572969; Thu, 25 May 2023 04:19:32 -0700 (PDT) MIME-Version: 1.0 References: <9b987585-0834-bb8c-3414-283c29f3f2ab@leemhuis.info> <55dda0bb-fe42-6dee-28ea-00121554d092@leemhuis.info> In-Reply-To: From: Benjamin Tissoires Date: Thu, 25 May 2023 13:19:21 +0200 Message-ID: Subject: Re: [regression] Since kernel 6.3.1 logitech unify receiver not working properly To: Jiri Kosina Cc: Linus Torvalds , Linux regressions mailing list , Bagas Sanjaya , =?UTF-8?Q?Filipe_La=C3=ADns?= , Bastien Nocera , "open list:HID CORE LAYER" , LKML , guy.b@bluewin.ch Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-kernel@vger.kernel.org On Thu, May 25, 2023 at 1:10=E2=80=AFPM Jiri Kosina wrot= e: > > On Wed, 24 May 2023, Benjamin Tissoires wrote: > > > > > That bug is pre-existing (ie the problem was not introduced by that > > > > commit), but who knows if the retry makes things worse (ie if it th= en > > > > triggers on a retry, the response data will be the *previous* respo= nse). > > > > > > > > The whole "goto exit" games should be removed too, because we're in= a > > > > for-loop, and instead of "goto exit" it should just do "break". > > > > > > > > IOW, something like this might be worth testing. > > > > > > > > That said, while I think the code is buggy, I doubt this is the act= ual > > > > cause of the problem people are reporting. But it would be lovely t= o > > > > hear if the attached patch makes any difference, and I think this i= s > > > > fixing a real - but unlikely - problem anyway. > > > > FWIW, Linus, your patch is > > Reviewed-by: Benjamin Tissoires > > > > Feel free to submit it to us or to apply it directly if you prefer as > > this is clearly a fix for a code path issue. > > It would be nice to hear from the people who were able to reproduce the > issue whether this makes any observable difference in behavior though. I > don't currently think it would, as it fixes a potential NULL pointer > dereference, which is not what has been reported. Well, yes, I didn't mean it would fix the bug. But this is an obvious fix that we need to take given that we now see it :) > > Has anyone of the affected people tried to bisect the issue? I just checked the BZ linked above, and... it still doesn't work (which is not surprising): https://bugzilla.kernel.org/show_bug.cgi?id=3D217412#c33 Cheers, Benjamin