Re: [PATCH v4,bpf-next] bpf: Don't redirect packets with invalid pkt_len

From: patchwork-bot+netdevbpf
Date: Tue Jul 19 2022 - 13:00:21 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Fri, 15 Jul 2022 19:55:59 +0800 you wrote:
> Syzbot found an issue [1]: fq_codel_drop() try to drop a flow whitout any
> skbs, that is, the flow->head is null.
> The root cause, as the [2] says, is because that bpf_prog_test_run_skb()
> run a bpf prog which redirects empty skbs.
> So we should determine whether the length of the packet modified by bpf
> prog or others like bpf_prog_test is valid before forwarding it directly.
>
> [...]

Here is the summary with links:
- [v4,bpf-next] bpf: Don't redirect packets with invalid pkt_len
https://git.kernel.org/bpf/bpf-next/c/fd1894224407

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