================================================================== BUG: KCSAN: data-race in free_old_xmit_skbs / virtnet_stats write to 0xffff888101cd6298 of 8 bytes by interrupt on cpu 0: free_old_xmit_skbs+0x12a/0x190 drivers/net/virtio_net.c:1504 virtnet_poll_cleantx drivers/net/virtio_net.c:1532 [inline] virtnet_poll+0x1c6/0x980 drivers/net/virtio_net.c:1551 __napi_poll+0x65/0x3f0 net/core/dev.c:7023 napi_poll net/core/dev.c:7090 [inline] net_rx_action+0x29e/0x650 net/core/dev.c:7177 __do_softirq+0x158/0x2de kernel/softirq.c:558 __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0x37/0x70 kernel/softirq.c:649 common_interrupt+0x9f/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x1e/0x40 memset_erms+0xb/0x10 init_sync_kiocb include/linux/fs.h:2326 [inline] new_sync_write fs/read_write.c:499 [inline] vfs_write+0x771/0x950 fs/read_write.c:590 ksys_write+0xd9/0x190 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:652 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888101cd6298 of 8 bytes by task 1476 on cpu 1: virtnet_stats+0x15f/0x350 drivers/net/virtio_net.c:1887 dev_get_stats+0x65/0x180 net/core/dev.c:10691 rtnl_fill_stats+0x45/0x320 net/core/rtnetlink.c:1202 rtnl_fill_ifinfo+0xebf/0x2560 net/core/rtnetlink.c:1774 rtnl_dump_ifinfo+0x893/0xce0 net/core/rtnetlink.c:2138 netlink_dump+0x364/0x6b0 net/netlink/af_netlink.c:2270 netlink_recvmsg+0x486/0x810 net/netlink/af_netlink.c:2004 ____sys_recvmsg+0x16c/0x320 ___sys_recvmsg net/socket.c:2670 [inline] __sys_recvmsg+0x209/0x3f0 net/socket.c:2700 __do_sys_recvmsg net/socket.c:2710 [inline] __se_sys_recvmsg net/socket.c:2707 [inline] __x64_sys_recvmsg+0x42/0x50 net/socket.c:2707 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x000000000166a412 -> 0x000000000166a634 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1476 Comm: dhcpcd Tainted: G W 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================