syzbot


WARNING in bond_xdp_get_xmit_slave

Status: upstream: reported on 2024/07/26 04:33
Reported-by: syzbot+d894dd7a358ba19cea50@syzkaller.appspotmail.com
First crash: 81d, last: 81d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in bond_xdp_get_xmit_slave (2) net 124 27d 127d 26/28 upstream: reported on 2024/06/10 07:07
upstream WARNING in bond_xdp_get_xmit_slave net 1 468d 468d 0/28 auto-obsoleted due to no activity on 2023/11/08 23:02

Sample crash report:
bond1: Unknown bonding mode 6 for xdp xmit
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6524 at drivers/net/bonding/bond_main.c:5204 bond_xdp_get_xmit_slave+0x501/0x680 drivers/net/bonding/bond_main.c:5203
Modules linked in:
CPU: 0 PID: 6524 Comm: syz.2.635 Not tainted 5.15.163-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:bond_xdp_get_xmit_slave+0x501/0x680 drivers/net/bonding/bond_main.c:5204
Code: 8b be 39 12 00 00 48 c7 c2 e0 74 0a 8b e8 97 d1 fa fb eb 9c e8 00 27 18 fc 4c 89 e7 48 c7 c6 40 9d 0a 8b 89 da e8 af 3e ca 04 <0f> 0b eb ac e8 e6 26 18 fc 48 85 db 74 0a e8 dc 26 18 fc e9 78 ff
RSP: 0018:ffffc90002ff7968 EFLAGS: 00010246
RAX: 7c6e407f6c18a900 RBX: 0000000000000006 RCX: 7c6e407f6c18a900
RDX: ffffc90004f4a000 RSI: 000000000000285d RDI: 000000000000285e
RBP: ffffc90002ff7ca0 R08: ffffffff8166868c R09: ffffed10173467a8
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888020150000
R13: ffff888020150000 R14: ffffc90002ff7cc0 R15: dffffc0000000000
FS:  00007fe90da3b6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0299a15ff0 CR3: 00000000630af000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 xdp_master_redirect+0xff/0x270 net/core/filter.c:3977
 bpf_prog_run_xdp include/linux/filter.h:807 [inline]
 bpf_test_run+0x6e9/0x8a0 net/bpf/test_run.c:117
 bpf_prog_test_run_xdp+0x524/0xbc0 net/bpf/test_run.c:812
 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3368
 __sys_bpf+0x3ac/0x670 kernel/bpf/syscall.c:4669
 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:4753 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fe90f5bc299
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe90da3b048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fe90f74af80 RCX: 00007fe90f5bc299
RDX: 0000000000000050 RSI: 0000000020000240 RDI: 000000000000000a
RBP: 00007fe90f6298e6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fe90f74af80 R15: 00007ffeeecd5c98
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/26 04:32 linux-5.15.y 7c6d66f0266f 3f86dfed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bond_xdp_get_xmit_slave
* Struck through repros no longer work on HEAD.