public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+9bb2ff2a4ab9e17307e1@syzkaller.appspotmail.com>
To: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
	 jv@jvosburgh.net, kuba@kernel.org, linux-kernel@vger.kernel.org,
	 netdev@vger.kernel.org, pabeni@redhat.com,
	syzkaller-bugs@googlegroups.com
Subject: [syzbot] [net?] KCSAN: data-race in bond_3ad_get_active_agg_info / bond_3ad_state_machine_handler (3)
Date: Tue, 28 Apr 2026 05:29:35 -0700	[thread overview]
Message-ID: <69f0a82f.050a0220.3aadc4.0000.GAE@google.com> (raw)

Hello,

syzbot found the following issue on:

HEAD commit:    3b3bea6d4b9c Merge tag 'cgroup-for-7.1-rc1-fixes' of git:/..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=109b2348580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=2e40c0f41e01837e
dashboard link: https://syzkaller.appspot.com/bug?extid=9bb2ff2a4ab9e17307e1
compiler:       Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/64fa98e0b2e5/disk-3b3bea6d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/f60f0974e1aa/vmlinux-3b3bea6d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/46e55233d5b4/bzImage-3b3bea6d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+9bb2ff2a4ab9e17307e1@syzkaller.appspotmail.com

8021q: adding VLAN 0 to HW filter on device bond11
==================================================================
BUG: KCSAN: data-race in bond_3ad_get_active_agg_info / bond_3ad_state_machine_handler

write to 0xffff88813cf5c4b0 of 8 bytes by task 36 on cpu 0:
 ad_port_selection_logic drivers/net/bonding/bond_3ad.c:1659 [inline]
 bond_3ad_state_machine_handler+0x9d5/0x2d60 drivers/net/bonding/bond_3ad.c:2569
 process_one_work kernel/workqueue.c:3302 [inline]
 process_scheduled_works+0x4f0/0x9c0 kernel/workqueue.c:3385
 worker_thread+0x58a/0x780 kernel/workqueue.c:3466
 kthread+0x22a/0x280 kernel/kthread.c:436
 ret_from_fork+0x146/0x330 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

read to 0xffff88813cf5c4b0 of 8 bytes by task 22063 on cpu 1:
 __bond_3ad_get_active_agg_info drivers/net/bonding/bond_3ad.c:2858 [inline]
 bond_3ad_get_active_agg_info+0x8c/0x230 drivers/net/bonding/bond_3ad.c:2881
 bond_fill_info+0xe0f/0x10f0 drivers/net/bonding/bond_netlink.c:853
 rtnl_link_info_fill net/core/rtnetlink.c:906 [inline]
 rtnl_link_fill+0x1d7/0x4e0 net/core/rtnetlink.c:927
 rtnl_fill_ifinfo+0xf8e/0x1380 net/core/rtnetlink.c:2168
 rtmsg_ifinfo_build_skb+0x11c/0x1b0 net/core/rtnetlink.c:4453
 rtmsg_ifinfo_event net/core/rtnetlink.c:4486 [inline]
 rtmsg_ifinfo+0x6d/0x110 net/core/rtnetlink.c:4495
 __dev_notify_flags+0x76/0x390 net/core/dev.c:9790
 netif_change_flags+0xac/0xd0 net/core/dev.c:9823
 do_setlink+0x905/0x2950 net/core/rtnetlink.c:3180
 rtnl_group_changelink net/core/rtnetlink.c:3813 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3981 [inline]
 rtnl_newlink+0xf55/0x1400 net/core/rtnetlink.c:4109
 rtnetlink_rcv_msg+0x64b/0x720 net/core/rtnetlink.c:6995
 netlink_rcv_skb+0x123/0x220 net/netlink/af_netlink.c:2550
 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:7022
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x5a8/0x680 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x5c8/0x6f0 net/netlink/af_netlink.c:1894
 sock_sendmsg_nosec net/socket.c:787 [inline]
 __sock_sendmsg net/socket.c:802 [inline]
 ____sys_sendmsg+0x563/0x5b0 net/socket.c:2698
 ___sys_sendmsg+0x195/0x1e0 net/socket.c:2752
 __sys_sendmsg net/socket.c:2784 [inline]
 __do_sys_sendmsg net/socket.c:2789 [inline]
 __se_sys_sendmsg net/socket.c:2787 [inline]
 __x64_sys_sendmsg+0xd4/0x160 net/socket.c:2787
 x64_sys_call+0x194c/0x3020 arch/x86/include/generated/asm/syscalls_64.h:47
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x12c/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x0000000000000000 -> 0xffff88813cf5c400

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 22063 Comm: syz.0.31122 Tainted: G        W           syzkaller #0 PREEMPT(full) 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
==================================================================
8021q: adding VLAN 0 to HW filter on device bond12
8021q: adding VLAN 0 to HW filter on device bond13
8021q: adding VLAN 0 to HW filter on device bond14
bridge0: port 1(batadv1) entered blocking state
bridge0: port 1(batadv1) entered listening state
8021q: adding VLAN 0 to HW filter on device batadv1
8021q: adding VLAN 0 to HW filter on device eth0
8021q: adding VLAN 0 to HW filter on device eth1
8021q: adding VLAN 0 to HW filter on device eth2
8021q: adding VLAN 0 to HW filter on device eth3
vlan0: left promiscuous mode
bond15: left promiscuous mode
bridge13: left promiscuous mode
vlan0: left allmulticast mode
bond15: left allmulticast mode
bridge13: left allmulticast mode
ipip0: left promiscuous mode
8021q: adding VLAN 0 to HW filter on device bond16
8021q: adding VLAN 0 to HW filter on device bond0


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

                 reply	other threads:[~2026-04-28 12:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=69f0a82f.050a0220.3aadc4.0000.GAE@google.com \
    --to=syzbot+9bb2ff2a4ab9e17307e1@syzkaller.appspotmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=jv@jvosburgh.net \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=syzkaller-bugs@googlegroups.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox