syzbot


KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter (9)

Status: upstream: reported on 2024/07/04 15:07
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+113b65786d8662e21ff7@syzkaller.appspotmail.com
First crash: 485d, last: 1h26m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter (9) 1 (2) 2024/07/04 15:10
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter (6) net 4 809d 828d 0/27 auto-closed as invalid on 2022/05/30 09:44
upstream KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter (7) net 5 681d 736d 0/27 auto-closed as invalid on 2022/10/06 05:34
upstream KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter net 1 1460d 1460d 0/27 auto-closed as invalid on 2020/08/18 04:32
upstream KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter (4) net 1 1192d 1192d 0/27 auto-closed as invalid on 2021/05/12 19:57
upstream KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter (8) net 1 619d 619d 0/27 auto-obsoleted due to no activity on 2022/12/07 07:34
upstream KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter (3) net 4 1268d 1309d 0/27 auto-closed as invalid on 2021/02/25 18:39
upstream KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter (2) net 1 1370d 1370d 0/27 auto-closed as invalid on 2020/11/15 22:09
upstream KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter (5) net 16 877d 965d 0/27 auto-closed as invalid on 2022/03/24 08:25

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

read-write to 0xffff888112d970b0 of 4 bytes by task 4888 on cpu 0:
 __dev_change_flags+0x9a/0x410 net/core/dev.c:8755
 rtnl_configure_link net/core/rtnetlink.c:3321 [inline]
 rtnl_newlink_create net/core/rtnetlink.c:3518 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3730 [inline]
 rtnl_newlink+0x121e/0x1690 net/core/rtnetlink.c:3743
 rtnetlink_rcv_msg+0x85e/0x910 net/core/rtnetlink.c:6635
 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2564
 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6653
 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline]
 netlink_unicast+0x58d/0x660 net/netlink/af_netlink.c:1361
 netlink_sendmsg+0x5ca/0x6e0 net/netlink/af_netlink.c:1905
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x140/0x180 net/socket.c:745
 ____sys_sendmsg+0x312/0x410 net/socket.c:2585
 ___sys_sendmsg net/socket.c:2639 [inline]
 __sys_sendmsg+0x1e9/0x280 net/socket.c:2668
 __do_sys_sendmsg net/socket.c:2677 [inline]
 __se_sys_sendmsg net/socket.c:2675 [inline]
 __x64_sys_sendmsg+0x46/0x50 net/socket.c:2675
 x64_sys_call+0xb25/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:47
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888112d970b0 of 4 bytes by task 11 on cpu 1:
 netif_is_bond_master include/linux/netdevice.h:5020 [inline]
 is_upper_ndev_bond_master_filter+0x2b/0xb0 drivers/infiniband/core/roce_gid_mgmt.c:275
 ib_enum_roce_netdev+0x124/0x1d0 drivers/infiniband/core/device.c:2310
 ib_enum_all_roce_netdevs+0x8a/0x100 drivers/infiniband/core/device.c:2337
 netdevice_event_work_handler+0x15b/0x3c0 drivers/infiniband/core/roce_gid_mgmt.c:626
 process_one_work kernel/workqueue.c:3248 [inline]
 process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3329
 worker_thread+0x526/0x720 kernel/workqueue.c:3409
 kthread+0x1d1/0x210 kernel/kthread.c:389
 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244

value changed: 0x00001002 -> 0x00000202

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 11 Comm: kworker/u8:0 Not tainted 6.10.0-rc7-syzkaller-00254-g528dd46d0fc3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: gid-cache-wq netdevice_event_work_handler
==================================================================

Crashes (63):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/13 07:17 upstream 528dd46d0fc3 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/07/04 01:51 upstream 8a9c6c40432e f76a75f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/07/01 20:50 upstream 9903efbddba0 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/06/30 14:16 upstream 8282d5af7be8 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/06/25 12:05 upstream 55027e689933 04bd2a30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/06/24 12:12 upstream f2661062f16b edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/06/11 22:10 upstream 83a7eefedc9b 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/06/09 15:44 upstream 771ed66105de 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/05/03 14:19 upstream f03359bca01b dd26401e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/05/02 18:32 upstream 49a73b1652c5 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/04/28 09:53 upstream 2c8159388952 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/04/22 08:12 upstream ed30a4a51bb1 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/03/27 12:29 upstream 7033999ecd7b 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/03/11 05:36 upstream fa4b851b4ad6 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/03/02 15:47 upstream 5ad3cb0ed525 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/03/01 13:45 upstream 87adedeba51a 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/02/27 20:50 upstream 45ec2f5f6ed3 d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/02/14 01:26 upstream c664e16bb1ba e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/02/13 08:22 upstream c664e16bb1ba 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/02/07 10:13 upstream 6d280f4d760e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/01/27 16:29 upstream 3a5879d495b2 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/01/21 09:09 upstream 7a396820222d 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/01/16 16:56 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/01/09 09:06 upstream 5db8752c3b81 4c0fd4bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2024/01/07 10:52 upstream 52b1853b080a d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/12/31 02:08 upstream 453f5db0619e fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/12/26 05:10 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/12/24 16:16 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/12/16 23:21 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/12/11 07:35 upstream a39b6ac3781d 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/12/10 23:22 upstream c527f5606aa5 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/12/06 05:41 upstream bee0e7762ad2 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/12/02 15:42 upstream 815fb87b7530 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/11/29 02:24 upstream 18d46e76d7c2 1adfb6f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/11/28 10:23 upstream df60cee26a2e 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/11/24 20:35 upstream f1a09972a45a 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/11/17 07:14 upstream 7475e51b8796 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/11/16 05:37 upstream c42d9eeef8e5 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/11/13 08:09 upstream b57b17e88bf5 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/10/25 03:42 upstream d88520ad73b7 17e6d526 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/10/13 17:21 upstream 10a6e5feccb8 f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/10/11 13:45 upstream 1c8b86a3799f 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/10/04 23:35 upstream cbf3a2cb156a b7d7ff54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/09/29 08:13 upstream 9ed22ae6be81 d265efd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/09/28 11:06 upstream 633b47cb009d c2ab1e5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/09/19 14:27 upstream 2cf0f7156238 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/09/17 15:26 upstream f0b0d403eabb 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/09/17 08:18 upstream ad8a69f361b9 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/09/11 22:10 upstream 0bb80ecc33a8 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/08/23 04:05 upstream 53663f4103ff b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/08/21 19:16 upstream f7757129e3de 6b415825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/08/06 16:38 upstream f0ab9f34e59e 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/08/05 19:39 upstream 024ff300db33 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/08/02 04:30 upstream 5d0c230f1de8 df07ffe8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/07/17 09:19 upstream 20edcec23f92 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/07/09 21:18 upstream 1c7873e33645 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/06/30 17:50 upstream e55e5df193d2 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/06/29 07:18 upstream 6aeadf7896bf ca69c785 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/06/24 03:03 upstream 61dabacdad4e 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/06/01 13:34 upstream 929ed21dfdb6 babc4389 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/04/27 04:51 upstream 5c7ecada25d2 19a3dabe .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/04/18 02:51 upstream 6a8f57ae2eb0 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
2023/03/16 02:01 upstream 9c1bec9c0b08 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter
* Struck through repros no longer work on HEAD.