Hello,
syzbot found the following issue on:
HEAD commit: 67f34fa8 Merge tag 'usb-5.10-rc6' of git://
git.kernel.org/..
git tree: upstream
console output:
https://syzkaller.appspot.com/x/log.txt?x=1100cd8b500000
kernel config:
https://syzkaller.appspot.com/x/.config?x=9b9b19d1bde60f8d
dashboard link:
https://syzkaller.appspot.com/bug?extid=8ae4d5d8d810bc348766
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project.git 913f6005669cfb590c99865a90bc51ed0983d09d)
CC: [
and...@kernel.org a...@kernel.org b...@vger.kernel.org dan...@iogearbox.net da...@davemloft.net edum...@google.com ha...@kernel.org john.fa...@gmail.com j...@linux.ibm.com ka...@fb.com kps...@chromium.org ku...@kernel.org linux-...@vger.kernel.org net...@vger.kernel.org ro...@cumulusnetworks.com songliu...@fb.com y...@fb.com zhu...@huawei.com]
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+8ae4d5...@syzkaller.appspotmail.com
==================================================================
BUG: KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
read-write to 0xffff88803f437228 of 4 bytes by task 7954 on cpu 1:
__dev_change_flags+0x9e/0x400 net/core/dev.c:8397
rtnl_configure_link+0xc2/0x150 net/core/rtnetlink.c:3123
__rtnl_newlink net/core/rtnetlink.c:3460 [inline]
rtnl_newlink+0xf14/0x13a0 net/core/rtnetlink.c:3500
rtnetlink_rcv_msg+0x723/0x7c0 net/core/rtnetlink.c:5562
netlink_rcv_skb+0x13e/0x240 net/netlink/af_netlink.c:2494
rtnetlink_rcv+0x18/0x20 net/core/rtnetlink.c:5580
netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline]
netlink_unicast+0x5df/0x6b0 net/netlink/af_netlink.c:1330
netlink_sendmsg+0x6f8/0x7c0 net/netlink/af_netlink.c:1919
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg net/socket.c:671 [inline]
____sys_sendmsg+0x352/0x4c0 net/socket.c:2353
___sys_sendmsg net/socket.c:2407 [inline]
__sys_sendmsg+0x1e2/0x260 net/socket.c:2440
__do_sys_sendmsg net/socket.c:2449 [inline]
__se_sys_sendmsg net/socket.c:2447 [inline]
__x64_sys_sendmsg+0x42/0x50 net/socket.c:2447
do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
read to 0xffff88803f437228 of 4 bytes by task 21 on cpu 0:
netif_is_bond_master include/linux/netdevice.h:4876 [inline]
is_upper_ndev_bond_master_filter+0x27/0xb0 drivers/infiniband/core/roce_gid_mgmt.c:274
ib_enum_roce_netdev+0x292/0x310 drivers/infiniband/core/device.c:2263
ib_enum_all_roce_netdevs+0x94/0x100 drivers/infiniband/core/device.c:2292
netdevice_event_work_handler+0xf8/0x200 drivers/infiniband/core/roce_gid_mgmt.c:626
process_one_work+0x3e1/0x950 kernel/workqueue.c:2272
worker_thread+0x635/0xb90 kernel/workqueue.c:2418
kthread+0x1fd/0x220 kernel/kthread.c:292
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 21 Comm: kworker/u4:1 Not tainted 5.10.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: gid-cache-wq netdevice_event_work_handler
==================================================================
---
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
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.