================================================================== BUG: KCSAN: data-race in batadv_hardif_enable_interface / batadv_iv_ogm_schedule write to 0xffff888115b13a78 of 8 bytes by task 8178 on cpu 0: batadv_hardif_enable_interface+0x17b/0x640 net/batman-adv/hard-interface.c:731 batadv_softif_slave_add+0x62/0xd0 net/batman-adv/soft-interface.c:844 do_set_master net/core/rtnetlink.c:2701 [inline] do_setlink+0x968/0x2490 net/core/rtnetlink.c:2907 __rtnl_newlink net/core/rtnetlink.c:3696 [inline] rtnl_newlink+0x11a3/0x1690 net/core/rtnetlink.c:3743 rtnetlink_rcv_msg+0x6aa/0x710 net/core/rtnetlink.c:6647 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2550 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6665 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x593/0x670 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x5cc/0x6e0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:745 __sys_sendto+0x1e5/0x260 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0x78/0x90 net/socket.c:2212 x64_sys_call+0x2bc6/0x2e00 arch/x86/include/generated/asm/syscalls_64.h:45 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 0xffff888115b13a78 of 8 bytes by task 6623 on cpu 1: batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:843 [inline] batadv_iv_ogm_schedule+0x53c/0x780 net/batman-adv/bat_iv_ogm.c:868 batadv_iv_send_outstanding_bat_ogm_packet+0x44c/0x4b0 net/batman-adv/bat_iv_ogm.c:1712 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3312 worker_thread+0x526/0x700 kernel/workqueue.c:3390 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: 0x0000000000000000 -> 0xffff888118b74000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 6623 Comm: kworker/u8:31 Not tainted 6.10.0-syzkaller-12562-g1722389b0d86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet ==================================================================