syzbot


WARNING in bond_xdp_get_xmit_slave (2)

Status: upstream: reported on 2024/06/10 07:07
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+c187823a52ed505b2257@syzkaller.appspotmail.com
First crash: 8d22h, last: 2d06h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] WARNING in bond_xdp_get_xmit_slave (2) 0 (1) 2024/06/10 07:07
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in bond_xdp_get_xmit_slave net 1 345d 345d 0/27 auto-obsoleted due to no activity on 2023/11/08 23:02

Sample crash report:
bond5: Unknown bonding mode 6 for xdp xmit
------------[ cut here ]------------
WARNING: CPU: 1 PID: 964 at drivers/net/bonding/bond_main.c:5502 bond_xdp_get_xmit_slave+0x519/0x690 drivers/net/bonding/bond_main.c:5502
Modules linked in:
CPU: 1 PID: 964 Comm: syz-executor.1 Not tainted 6.10.0-rc2-syzkaller-00249-gbe27b8965297 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:bond_xdp_get_xmit_slave+0x519/0x690 drivers/net/bonding/bond_main.c:5502
Code: be 69 13 00 00 48 c7 c2 40 76 54 8c e8 10 20 1e fb eb 98 e8 a9 80 41 fb 4c 89 e7 48 c7 c6 20 97 54 8c 89 da e8 18 5b 31 05 90 <0f> 0b 90 eb a6 e8 8d 80 41 fb 48 85 db 74 0a e8 83 80 41 fb e9 72
RSP: 0018:ffffc900035078e8 EFLAGS: 00010246
RAX: 89fb5735a3ecca00 RBX: 0000000000000006 RCX: 89fb5735a3ecca00
RDX: ffffc90017814000 RSI: 0000000000002218 RDI: 0000000000002219
RBP: ffffc90003507c60 R08: ffffffff8176912c R09: fffffbfff1c39994
R10: dffffc0000000000 R11: fffffbfff1c39994 R12: ffff8880630f8000
R13: ffff8880630f8000 R14: ffff8880630f8ca0 R15: dffffc0000000000
FS:  00007feb379b56c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d324000 CR3: 0000000020280000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 xdp_master_redirect+0x104/0x250 net/core/filter.c:4317
 bpf_prog_run_xdp include/net/xdp.h:518 [inline]
 bpf_test_run+0x757/0x910 net/bpf/test_run.c:423
 bpf_prog_test_run_xdp+0x7e3/0x11b0 net/bpf/test_run.c:1283
 bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4292
 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5706
 __do_sys_bpf kernel/bpf/syscall.c:5795 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5793 [inline]
 __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5793
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7feb36c7cea9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007feb379b50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007feb36db3f80 RCX: 00007feb36c7cea9
RDX: 0000000000000050 RSI: 0000000020000240 RDI: 000000000000000a
RBP: 00007feb36cebff4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000004d R14: 00007feb36db3f80 R15: 00007ffe282a5128
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/12 23:24 net be27b8965297 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/06/12 23:23 net be27b8965297 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/06/06 06:57 net f8f0de9d58d9 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/06/06 08:01 net-next 54751f4d5406 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/06/06 07:40 net-next 54751f4d5406 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
* Struck through repros no longer work on HEAD.