syzbot


KCSAN: data-race in bond_3ad_initiate_agg_selection / bond_3ad_state_machine_handler

Status: auto-closed as invalid on 2020/03/30 06:40
Subsystems: net
[Documentation on labels]
First crash: 1614d, last: 1614d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in bond_3ad_initiate_agg_selection / bond_3ad_state_machine_handler (2) net 1 858d 858d 22/27 fixed on 2023/02/24 13:50

Sample crash report:
==================================================================
BUG: KCSAN: data-race in bond_3ad_initiate_agg_selection / bond_3ad_state_machine_handler

read to 0xffff888073c7f988 of 4 bytes by task 8106 on cpu 0:
 bond_3ad_state_machine_handler+0xc5/0x2980 drivers/net/bonding/bond_3ad.c:2306
 process_one_work+0x3d4/0x890 kernel/workqueue.c:2264
 worker_thread+0xa0/0x800 kernel/workqueue.c:2410
 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352

write to 0xffff888073c7f988 of 4 bytes by task 21907 on cpu 1:
 bond_3ad_initiate_agg_selection+0x27/0x40 drivers/net/bonding/bond_3ad.c:1987
 bond_open+0x713/0x740 drivers/net/bonding/bond_main.c:3481
 __dev_open+0x188/0x2a0 net/core/dev.c:1431
 dev_open net/core/dev.c:1467 [inline]
 dev_open+0x94/0x100 net/core/dev.c:1460
 bond_enslave+0x5d4/0x2740 drivers/net/bonding/bond_main.c:1604
 do_set_master net/core/rtnetlink.c:2463 [inline]
 do_set_master+0x161/0x180 net/core/rtnetlink.c:2436
 do_setlink+0x697/0x1ee0 net/core/rtnetlink.c:2598
 __rtnl_newlink+0x950/0x1090 net/core/rtnetlink.c:3238
 rtnl_newlink+0x63/0x90 net/core/rtnetlink.c:3363
 rtnetlink_rcv_msg+0x1d3/0x500 net/core/rtnetlink.c:5424
 netlink_rcv_skb+0xb0/0x260 net/netlink/af_netlink.c:2477
 rtnetlink_rcv+0x26/0x30 net/core/rtnetlink.c:5442
 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline]
 netlink_unicast+0x3a6/0x4d0 net/netlink/af_netlink.c:1328
 netlink_sendmsg+0x4d3/0x8b0 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:639 [inline]
 sock_sendmsg+0x9f/0xc0 net/socket.c:659
 ____sys_sendmsg+0x49d/0x4d0 net/socket.c:2330
 ___sys_sendmsg+0xb5/0x100 net/socket.c:2384
 __sys_sendmsg+0xa0/0x160 net/socket.c:2417
 __do_sys_sendmsg net/socket.c:2426 [inline]
 __se_sys_sendmsg net/socket.c:2424 [inline]
 __x64_sys_sendmsg+0x51/0x70 net/socket.c:2424
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 21907 Comm: syz-executor.4 Not tainted 5.5.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/20 06:37 https://github.com/google/ktsan.git kcsan 245a43005292 0342f8c7 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.