================================================================== BUG: KCSAN: data-race in virtqueue_disable_cb / vring_interrupt write to 0xffff8881033d345a of 1 bytes by interrupt on cpu 1: vring_interrupt+0x124/0x170 drivers/virtio/virtio_ring.c:2466 __handle_irq_event_percpu+0x92/0x400 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x60/0xf0 kernel/irq/handle.c:210 handle_edge_irq+0x17e/0x5a0 kernel/irq/chip.c:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:231 [inline] __common_interrupt+0x60/0x100 arch/x86/kernel/irq.c:250 common_interrupt+0x9a/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:640 atomic_inc include/linux/atomic/atomic-instrumented.h:191 [inline] page_ref_inc include/linux/page_ref.h:158 [inline] folio_ref_inc include/linux/page_ref.h:165 [inline] folio_get include/linux/mm.h:1124 [inline] get_page include/linux/mm.h:1129 [inline] copy_present_pte+0x110/0xa70 mm/memory.c:968 copy_pte_range+0x3ed/0xc50 mm/memory.c:1085 copy_pmd_range mm/memory.c:1171 [inline] copy_pud_range mm/memory.c:1208 [inline] copy_p4d_range mm/memory.c:1232 [inline] copy_page_range+0x5da/0x8e0 mm/memory.c:1330 dup_mmap+0x76a/0xaf0 kernel/fork.c:691 dup_mm+0x7c/0x210 kernel/fork.c:1526 copy_mm+0xb1/0x120 kernel/fork.c:1575 copy_process+0xdc4/0x2100 kernel/fork.c:2253 kernel_clone+0x166/0x550 kernel/fork.c:2671 __do_sys_clone kernel/fork.c:2812 [inline] __se_sys_clone kernel/fork.c:2796 [inline] __x64_sys_clone+0xc3/0xf0 kernel/fork.c:2796 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881033d345a of 1 bytes by task 2387 on cpu 0: virtqueue_disable_cb+0x17/0x160 drivers/virtio/virtio_ring.c:2315 start_xmit+0xd1/0xaf0 drivers/net/virtio_net.c:1833 __netdev_start_xmit include/linux/netdevice.h:4840 [inline] netdev_start_xmit include/linux/netdevice.h:4854 [inline] xmit_one+0xc0/0x2a0 net/core/dev.c:3590 dev_hard_start_xmit+0x72/0x120 net/core/dev.c:3606 sch_direct_xmit+0x1ac/0x580 net/sched/sch_generic.c:342 __dev_xmit_skb+0x806/0xdb0 net/core/dev.c:3817 __dev_queue_xmit+0x59f/0xfe0 net/core/dev.c:4222 dev_queue_xmit include/linux/netdevice.h:3008 [inline] neigh_hh_output include/net/neighbour.h:530 [inline] neigh_output include/net/neighbour.h:544 [inline] ip_finish_output2+0x70b/0x850 net/ipv4/ip_output.c:228 ip_finish_output+0xf3/0x250 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip_output+0xf3/0x1a0 net/ipv4/ip_output.c:430 dst_output include/net/dst.h:445 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0xa2e/0xa50 net/ipv4/ip_output.c:532 ip_queue_xmit+0x34/0x40 net/ipv4/ip_output.c:546 __tcp_transmit_skb+0x1242/0x1730 net/ipv4/tcp_output.c:1402 __tcp_send_ack+0x1dc/0x2e0 net/ipv4/tcp_output.c:3986 tcp_send_ack+0x23/0x30 net/ipv4/tcp_output.c:3992 __tcp_cleanup_rbuf+0x14e/0x260 net/ipv4/tcp.c:1617 tcp_cleanup_rbuf net/ipv4/tcp.c:1628 [inline] tcp_recvmsg_locked+0x10c4/0x1580 net/ipv4/tcp.c:2649 tcp_recvmsg+0x148/0x4c0 net/ipv4/tcp.c:2679 inet_recvmsg+0x9e/0x210 net/ipv4/af_inet.c:859 sock_recvmsg_nosec net/socket.c:995 [inline] sock_recvmsg net/socket.c:1013 [inline] sock_read_iter+0x1b1/0x1f0 net/socket.c:1086 call_read_iter include/linux/fs.h:2185 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x3a5/0x560 fs/read_write.c:470 ksys_read+0xe8/0x1a0 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:621 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2387 Comm: syz-fuzzer Tainted: G W 6.1.0-rc2-syzkaller-00351-g91562cf99364-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 ==================================================================