================================================================== BUG: KCSAN: data-race in virtqueue_disable_cb / vring_interrupt write to 0xffff888103272052 of 1 bytes by interrupt on cpu 0: vring_interrupt+0x128/0x170 drivers/virtio/virtio_ring.c:2497 __handle_irq_event_percpu+0x91/0x490 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x64/0xf0 kernel/irq/handle.c:210 handle_edge_irq+0x167/0x590 kernel/irq/chip.c:834 generic_handle_irq_desc include/linux/irqdesc.h:161 [inline] handle_irq arch/x86/kernel/irq.c:238 [inline] __common_interrupt+0x3c/0xb0 arch/x86/kernel/irq.c:257 common_interrupt+0x7a/0x90 arch/x86/kernel/irq.c:247 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:636 kcsan_setup_watchpoint+0x3fe/0x410 kernel/kcsan/core.c:705 tlb_flush_rmap_batch mm/mmu_gather.c:54 [inline] tlb_flush_rmaps+0x142/0x1e0 mm/mmu_gather.c:79 zap_pte_range mm/memory.c:1520 [inline] zap_pmd_range mm/memory.c:1570 [inline] zap_pud_range mm/memory.c:1599 [inline] zap_p4d_range mm/memory.c:1620 [inline] unmap_page_range+0x19ba/0x1da0 mm/memory.c:1641 unmap_single_vma+0x142/0x1d0 mm/memory.c:1687 unmap_vmas+0x157/0x200 mm/memory.c:1726 exit_mmap+0x15f/0x5f0 mm/mmap.c:3203 __mmput+0x28/0x1c0 kernel/fork.c:1348 mmput+0x4c/0x60 kernel/fork.c:1370 exit_mm+0xe3/0x180 kernel/exit.c:567 do_exit+0x580/0x1670 kernel/exit.c:861 do_group_exit+0x101/0x150 kernel/exit.c:1024 get_signal+0xeb7/0xff0 kernel/signal.c:2881 arch_do_signal_or_restart+0x89/0x2a0 arch/x86/kernel/signal.c:308 exit_to_user_mode_loop+0x6f/0xe0 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888103272052 of 1 bytes by task 3592 on cpu 1: virtqueue_disable_cb_split drivers/virtio/virtio_ring.c:862 [inline] virtqueue_disable_cb+0x92/0x180 drivers/virtio/virtio_ring.c:2352 start_xmit+0xf0/0xae0 drivers/net/virtio_net.c:2149 __netdev_start_xmit include/linux/netdevice.h:4910 [inline] netdev_start_xmit include/linux/netdevice.h:4924 [inline] xmit_one net/core/dev.c:3537 [inline] dev_hard_start_xmit+0x11b/0x3f0 net/core/dev.c:3553 sch_direct_xmit+0x1b0/0x570 net/sched/sch_generic.c:342 __dev_xmit_skb net/core/dev.c:3764 [inline] __dev_queue_xmit+0xe5f/0x1d10 net/core/dev.c:4169 dev_queue_xmit include/linux/netdevice.h:3088 [inline] neigh_hh_output include/net/neighbour.h:528 [inline] neigh_output include/net/neighbour.h:542 [inline] ip_finish_output2+0x700/0x840 net/ipv4/ip_output.c:230 ip_finish_output+0xf4/0x240 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:292 [inline] ip_output+0xe5/0x1b0 net/ipv4/ip_output.c:432 dst_output include/net/dst.h:458 [inline] ip_local_out net/ipv4/ip_output.c:127 [inline] __ip_queue_xmit+0xaaf/0xae0 net/ipv4/ip_output.c:534 ip_queue_xmit+0x38/0x40 net/ipv4/ip_output.c:548 __tcp_transmit_skb+0x1231/0x1710 net/ipv4/tcp_output.c:1401 __tcp_send_ack+0x1de/0x2d0 net/ipv4/tcp_output.c:4072 tcp_send_ack+0x27/0x30 net/ipv4/tcp_output.c:4078 __tcp_cleanup_rbuf+0x149/0x260 net/ipv4/tcp.c:1483 tcp_cleanup_rbuf net/ipv4/tcp.c:1494 [inline] tcp_recvmsg_locked+0x109d/0x1540 net/ipv4/tcp.c:2536 tcp_recvmsg+0x13b/0x490 net/ipv4/tcp.c:2566 inet_recvmsg+0xa2/0x210 net/ipv4/af_inet.c:862 sock_recvmsg_nosec net/socket.c:1020 [inline] sock_recvmsg net/socket.c:1041 [inline] sock_read_iter+0x1a0/0x210 net/socket.c:1107 call_read_iter include/linux/fs.h:1871 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x3da/0x5c0 fs/read_write.c:470 ksys_read+0xeb/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+0x42/0x50 fs/read_write.c:621 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3592 Comm: syz-fuzzer Tainted: G W 6.5.0-rc7-syzkaller-00104-g4f9e7fabf864 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ==================================================================