syzbot


KCSAN: data-race in ipvlan_open / is_upper_ndev_bond_master_filter (6)

Status: auto-obsoleted due to no activity on 2023/10/27 23:12
Subsystems: net
[Documentation on labels]
First crash: 222d, last: 222d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ipvlan_open / is_upper_ndev_bond_master_filter (4) net 1 423d 423d 0/26 auto-obsoleted due to no activity on 2023/04/16 13:59
upstream KCSAN: data-race in ipvlan_open / is_upper_ndev_bond_master_filter (3) net 4 597d 655d 0/26 auto-obsoleted due to no activity on 2022/10/17 15:43
upstream KCSAN: data-race in ipvlan_open / is_upper_ndev_bond_master_filter (5) net 1 318d 318d 0/26 closed as invalid on 2023/06/28 10:35
upstream KCSAN: data-race in ipvlan_open / is_upper_ndev_bond_master_filter (2) net 2 793d 807d 0/26 auto-closed as invalid on 2022/04/04 18:44
upstream KCSAN: data-race in ipvlan_open / is_upper_ndev_bond_master_filter net 1 829d 829d 0/26 closed as invalid on 2022/01/25 17:50

Sample crash report:
==================================================================
BUG: KCSAN: data-race in ipvlan_open / is_upper_ndev_bond_master_filter

read-write to 0xffff888133f2d0c0 of 4 bytes by task 14921 on cpu 1:
 ipvlan_open+0x6f/0xe0
 __dev_open+0x281/0x3a0 net/core/dev.c:1450
 __dev_change_flags+0x159/0x400 net/core/dev.c:8597
 rtnl_configure_link net/core/rtnetlink.c:3296 [inline]
 rtnl_newlink_create net/core/rtnetlink.c:3493 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3705 [inline]
 rtnl_newlink+0x1200/0x1670 net/core/rtnetlink.c:3718
 rtnetlink_rcv_msg+0x807/0x8c0 net/core/rtnetlink.c:6444
 netlink_rcv_skb+0x126/0x220 net/netlink/af_netlink.c:2545
 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6462
 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline]
 netlink_unicast+0x589/0x650 net/netlink/af_netlink.c:1368
 netlink_sendmsg+0x66e/0x770 net/netlink/af_netlink.c:1910
 sock_sendmsg_nosec net/socket.c:730 [inline]
 sock_sendmsg net/socket.c:753 [inline]
 ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2541
 ___sys_sendmsg net/socket.c:2595 [inline]
 __sys_sendmsg+0x1e9/0x270 net/socket.c:2624
 __do_sys_sendmsg net/socket.c:2633 [inline]
 __se_sys_sendmsg net/socket.c:2631 [inline]
 __x64_sys_sendmsg+0x46/0x50 net/socket.c:2631
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff888133f2d0c0 of 4 bytes by task 28566 on cpu 0:
 netif_is_bond_master include/linux/netdevice.h:5027 [inline]
 is_upper_ndev_bond_master_filter+0x2b/0xb0 drivers/infiniband/core/roce_gid_mgmt.c:275
 ib_enum_roce_netdev+0x120/0x1c0 drivers/infiniband/core/device.c:2305
 ib_enum_all_roce_netdevs+0x8a/0xf0 drivers/infiniband/core/device.c:2334
 netdevice_event_work_handler+0x15b/0x3c0 drivers/infiniband/core/roce_gid_mgmt.c:627
 process_one_work kernel/workqueue.c:2630 [inline]
 process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2703
 worker_thread+0x525/0x730 kernel/workqueue.c:2784
 kthread+0x1d7/0x210 kernel/kthread.c:388
 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304

value changed: 0x0000f026 -> 0x0000f0a7

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 28566 Comm: kworker/u4:7 Not tainted 6.6.0-rc2-syzkaller-00309-g8018e02a8703 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
Workqueue: gid-cache-wq netdevice_event_work_handler
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/22 23:03 upstream 8018e02a8703 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ipvlan_open / is_upper_ndev_bond_master_filter
* Struck through repros no longer work on HEAD.