Re: [PATCH] bpf: make sure mac_header was set before using it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 7, 2022 at 11:20 AM <patchwork-bot+netdevbpf@xxxxxxxxxx> wrote:
>
> Hello:
>
> This patch was applied to bpf/bpf.git (master)

Are we sure it's bpf tree material?
The fixes tag points to net-next tree.

> by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:
>
> On Thu,  7 Jul 2022 12:39:00 +0000 you wrote:
> > Classic BPF has a way to load bytes starting from the mac header.
> >
> > Some skbs do not have a mac header, and skb_mac_header()
> > in this case is returning a pointer that 65535 bytes after
> > skb->head.
> >
> > Existing range check in bpf_internal_load_pointer_neg_helper()
> > was properly kicking and no illegal access was happening.
> >
> > [...]
>
> Here is the summary with links:
>   - bpf: make sure mac_header was set before using it
>     https://git.kernel.org/bpf/bpf/c/0326195f523a
>
> You are awesome, thank you!
> --
> Deet-doot-dot, I am a bot.
> https://korg.docs.kernel.org/patchwork/pwbot.html
>
>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux