All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Eric Dumazet <edumazet@google.com>
Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
	horms@kernel.org, netdev@vger.kernel.org, eric.dumazet@gmail.com,
	syzbot+c46409299c70a221415e@syzkaller.appspotmail.com,
	mcroce@redhat.com, sdf@fomichev.me
Subject: Re: [PATCH net] bonding: provide a net pointer to __skb_flow_dissect()
Date: Thu, 22 Jan 2026 03:30:09 +0000	[thread overview]
Message-ID: <176905260960.1542867.1806985746457384098.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260120161744.1893263-1-edumazet@google.com>

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 20 Jan 2026 16:17:44 +0000 you wrote:
> After 3cbf4ffba5ee ("net: plumb network namespace into __skb_flow_dissect")
> we have to provide a net pointer to __skb_flow_dissect(),
> either via skb->dev, skb->sk, or a user provided pointer.
> 
> In the following case, syzbot was able to cook a bare skb.
> 
> WARNING: net/core/flow_dissector.c:1131 at __skb_flow_dissect+0xb57/0x68b0 net/core/flow_dissector.c:1131, CPU#1: syz.2.1418/11053
> Call Trace:
>  <TASK>
>   bond_flow_dissect drivers/net/bonding/bond_main.c:4093 [inline]
>   __bond_xmit_hash+0x2d7/0xba0 drivers/net/bonding/bond_main.c:4157
>   bond_xmit_hash_xdp drivers/net/bonding/bond_main.c:4208 [inline]
>   bond_xdp_xmit_3ad_xor_slave_get drivers/net/bonding/bond_main.c:5139 [inline]
>   bond_xdp_get_xmit_slave+0x1fd/0x710 drivers/net/bonding/bond_main.c:5515
>   xdp_master_redirect+0x13f/0x2c0 net/core/filter.c:4388
>   bpf_prog_run_xdp include/net/xdp.h:700 [inline]
>   bpf_test_run+0x6b2/0x7d0 net/bpf/test_run.c:421
>   bpf_prog_test_run_xdp+0x795/0x10e0 net/bpf/test_run.c:1390
>   bpf_prog_test_run+0x2c7/0x340 kernel/bpf/syscall.c:4703
>   __sys_bpf+0x562/0x860 kernel/bpf/syscall.c:6182
>   __do_sys_bpf kernel/bpf/syscall.c:6274 [inline]
>   __se_sys_bpf kernel/bpf/syscall.c:6272 [inline]
>   __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:6272
>   do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
>   do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
> 
> [...]

Here is the summary with links:
  - [net] bonding: provide a net pointer to __skb_flow_dissect()
    https://git.kernel.org/netdev/net/c/5f9b32909659

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



      parent reply	other threads:[~2026-01-22  3:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-20 16:17 [PATCH net] bonding: provide a net pointer to __skb_flow_dissect() Eric Dumazet
2026-01-20 20:01 ` Stanislav Fomichev
2026-01-22  3:30 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=176905260960.1542867.1806985746457384098.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=eric.dumazet@gmail.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=mcroce@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sdf@fomichev.me \
    --cc=syzbot+c46409299c70a221415e@syzkaller.appspotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.