Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 332932EBBA4 for ; Wed, 20 May 2026 02:29:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779244197; cv=none; b=DO9u3AVM8hDS6Wa2XpulJIvQU4pRDEXNq45pXtu0mW038PDml+bYODCOH6fS/7LCqBYRF5skDx+MV05HaBMwszSByUfB/QXegcWrKTLswm3YqnbO15vCikUXQH0kSkHS8w9jOOSPfIjTdg7o4elyWnb9GjV5u6BvjX8P5IkksB8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779244197; c=relaxed/simple; bh=JcbPP9T7TpYC6NxFR1DhgsBEBuo45EvaUIMITSOn8Kg=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=GqjhTldyQXjNfjERWI12imx4DUpTxXGsUq8jeO0FbxwgjrYAFqU1fr24soUhUMX+dQG5ca939L/OjrtQnOZfWydCBObBawwo7SvcgTJJCK/KtfNYId4XGE3YNNy6hHuwKEh+Xq05Ko96eEAayA3+tZsSvStocR1qg6UZxf2/e3Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CXdMOnMb; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CXdMOnMb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C70731F000E9; Wed, 20 May 2026 02:29:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779244195; bh=ltYAn1OZCQBvyqjoDcgQL4KJs4O3NKxVunolegqEpx8=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=CXdMOnMb7AipOBVNV/v/rBhaEBZNcgvsfW89/Y7w3sL2v7LfZ7UN43Vp+wfyfsOkk M83cTQa3lZgN8ThCvvsLF+MOQbWLHPriv1is8tg7RM+kOPohgfxQU+kB6qRfaupxf4 buRiVxAXhE1adkbSFFYHR2syyIw0yww10+cFuSl1SoAYAFMT8o+CFcxV579Hq2C14c +SfT4e+M22Zp8dck6l2gZIl9pKmfvbG8vaPHAly/u38vve7gQXD+LZrV53pr4UsYrY rYTOz1GhQXzFyu3df6WgEfgLXlbXPeak3q9bsZviMl+bezpl6E7FKTndc4Fp5eJuDN NfNjvilyGreiA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id D09FB383BF53; Wed, 20 May 2026 02:30:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] pds_core: fix debugfs_lookup dentry leak and error handling From: patchwork-bot+netdevbpf@kernel.org Message-Id: <177924420640.2955096.13277020048491236931.git-patchwork-notify@kernel.org> Date: Wed, 20 May 2026 02:30:06 +0000 References: <20260515212907.998028-3-nikhil.rao@amd.com> In-Reply-To: <20260515212907.998028-3-nikhil.rao@amd.com> To: Nikhil P. Rao Cc: netdev@vger.kernel.org, brett.creeley@amd.com, eric.joyner@amd.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Fri, 15 May 2026 21:29:07 +0000 you wrote: > debugfs_lookup() returns a dentry with an elevated reference count that > must be released with dput(). The current code discards the returned > dentry without calling dput(), causing a reference leak on every > firmware reset recovery. > > Additionally, when CONFIG_DEBUG_FS is disabled, debugfs_lookup() > returns ERR_PTR(-ENODEV), not NULL. The current check passes for error > pointers and would call dput() on an invalid pointer, causing a crash. > > [...] Here is the summary with links: - [net] pds_core: fix debugfs_lookup dentry leak and error handling https://git.kernel.org/netdev/net/c/dc416e32baae You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html