Thread (2 messages) flat view 2 messages, 2 authors, 2021-01-16

Re: [Patch net v4] cls_flower: call nla_ok() before nla_next()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-01-16 00:00:50

Hello:

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

On Fri, 15 Jan 2021 10:50:24 -0800 you wrote:
From: Cong Wang <redacted>

fl_set_enc_opt() simply checks if there are still bytes left to parse,
but this is not sufficent as syzbot seems to be able to generate
malformatted netlink messages. nla_ok() is more strict so should be
used to validate the next nlattr here.

[...]
Here is the summary with links:
  - [net,v4] cls_flower: call nla_ok() before nla_next()
    https://git.kernel.org/netdev/net/c/c96adff95619

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