[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167645701804.29620.16187922516857113249.git-patchwork-notify@kernel.org>
Date: Wed, 15 Feb 2023 10:30:18 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, bluetlh@...il.com, kuniyu@...zon.co.jp,
gongruiqi1@...wei.com, rshearma@...cade.com
Subject: Re: [PATCH net] net: mpls: fix stale pointer if allocation fails during
device rename
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Mon, 13 Feb 2023 22:53:55 -0800 you wrote:
> lianhui reports that when MPLS fails to register the sysctl table
> under new location (during device rename) the old pointers won't
> get overwritten and may be freed again (double free).
>
> Handle this gracefully. The best option would be unregistering
> the MPLS from the device completely on failure, but unfortunately
> mpls_ifdown() can fail. So failing fully is also unreliable.
>
> [...]
Here is the summary with links:
- [net] net: mpls: fix stale pointer if allocation fails during device rename
https://git.kernel.org/netdev/net/c/fda6c89fe3d9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists