Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp312065lqh; Thu, 28 Mar 2024 02:51:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUouPL9tI4QzMKW6mdmP9irX4nh5xTqRsgctGSwCowFAOqM6QKU12nELHuUN/qn23d0TucWK5AHPz5UKKxXFZBdVvWnGjlolF27aZXzQ== X-Google-Smtp-Source: AGHT+IFatikwPL49TQ4NCSMpBAhqD9C1xYI5dg+WhM2lQMoNhBMhw69Nb9OeEFwJbqaBpMgc/U10 X-Received: by 2002:ac8:5ac3:0:b0:431:80cb:79ee with SMTP id d3-20020ac85ac3000000b0043180cb79eemr1971221qtd.60.1711619475251; Thu, 28 Mar 2024 02:51:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711619475; cv=pass; d=google.com; s=arc-20160816; b=bQiNC5xktIwEh4oyKxKEs6m3W2iAqnJwolDetRgKkh9liglQouj1hxUV3PRESv+RGS mbY9KstgXqTiw/xAnv0iZYvhEvKMkhQNnhynHnbFQbpeoLCPBMfYb6uJqKrDADdileGl FLL0dRwBQEk432EPVchDGOv3KHpb7otP4xGLUSWkbkxZ+N0zrAOwfE4GhCrPAdh9zyxW r5HebsgJn6bKZk69b54T0NtNWCytcsBusK8oPlGq/ZLNYRRQaVLE1AJ9YPMQJtcPXzjW /mUXwG3csHlUb++oRuVta+p5bTy6SdfTnhdAO4BbArtAQSYRahOxgfJT1E+Bu3M2zeg0 CByg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=BRnU4kayOXBGX85trd5DglTzAFXG3wSrzUOjkM1XF40=; fh=dz9iMPfrxYfW0HRsbynjW3PkrfXoSfcXT1MV8P8SwSY=; b=qYEnNwUZ+31C//EuEhPg0Zqw1NrxLYBgmo4YnvM5rSlQNMJ140LU/fgNNnl5zTpV9K OHOm6vMQlDXYnUU95ulPH0v45s8Hveb1P86xO0gg6t400nOeq0IzRKSGZbS/DmLMvaLJ QU+KK9NAPWB4m05EiioUGLuiH+ttcMTfuY7VhL70L5MBEwgSPeireCtrMExR3k0Lmt0c t6cyrfI3P6e07oDAqs+o8hqk1NrVTg6YNy3+Og/Ddzsf+n5K1AJ0ic8wNwkUmWwoK1IG BiEfwd2KZ6l+8DdjYu8VCQGfEDnwcA+gECkQ78q+RVwWGwfWUauJ5a0jOpwR6FH01Wrd +EMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dt4wAvzN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-122722-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122722-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w1-20020a05622a134100b0042f4de8b65dsi1015792qtk.375.2024.03.28.02.51.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 02:51:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122722-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dt4wAvzN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-122722-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122722-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A60661C2E130 for ; Thu, 28 Mar 2024 09:51:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF0E9657DF; Thu, 28 Mar 2024 09:50:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dt4wAvzN" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC58B7C08C; Thu, 28 Mar 2024 09:50:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711619430; cv=none; b=qt+bUBLwBBBTgo3o5r96KCQJ65xvGpt3rBjoeOkOI1lrcLWzJ+c/+gw+sVLG5DGZ5yGFmlZsn0FU0o2uUsPTwZWHOLLxIIJjtKX9b36riR/l48mOqSYUCo8ge7wSDPBZW1ttB/Uk+R06XoASjUDnVQGDhxQg3VHGSYU7PBCBbGk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711619430; c=relaxed/simple; bh=hw9CXjyBt1jqIOFA9VS3MGEAq01vM/E+/Dnp8mAip2U=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=svNcDgiSAulIeMdB4lp5KzDdZSxNQmjO7ruF8M1ganbFVHfSlN9X69UsNdSGiFkljt13JsCW+hUE9sR5hg8TD21DLr1ZrJ7ursupY2il4lHO4rzlfjCIqZkgaNJkCEuPPbEnzJ02SUkoAwRp5UJINPd638OAJb4WzW8sXMfgE+g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dt4wAvzN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 5D448C43399; Thu, 28 Mar 2024 09:50:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711619430; bh=hw9CXjyBt1jqIOFA9VS3MGEAq01vM/E+/Dnp8mAip2U=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=dt4wAvzN5ozOMy2FY9l0OWR8MfisK06g3BLLGmuDYQZFOoEwAtdrFwQanMBgM80Xu Cbh0EKEp2O3Bl3B224dqiSyfedWDiywmJk+M4s54hE3BAXOAhYDKgFcTtzj2pWiagl zM9Kmj8AcJ4mlItwBaI1oK0Jhc6IfeS33CHVGjT9cQ9eHKVthr+AutAaurFflo4QmZ H661gJJl/ZXFco7TuNL5UxTjLk1+fi/l7mz5NWAlXmu+O+n+g3WxM4xs1O2OVxjU4X P/mjoMgEl5IQjAoLQZ/uS3L9ooXMFwsiqyYjFnxMZ1DpyA3sdKcdM0dP/CyzQyhHm7 j5IcpRUD1EF8Q== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 46445D8C965; Thu, 28 Mar 2024 09:50:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [net PATCH] net: phy: qcom: at803x: fix kernel panic with at8031_probe From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171161943028.10354.7334071604258663095.git-patchwork-notify@kernel.org> Date: Thu, 28 Mar 2024 09:50:30 +0000 References: <20240325190621.2665-1-ansuelsmth@gmail.com> In-Reply-To: <20240325190621.2665-1-ansuelsmth@gmail.com> To: Christian Marangi Cc: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, andersson@kernel.org, konrad.dybcio@linaro.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, wwortel@dorpstraat.com, stable@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : On Mon, 25 Mar 2024 20:06:19 +0100 you wrote: > On reworking and splitting the at803x driver, in splitting function of > at803x PHYs it was added a NULL dereference bug where priv is referenced > before it's actually allocated and then is tried to write to for the > is_1000basex and is_fiber variables in the case of at8031, writing on > the wrong address. > > Fix this by correctly setting priv local variable only after > at803x_probe is called and actually allocates priv in the phydev struct. > > [...] Here is the summary with links: - [net] net: phy: qcom: at803x: fix kernel panic with at8031_probe https://git.kernel.org/netdev/net/c/6a4aee277740 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html