================================================================== BUG: KCSAN: data-race in virtqueue_disable_cb / vring_interrupt write to 0xffff888101b28e52 of 1 bytes by interrupt on cpu 1: vring_interrupt+0x12b/0x180 drivers/virtio/virtio_ring.c:2591 __handle_irq_event_percpu+0x95/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+0x16d/0x5b0 kernel/irq/chip.c:831 generic_handle_irq_desc include/linux/irqdesc.h:161 [inline] handle_irq arch/x86/kernel/irq.c:238 [inline] __common_interrupt+0x58/0xf0 arch/x86/kernel/irq.c:257 common_interrupt+0x7c/0x90 arch/x86/kernel/irq.c:247 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 kcsan_setup_watchpoint+0x404/0x410 kernel/kcsan/core.c:705 find_va_links mm/vmalloc.c:1136 [inline] __merge_or_add_vmap_area mm/vmalloc.c:1369 [inline] merge_or_add_vmap_area_augment mm/vmalloc.c:1450 [inline] reclaim_list_global+0x17d/0xbc0 mm/vmalloc.c:2101 decay_va_pool_node+0x873/0x8b0 mm/vmalloc.c:2162 __purge_vmap_area_lazy+0xd6/0x6f0 mm/vmalloc.c:2224 _vm_unmap_aliases+0x3e4/0x460 mm/vmalloc.c:2843 vm_reset_perms+0x1c0/0x2a0 mm/vmalloc.c:3251 vfree+0x376/0x390 mm/vmalloc.c:3330 bpf_prog_free_deferred+0x4af/0x4d0 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read to 0xffff888101b28e52 of 1 bytes by task 3083 on cpu 0: virtqueue_disable_cb_split drivers/virtio/virtio_ring.c:892 [inline] virtqueue_disable_cb+0x92/0x180 drivers/virtio/virtio_ring.c:2446 start_xmit+0x125/0xb60 drivers/net/virtio_net.c:2415 __netdev_start_xmit include/linux/netdevice.h:4903 [inline] netdev_start_xmit include/linux/netdevice.h:4917 [inline] xmit_one net/core/dev.c:3531 [inline] dev_hard_start_xmit+0x119/0x3f0 net/core/dev.c:3547 sch_direct_xmit+0x1b0/0x580 net/sched/sch_generic.c:343 __dev_xmit_skb net/core/dev.c:3760 [inline] __dev_queue_xmit+0xee7/0x1e50 net/core/dev.c:4307 dev_queue_xmit include/linux/netdevice.h:3091 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip_finish_output2+0x73b/0x8b0 net/ipv4/ip_output.c:235 ip_finish_output+0x11a/0x2a0 net/ipv4/ip_output.c:323 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip_output+0xab/0x170 net/ipv4/ip_output.c:433 dst_output include/net/dst.h:450 [inline] ip_local_out net/ipv4/ip_output.c:129 [inline] __ip_queue_xmit+0xbca/0xbf0 net/ipv4/ip_output.c:535 ip_queue_xmit+0x38/0x50 net/ipv4/ip_output.c:549 __tcp_transmit_skb+0x15b0/0x1970 net/ipv4/tcp_output.c:1462 tcp_transmit_skb net/ipv4/tcp_output.c:1480 [inline] tcp_write_xmit+0x12dd/0x2ff0 net/ipv4/tcp_output.c:2792 __tcp_push_pending_frames+0x6a/0x1a0 net/ipv4/tcp_output.c:2977 tcp_push+0x320/0x340 net/ipv4/tcp.c:738 tcp_sendmsg_locked+0x21c9/0x26c0 net/ipv4/tcp.c:1310 tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1342 inet_sendmsg+0x77/0xd0 net/ipv4/af_inet.c:851 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x102/0x180 net/socket.c:745 sock_write_iter+0x164/0x1b0 net/socket.c:1160 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x771/0x8e0 fs/read_write.c:590 ksys_write+0xeb/0x1b0 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+0x42/0x50 fs/read_write.c:652 x64_sys_call+0x27b7/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3083 Comm: syz-fuzzer Tainted: G W 6.9.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ==================================================================