================================================================== BUG: KCSAN: data-race in do_syslog / log_store write to 0xffffffff88f8e1c0 of 8 bytes by task 8705 on cpu 0: 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 hsr_debugfs_init+0x90/0xd0 net/hsr/hsr_debugfs.c:108 hsr_dev_finalize+0x452/0x490 net/hsr/hsr_device.c:579 hsr_newlink+0x384/0x3c0 net/hsr/hsr_netlink.c:102 __rtnl_newlink net/core/rtnetlink.c:3441 [inline] rtnl_newlink+0xdaf/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 0xffffffff88f8e1c0 of 8 bytes by task 8328 on cpu 1: 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/0x5f0 fs/read_write.c:479 ksys_read+0xce/0x180 fs/read_write.c:615 __do_sys_read fs/read_write.c:625 [inline] __se_sys_read fs/read_write.c:623 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:623 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: 1 PID: 8328 Comm: in:imklog Not tainted 5.9.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================