================================================================== BUG: KCSAN: data-race in virtqueue_disable_cb / virtqueue_disable_cb read to 0xffff8881020b0d78 of 2 bytes by interrupt on cpu 0: virtqueue_disable_cb_split drivers/virtio/virtio_ring.c:873 [inline] virtqueue_disable_cb+0x58/0x150 drivers/virtio/virtio_ring.c:2570 skb_xmit_done+0x65/0x140 drivers/net/virtio_net.c:784 vring_interrupt+0x155/0x180 drivers/virtio/virtio_ring.c:2719 __handle_irq_event_percpu+0x90/0x440 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+0x154/0x470 kernel/irq/chip.c:855 generic_handle_irq_desc include/linux/irqdesc.h:173 [inline] handle_irq arch/x86/kernel/irq.c:254 [inline] call_irq_handler arch/x86/kernel/irq.c:-1 [inline] __common_interrupt+0x60/0xb0 arch/x86/kernel/irq.c:325 common_interrupt+0x3e/0x90 arch/x86/kernel/irq.c:318 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 should_watch kernel/kcsan/core.c:277 [inline] check_access kernel/kcsan/core.c:752 [inline] __tsan_unaligned_write8+0x13b/0x190 kernel/kcsan/core.c:1025 virtqueue_add_split drivers/virtio/virtio_ring.c:665 [inline] virtqueue_add+0x2260/0x2640 drivers/virtio/virtio_ring.c:2282 virtqueue_add_inbuf_premapped+0x56/0x90 drivers/virtio/virtio_ring.c:2437 add_recvbuf_mergeable drivers/net/virtio_net.c:2795 [inline] try_fill_recv+0x89e/0x16d0 drivers/net/virtio_net.c:2823 virtnet_receive drivers/net/virtio_net.c:3019 [inline] virtnet_poll+0x1641/0x1cb0 drivers/net/virtio_net.c:3110 __napi_poll+0x66/0x310 net/core/dev.c:7494 napi_poll net/core/dev.c:7557 [inline] net_rx_action+0x391/0x830 net/core/dev.c:7684 handle_softirqs+0xba/0x290 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0x3a/0xc0 kernel/softirq.c:680 common_interrupt+0x83/0x90 arch/x86/kernel/irq.c:318 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 is_atomic kernel/kcsan/core.c:249 [inline] should_watch kernel/kcsan/core.c:277 [inline] check_access kernel/kcsan/core.c:752 [inline] __tsan_read8+0xe9/0x190 kernel/kcsan/core.c:1025 folio_test_anon include/linux/page-flags.h:723 [inline] zap_present_folio_ptes mm/memory.c:1498 [inline] zap_present_ptes mm/memory.c:1581 [inline] do_zap_pte_range mm/memory.c:1682 [inline] zap_pte_range mm/memory.c:1726 [inline] zap_pmd_range mm/memory.c:1818 [inline] zap_pud_range mm/memory.c:1847 [inline] zap_p4d_range mm/memory.c:1868 [inline] unmap_page_range+0xd52/0x2680 mm/memory.c:1889 unmap_single_vma mm/memory.c:1932 [inline] unmap_vmas+0x23d/0x3a0 mm/memory.c:1976 exit_mmap+0x1b0/0x6c0 mm/mmap.c:1280 __mmput+0x28/0x1c0 kernel/fork.c:1130 mmput+0x40/0x50 kernel/fork.c:1152 exit_mm+0xe4/0x190 kernel/exit.c:582 do_exit+0x417/0x15c0 kernel/exit.c:949 do_group_exit+0x139/0x140 kernel/exit.c:1102 __do_sys_exit_group kernel/exit.c:1113 [inline] __se_sys_exit_group kernel/exit.c:1111 [inline] __x64_sys_exit_group+0x1f/0x20 kernel/exit.c:1111 x64_sys_call+0x2fe2/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f write to 0xffff8881020b0d78 of 2 bytes by task 3290 on cpu 1: virtqueue_disable_cb_split drivers/virtio/virtio_ring.c:874 [inline] virtqueue_disable_cb+0x7a/0x150 drivers/virtio/virtio_ring.c:2570 start_xmit+0x103/0x17a0 drivers/net/virtio_net.c:3362 __netdev_start_xmit include/linux/netdevice.h:5222 [inline] netdev_start_xmit include/linux/netdevice.h:5231 [inline] xmit_one net/core/dev.c:3827 [inline] dev_hard_start_xmit+0x122/0x3e0 net/core/dev.c:3843 sch_direct_xmit+0x192/0x550 net/sched/sch_generic.c:344 __dev_xmit_skb net/core/dev.c:4102 [inline] __dev_queue_xmit+0xe9a/0x2000 net/core/dev.c:4679 dev_queue_xmit include/linux/netdevice.h:3361 [inline] neigh_hh_output include/net/neighbour.h:531 [inline] neigh_output include/net/neighbour.h:545 [inline] ip_finish_output2+0x77f/0x8b0 net/ipv4/ip_output.c:235 __ip_finish_output net/ipv4/ip_output.c:-1 [inline] ip_finish_output+0x114/0x2a0 net/ipv4/ip_output.c:323 NF_HOOK_COND include/linux/netfilter.h:307 [inline] ip_output+0xbd/0x190 net/ipv4/ip_output.c:436 dst_output include/net/dst.h:461 [inline] ip_local_out net/ipv4/ip_output.c:129 [inline] __ip_queue_xmit+0xb4b/0xb80 net/ipv4/ip_output.c:532 ip_queue_xmit+0x39/0x50 net/ipv4/ip_output.c:546 __tcp_transmit_skb+0x1641/0x1a60 net/ipv4/tcp_output.c:1479 __tcp_send_ack+0x227/0x350 net/ipv4/tcp_output.c:4285 tcp_send_ack+0x29/0x30 net/ipv4/tcp_output.c:4291 __tcp_cleanup_rbuf+0xd3/0x2c0 net/ipv4/tcp.c:1541 tcp_cleanup_rbuf net/ipv4/tcp.c:1552 [inline] tcp_recvmsg_locked+0x1ade/0x1fd0 net/ipv4/tcp.c:2875 tcp_recvmsg+0x12e/0x490 net/ipv4/tcp.c:2905 inet_recvmsg+0xb7/0x290 net/ipv4/af_inet.c:883 sock_recvmsg_nosec net/socket.c:1065 [inline] sock_recvmsg+0xf6/0x170 net/socket.c:1087 sock_read_iter+0x152/0x1a0 net/socket.c:1157 new_sync_read fs/read_write.c:491 [inline] vfs_read+0x649/0x770 fs/read_write.c:572 ksys_read+0xda/0x1a0 fs/read_write.c:715 __do_sys_read fs/read_write.c:724 [inline] __se_sys_read fs/read_write.c:722 [inline] __x64_sys_read+0x40/0x50 fs/read_write.c:722 x64_sys_call+0x27bc/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:1 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000 -> 0x0001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3290 Comm: syz-executor Tainted: G W 6.17.0-rc2-syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ==================================================================