================================================================== BUG: KCSAN: data-race in do_syslog / log_store write to 0xffffffff8950f200 of 8 bytes by task 8718 on cpu 1: log_store+0x7a2/0x7d0 kernel/printk/printk.c:672 log_output kernel/printk/printk.c:1932 [inline] vprintk_store+0x5ba/0x700 kernel/printk/printk.c:1983 vprintk_emit+0x114/0x4f0 kernel/printk/printk.c:2011 vprintk_default+0x24/0x30 kernel/printk/printk.c:2047 vprintk_func+0x13d/0x140 kernel/printk/printk_safe.c:393 printk+0x62/0x82 kernel/printk/printk.c:2078 batadv_check_known_mac_addr+0x153/0x190 net/batman-adv/hard-interface.c:516 batadv_hard_if_event+0x407/0xc70 net/batman-adv/hard-interface.c:1064 notifier_call_chain kernel/notifier.c:83 [inline] __raw_notifier_call_chain kernel/notifier.c:361 [inline] raw_notifier_call_chain+0x53/0xb0 kernel/notifier.c:368 call_netdevice_notifiers_info net/core/dev.c:2033 [inline] call_netdevice_notifiers_extack net/core/dev.c:2045 [inline] call_netdevice_notifiers net/core/dev.c:2059 [inline] dev_set_mac_address+0x1cd/0x270 net/core/dev.c:8546 do_setlink+0x458/0x2220 net/core/rtnetlink.c:2661 __rtnl_newlink net/core/rtnetlink.c:3374 [inline] rtnl_newlink+0xe62/0x1340 net/core/rtnetlink.c:3500 rtnetlink_rcv_msg+0x71b/0x7b0 net/core/rtnetlink.c:5563 netlink_rcv_skb+0x13e/0x240 net/netlink/af_netlink.c:2470 rtnetlink_rcv+0x18/0x20 net/core/rtnetlink.c:5581 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x5e2/0x6b0 net/netlink/af_netlink.c:1330 netlink_sendmsg+0x6d8/0x7a0 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg net/socket.c:671 [inline] __sys_sendto+0x2ae/0x380 net/socket.c:1992 __do_sys_sendto net/socket.c:2004 [inline] __se_sys_sendto net/socket.c:2000 [inline] __x64_sys_sendto+0x74/0x90 net/socket.c:2000 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffffff8950f200 of 8 bytes by task 8400 on cpu 0: do_syslog+0x3b2/0x1480 kernel/printk/printk.c:1561 kmsg_read+0x7a/0xa0 fs/proc/kmsg.c:40 pde_read fs/proc/inode.c:306 [inline] proc_reg_read+0xde/0x1a0 fs/proc/inode.c:316 vfs_read+0x16d/0x5e0 fs/read_write.c:479 ksys_read+0xce/0x180 fs/read_write.c:607 __do_sys_read fs/read_write.c:617 [inline] __se_sys_read fs/read_write.c:615 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:615 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 8400 Comm: in:imklog Not tainted 5.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================