bond8: Unknown bonding mode 6 for xdp xmit
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8427 at drivers/net/bonding/bond_main.c:5536 bond_xdp_get_xmit_slave+0x233/0x680 drivers/net/bonding/bond_main.c:5535
Modules linked in:
CPU: 0 PID: 8427 Comm: syz-executor.5 Not tainted 6.4.0-syzkaller-11479-g6cd06ab12d1a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:bond_xdp_get_xmit_slave+0x233/0x680 drivers/net/bonding/bond_main.c:5536
Code: 00 00 00 41 8d 44 24 fe 83 e0 fd 89 c3 0f 84 cf 00 00 00 e8 af f6 01 fc 44 89 e2 48 c7 c6 e0 8e 02 8b 48 89 ef e8 fd 83 96 02 <0f> 0b 45 31 e4 e8 93 f6 01 fc 4c 89 e0 48 83 c4 08 5b 5d 41 5c 41
RSP: 0018:ffffc9000fc7f918 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000004 RCX: ffffc90015ac9000
RDX: 0000000000040000 RSI: ffffffff88196dac RDI: 0000000000000005
RBP: ffff88804fc4c000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000088f50 R12: 0000000000000006
R13: ffff88804fc4cc80 R14: ffffc9000fc7fab0 R15: ffffffff8b02ee20
FS: 00007f2d281e4700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc4e75cb000 CR3: 000000004b290000 CR4: 0000000000350ef0
Call Trace:
<TASK>
xdp_master_redirect+0xfa/0x2b0 net/core/filter.c:4242
bpf_prog_run_xdp include/linux/filter.h:779 [inline]
bpf_prog_run_generic_xdp+0xac5/0x1210 net/core/dev.c:4721
netif_receive_generic_xdp+0x2e8/0x7d0 net/core/dev.c:4807
do_xdp_generic net/core/dev.c:4866 [inline]
do_xdp_generic+0x9a/0x1b0 net/core/dev.c:4859
tun_get_user+0x1bf3/0x3b30 drivers/net/tun.c:1919
tun_chr_write_iter+0xe5/0x200 drivers/net/tun.c:2043
call_write_iter include/linux/fs.h:1871 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x981/0xda0 fs/read_write.c:584
ksys_write+0x122/0x250 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f2d2743dfff
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48
RSP: 002b:00007f2d281e4130 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f2d275abf80 RCX: 00007f2d2743dfff
RDX: 0000000000000e81 RSI: 0000000020002940 RDI: 00000000000000c8
RBP: 00007f2d274d7493 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000e81 R11: 0000000000000293 R12: 0000000000000000
R13: 00007ffe3afb9fdf R14: 00007f2d281e4300 R15: 0000000000022000
</TASK>