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
Fix commit: 0cbfd45fbcf0 bonding: Fix unnecessary warnings and logs from bond_xdp_get_xmit_slave()
Patched on: [ci-qemu-gce-upstream-auto ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-snapshot-upstream-root ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu-native-arm64-kvm ci-upstream-bpf-kasan-gce]
First crash: 131d, last: 26d
Discussions (4)
Title Replies (including bot) Last reply
[PATCH net v3] bonding: Fix unnecessary warnings and logs from bond_xdp_get_xmit_slave() 5 (5) 2024/09/24 13:30
[PATCH net v2] bonding: Add net_ratelimit for bond_xdp_get_xmit_slave in bond_main.c 3 (3) 2024/09/18 14:07
[PATCH net] bondig: Add bond_xdp_check for bond_xdp_xmit in bond_main.c 4 (4) 2024/09/17 07:14
[syzbot] [net?] WARNING in bond_xdp_get_xmit_slave (2) 0 (1) 2024/06/10 07:07
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in bond_xdp_get_xmit_slave 1 81d 81d 0/3 upstream: reported on 2024/07/26 04:33
upstream WARNING in bond_xdp_get_xmit_slave net 1 467d 467d 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: 1 PID: 6213 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: 6213 Comm: syz.2.336 Not tainted 6.10.0-rc6-syzkaller-00048-g73e931504f8e #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 e0 90 53 8c e8 e0 cc 27 fb eb 98 e8 c9 2b 4b fb 4c 89 e7 48 c7 c6 c0 b1 53 8c 89 da e8 48 a5 31 05 90 <0f> 0b 90 eb a6 e8 ad 2b 4b fb 48 85 db 74 0a e8 a3 2b 4b fb e9 72
RSP: 0018:ffffc9000423f6c8 EFLAGS: 00010246
RAX: 87ccc0f659c61d00 RBX: 0000000000000006 RCX: 87ccc0f659c61d00
RDX: ffffc90009d1b000 RSI: 0000000000002274 RDI: 0000000000002275
RBP: ffff88807b1f6038 R08: ffffffff8176927c R09: 1ffff92000847e54
R10: dffffc0000000000 R11: fffff52000847e55 R12: ffff88807d9b4000
R13: ffff88807d9b4000 R14: ffff88807d9b4ca0 R15: dffffc0000000000
FS:  00007f9cea7ad6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c3be0d0 CR3: 000000005e260000 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:4322
 bpf_prog_run_xdp include/net/xdp.h:518 [inline]
 xdp_test_run_batch net/bpf/test_run.c:313 [inline]
 bpf_test_run_xdp_live+0x15eb/0x1e60 net/bpf/test_run.c:384
 bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1281
 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:0x7f9ce9975b99
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:00007f9cea7ad048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f9ce9b03fa0 RCX: 00007f9ce9975b99
RDX: 0000000000000050 RSI: 0000000020000240 RDI: 000000000000000a
RBP: 00007f9ce99f677e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f9ce9b03fa0 R15: 00007ffff718edf8
 </TASK>

Crashes (124):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/02 02:03 upstream 73e931504f8e b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in bond_xdp_get_xmit_slave
2024/09/18 18:05 net 9410645520e9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/18 14:54 net 9410645520e9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/18 12:16 net 9410645520e9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/17 12:03 net 9410645520e9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/17 10:40 net 9410645520e9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/16 19:57 net 9410645520e9 49cf0773 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/16 08:53 net 7052622fccb1 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/16 07:29 net 7052622fccb1 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/16 01:01 net 7052622fccb1 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/15 22:01 net 7052622fccb1 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/15 18:21 net 7052622fccb1 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/15 09:30 net 36f6b72cb855 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/15 01:38 net 36f6b72cb855 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/14 23:30 net 36f6b72cb855 ff60e2ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/14 02:12 net 1f2e900ac26f 158f4851 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/13 12:18 net 3e705251d998 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/12 11:38 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/10 21:08 net 48aa361c5db0 79eef296 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/10 08:14 net 4c8002277167 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/05 18:49 net 8e69c96df771 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/05 05:14 net 4963d2343af8 dfbe2ed4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/05 02:56 net 4963d2343af8 dfbe2ed4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/04 16:22 net b6ecc6620376 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/03 05:18 net ef4a99a0164e abeaa9b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/03 02:11 net ef4a99a0164e abeaa9b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/02 18:56 net a3c1e45156ad 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/02 08:53 net 9b0874286768 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/02 04:12 net 9b0874286768 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/01 08:22 net fe1910f9337b 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/31 22:24 net fe1910f9337b 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/31 10:53 net fe1910f9337b 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/22 04:28 net f8669d7b5f5d ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/11 23:08 net 484caf207629 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/11 03:38 net eb755a956f61 6f4edef4 .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/09/14 16:52 net-next 34c44eb31de9 ff60e2ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/13 20:49 net-next bdf2ba157eb7 158f4851 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/09/03 07:33 net-next 55ddb6c5a3ae abeaa9b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/29 04:26 net-next e24a6c874601 ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/20 02:34 net-next af3dc0ad3167 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/19 13:59 net-next 1bf8e07c382b 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/18 02:43 net-next a99ef548bba0 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/17 15:38 net-next a99ef548bba0 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/16 12:38 net-next e5efc2311cc4 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/16 08:11 net-next e5efc2311cc4 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/13 23:04 net-next 0a3e6939d4b3 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bond_xdp_get_xmit_slave
2024/08/13 12:12 net-next 0a3e6939d4b3 f21a18ca .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.