================================================================== BUG: KCSAN: data-race in batadv_hardif_enable_interface / batadv_iv_ogm_schedule write to 0xffff888119aee678 of 8 bytes by task 30853 on cpu 1: 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:2685 [inline] do_setlink+0x968/0x2480 net/core/rtnetlink.c:2891 __rtnl_newlink net/core/rtnetlink.c:3680 [inline] rtnl_newlink+0x11a1/0x1690 net/core/rtnetlink.c:3727 rtnetlink_rcv_msg+0x82e/0x8e0 net/core/rtnetlink.c:6595 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2559 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6613 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x58d/0x660 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x5d3/0x6e0 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:745 __sys_sendto+0x1e5/0x260 net/socket.c:2191 __do_sys_sendto net/socket.c:2203 [inline] __se_sys_sendto net/socket.c:2199 [inline] __x64_sys_sendto+0x78/0x90 net/socket.c:2199 x64_sys_call+0x16bb/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:45 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888119aee678 of 8 bytes by task 29937 on cpu 0: 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:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 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 -> 0xffff88816cf6e000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 29937 Comm: kworker/u8:5 Tainted: G W 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet ==================================================================