Thread (2 messages) flat view 2 messages, 2 authors, 2021-08-03

Re: [PATCH net-next] net: dsa: tag_sja1105: consistently fail with arbitrary input

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-08-03 21:40:16

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon,  2 Aug 2021 22:51:37 +0300 you wrote:
Dan Carpenter's smatch tests report that the "vid" variable, populated
by sja1105_vlan_rcv when an skb is received by the tagger that has a
VLAN ID which cannot be decoded by tag_8021q, may be uninitialized when
used here:

	if (source_port == -1 || switch_id == -1)
		skb->dev = dsa_find_designated_bridge_port_by_vid(netdev, vid);

[...]
Here is the summary with links:
  - [net-next] net: dsa: tag_sja1105: consistently fail with arbitrary input
    https://git.kernel.org/netdev/net-next/c/421297efe63f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help