[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <162927900570.12358.17291141560471697368.git-patchwork-notify@kernel.org>
Date: Wed, 18 Aug 2021 09:30:05 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Vladimir Oltean <vladimir.oltean@....com>
Cc: netdev@...r.kernel.org, kuba@...nel.org, davem@...emloft.net,
f.fainelli@...il.com, andrew@...n.ch, vivien.didelot@...il.com,
olteanv@...il.com, frowand.list@...il.com, robh+dt@...nel.org
Subject: Re: [PATCH net] net: dsa: sja1105: fix use-after-free after calling
of_find_compatible_node, or worse
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Tue, 17 Aug 2021 17:52:45 +0300 you wrote:
> It seems that of_find_compatible_node has a weird calling convention in
> which it calls of_node_put() on the "from" node argument, instead of
> leaving that up to the caller. This comes from the fact that
> of_find_compatible_node with a non-NULL "from" argument it only supposed
> to be used as the iterator function of for_each_compatible_node(). OF
> iterator functions call of_node_get on the next OF node and of_node_put()
> on the previous one.
>
> [...]
Here is the summary with links:
- [net] net: dsa: sja1105: fix use-after-free after calling of_find_compatible_node, or worse
https://git.kernel.org/netdev/net/c/ed5d2937a6a8
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