From mboxrd@z Thu Jan 1 00:00:00 1970 From: patchwork-bot+netdevbpf@kernel.org Subject: Re: [PATCH] ax25: fix reference count leaks of ax25_dev Date: Thu, 03 Feb 2022 23:00:08 +0000 Message-ID: <164392920890.21168.4177402356117050169.git-patchwork-notify@kernel.org> References: <20220203150811.42256-1-duoming@zju.edu.cn> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643929209; bh=xG9Vb129YKjRhraPRERPha+AEnhPVoJ7a5WjOMrgaeU=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=dtKRCoW8qndvtNlR6dhPX/Ob5y4VyTN3YyIVXdVw9slI8G8TlKxTLP3Ou1vxvhsqW Rbr9wF61A2JV/wbAd2gTKG6sa6edNevFU+ibqSWj4av93FXPDLPwXjdjJzwZfI+n6t nfXNLMfNNK3fbdwl0tYk3dBlirDYiUZY+SoPge/FDfHAL+RRYsYTpfDSO+sC/sF00l qFL6E9sJqGTmoD+mI8uTKd9CVd5cR6z2NqLXNW/6cfIyWWfjRbEjeYk0isIlqcgtC2 LzrP6+baBa44/0xNeibv+tAmdzb+Gdyrb3kCAOkkJYSPa8nM4WBknSerzOsVInO4Pv tTvihmu4/YygQ== In-Reply-To: <20220203150811.42256-1-duoming@zju.edu.cn> List-ID: Content-Type: text/plain; charset="us-ascii" To: Duoming Zhou Cc: linux-hams@vger.kernel.org, dan.carpenter@oracle.com, thomas@osteried.de, jreuter@yaina.de, ralf@linux-mips.org, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Thu, 3 Feb 2022 23:08:11 +0800 you wrote: > The previous commit d01ffb9eee4a ("ax25: add refcount in ax25_dev > to avoid UAF bugs") introduces refcount into ax25_dev, but there > are reference leak paths in ax25_ctl_ioctl(), ax25_fwd_ioctl(), > ax25_rt_add(), ax25_rt_del() and ax25_rt_opt(). > > This patch uses ax25_dev_put() and adjusts the position of > ax25_addr_ax25dev() to fix reference cout leaks of ax25_dev. > > [...] Here is the summary with links: - ax25: fix reference count leaks of ax25_dev https://git.kernel.org/netdev/net/c/87563a043cef You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html