Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp805046rwd; Thu, 25 May 2023 04:20:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6lYCp24gqIlGc6yBYmxpCk1oP9EODVg6v3dZvUuGfvh8SAAdMtVgtC4Wv5PffQsGuXV5Q4 X-Received: by 2002:a05:6a21:6da5:b0:10e:f800:2d75 with SMTP id wl37-20020a056a216da500b0010ef8002d75mr2843625pzb.43.1685013648396; Thu, 25 May 2023 04:20:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685013648; cv=none; d=google.com; s=arc-20160816; b=wegkhNYU6Hvgyk6NwbfalxKZ8SDAVBAcg6/Te2YMV6J4vx5P+sHR+cU/NESFxX/6Lu vHEZe89V/BWL5WERO0SSanArjfNq3Q+EJ2aP9zfnDOtuDPJFK52/EWgnoBp7PGEcy9P+ /nnllc+hbEDXuwGzNFHWosmJpsd9ExyB2I+WJtu55R9zMiY7gXwFuougWRD5MsTUaWR4 HZtJzB3ld6ffDn3WUAIBeLhRCJ4qOYwVgUZTn5hF7XBSbWouQ686Qe/nFCD3wiIf1Zeb sOWe7E/Tfyk2IKGKoCsa8ymH6R2bs+FqJ+AQBX21pS4wo7ju0m/ASvwpGte8SWqnWvd0 Qiqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=neps3BqQ3lAwczhtg1RACrlKIUmdQ8eXSXqhi81ZQw8=; b=f+wSx66YUsspsF1VjlftFPQUwXapgAZuRkVlZjz5aLn8FudtJhJk7NMLTm6WokNrTX uqQVlMLWlMsZ1LcktjnRMjCFdJ2PyPnj//M8wJXVMrg0DbuTiRrm89aJg6RfX0vSuMDF gg/JqrA0TuRydRmHHUoUwgZlnsr07PT9nNFpaLOLwwNxvX9mV0IQ7mZWem/7zeu4VPeZ uprpJRik3ZLGPLq0F7myR26VD99Yf47XFI6kUuaJGwwANFzsK9zcl2hPrj6MFUu3I0Li 4GJKj96UYmpYLzMdyl0J0Nf01vf573y0s+iliXCt42xTDviHbZZj8l72iA/Kr8Vak5Ue trAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TXG6EJnq; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u74-20020a63794d000000b0053ef4189de6si954635pgc.372.2023.05.25.04.20.36; Thu, 25 May 2023 04:20:48 -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=@kernel.org header.s=k20201202 header.b=TXG6EJnq; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240124AbjEYLKK (ORCPT + 99 others); Thu, 25 May 2023 07:10:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233430AbjEYLKH (ORCPT ); Thu, 25 May 2023 07:10:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2AC4195; Thu, 25 May 2023 04:10:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 81FF160B70; Thu, 25 May 2023 11:10:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D759BC433D2; Thu, 25 May 2023 11:10:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685013004; bh=k4r63m/Lzik54AT7G/zi6fUsz03lRD6D3jdSLwaE5vY=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=TXG6EJnqdWhnpqnbyGNl9//DYbVzicXxZHKXFDQNsyCg2EF2r3Dokx5BObEOAM1Cu wpBq7c2rIsCLoL2TFctDcAoe+Tc21wt/u/KGfLmIoJpG/dOQ+8+PuYVdVSF7ft9KGP 9Zbjc2KPBIWiJaLvmXbhX6v9r2xGy2E6mcrLa6VMBq/r39QSwi4FNqRbr7XgzYeAIa uL3pdw40Lak/q42KB9d9hr4PAbIVb1oGxlJRxR4rGM9O5M0f+Ms6p36QPzsfJwiwMS LLLshkjQynzjMnrAvs9g1zdA1k/IZUNJfOSUdYLTbMFlo/S/ihzChSkGXYtup9fqdl ja6mXpWSIK5LA== Date: Thu, 25 May 2023 13:10:00 +0200 (CEST) From: Jiri Kosina To: Benjamin Tissoires cc: Linus Torvalds , Linux regressions mailing list , Bagas Sanjaya , =?ISO-8859-15?Q?Filipe_La=EDns?= , Bastien Nocera , "open list:HID CORE LAYER" , LKML , guy.b@bluewin.ch Subject: Re: [regression] Since kernel 6.3.1 logitech unify receiver not working properly In-Reply-To: Message-ID: References: <9b987585-0834-bb8c-3414-283c29f3f2ab@leemhuis.info> <55dda0bb-fe42-6dee-28ea-00121554d092@leemhuis.info> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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-kernel@vger.kernel.org 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 then > > > triggers on a retry, the response data will be the *previous* response). > > > > > > 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 actual > > > cause of the problem people are reporting. But it would be lovely to > > > hear if the attached patch makes any difference, and I think this is > > > 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. Has anyone of the affected people tried to bisect the issue? Thanks, -- Jiri Kosina SUSE Labs