[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170205722399.30055.11742878911600548646.git-patchwork-notify@kernel.org>
Date: Fri, 08 Dec 2023 17:40:23 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, stephen@...workplumber.org, dsahern@...il.com,
moche@...dia.com
Subject: Re: [patch iproute2] mnl_utils: sanitize incoming netlink payload size in
callbacks
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@...workplumber.org>:
On Thu, 7 Dec 2023 13:53:51 +0100 you wrote:
> From: Jiri Pirko <jiri@...dia.com>
>
> Don't trust the kernel to send payload of certain size. Sanitize that by
> checking the payload length in mnlu_cb_stop() and mnlu_cb_error() and
> only access the payload if it is of required size.
>
> Note that for mnlu_cb_stop(), this is happening already for example
> with devlink resource. Kernel sends NLMSG_DONE with zero size payload.
>
> [...]
Here is the summary with links:
- [iproute2] mnl_utils: sanitize incoming netlink payload size in callbacks
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=1a68525f4613
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