================================================================== BUG: KCSAN: data-race in virtqueue_disable_cb / vring_interrupt write to 0xffff8881031e255a of 1 bytes by interrupt on cpu 0: vring_interrupt+0x128/0x170 drivers/virtio/virtio_ring.c:2487 __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:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:231 [inline] __common_interrupt+0x3c/0xb0 arch/x86/kernel/irq.c:250 common_interrupt+0x7a/0x90 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:636 ext4_fill_raw_inode+0xa47/0xe60 fs/ext4/inode.c:4300 ext4_do_update_inode fs/ext4/inode.c:5054 [inline] ext4_mark_iloc_dirty+0x2e9/0xe10 fs/ext4/inode.c:5686 __ext4_mark_inode_dirty+0x314/0x440 fs/ext4/inode.c:5890 __ext4_unlink+0x4b6/0x6b0 fs/ext4/namei.c:3269 ext4_unlink+0xd6/0x2a0 fs/ext4/namei.c:3298 vfs_unlink+0x261/0x3e0 fs/namei.c:4250 do_unlinkat+0x266/0x4f0 fs/namei.c:4316 __do_sys_unlink fs/namei.c:4364 [inline] __se_sys_unlink fs/namei.c:4362 [inline] __x64_sys_unlink+0x30/0x40 fs/namei.c:4362 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 read to 0xffff8881031e255a of 1 bytes by interrupt on cpu 1: virtqueue_disable_cb+0x1b/0x170 drivers/virtio/virtio_ring.c:2336 start_xmit+0xc0/0xaa0 drivers/net/virtio_net.c:2007 __netdev_start_xmit include/linux/netdevice.h:4884 [inline] netdev_start_xmit include/linux/netdevice.h:4898 [inline] xmit_one net/core/dev.c:3581 [inline] dev_hard_start_xmit+0x11b/0x3f0 net/core/dev.c:3597 sch_direct_xmit+0x1b0/0x570 net/sched/sch_generic.c:342 __dev_xmit_skb net/core/dev.c:3808 [inline] __dev_queue_xmit+0xf4a/0x1e60 net/core/dev.c:4213 dev_queue_xmit include/linux/netdevice.h:3054 [inline] neigh_hh_output include/net/neighbour.h:530 [inline] neigh_output include/net/neighbour.h:544 [inline] ip_finish_output2+0x6ff/0x840 net/ipv4/ip_output.c:228 ip_finish_output+0xf4/0x240 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip_output+0xe5/0x1b0 net/ipv4/ip_output.c:430 dst_output include/net/dst.h:444 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0xa4d/0xa70 net/ipv4/ip_output.c:532 ip_queue_xmit+0x38/0x40 net/ipv4/ip_output.c:546 __tcp_transmit_skb+0x1165/0x16c0 net/ipv4/tcp_output.c:1399 __tcp_send_ack+0x1e0/0x2d0 net/ipv4/tcp_output.c:3983 tcp_send_ack+0x27/0x30 net/ipv4/tcp_output.c:3989 __tcp_ack_snd_check+0x2d5/0x500 net/ipv4/tcp_input.c:5536 tcp_ack_snd_check net/ipv4/tcp_input.c:5582 [inline] tcp_rcv_established+0x6f8/0xe50 net/ipv4/tcp_input.c:6020 tcp_v4_do_rcv+0x2ac/0x600 net/ipv4/tcp_ipv4.c:1721 tcp_v4_rcv+0x1856/0x1ab0 net/ipv4/tcp_ipv4.c:2143 ip_protocol_deliver_rcu+0x356/0x6d0 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x13d/0x1b0 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:302 [inline] ip_local_deliver+0xec/0x1c0 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:454 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:580 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:630 [inline] ip_sublist_rcv+0x4e1/0x5b0 net/ipv4/ip_input.c:638 ip_list_rcv+0x25e/0x290 net/ipv4/ip_input.c:673 __netif_receive_skb_list_ptype net/core/dev.c:5523 [inline] __netif_receive_skb_list_core+0x356/0x460 net/core/dev.c:5571 __netif_receive_skb_list net/core/dev.c:5623 [inline] netif_receive_skb_list_internal+0x4e6/0x660 net/core/dev.c:5714 gro_normal_list include/net/gro.h:433 [inline] napi_complete_done+0x1b8/0x3d0 net/core/dev.c:6054 virtqueue_napi_complete drivers/net/virtio_net.c:405 [inline] virtnet_poll+0x729/0x9a0 drivers/net/virtio_net.c:1855 __napi_poll+0x60/0x3b0 net/core/dev.c:6483 napi_poll net/core/dev.c:6550 [inline] net_rx_action+0x31a/0x6c0 net/core/dev.c:6660 __do_softirq+0xc1/0x265 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x57/0xa0 kernel/softirq.c:650 common_interrupt+0x7f/0x90 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:636 vm_normal_page+0xb0/0x1a0 mm/memory.c:625 zap_pte_range mm/memory.c:1387 [inline] zap_pmd_range mm/memory.c:1536 [inline] zap_pud_range mm/memory.c:1565 [inline] zap_p4d_range mm/memory.c:1586 [inline] unmap_page_range+0x627/0x1e60 mm/memory.c:1607 unmap_single_vma+0x13c/0x1c0 mm/memory.c:1653 unmap_vmas+0x157/0x200 mm/memory.c:1692 exit_mmap+0x158/0x5a0 mm/mmap.c:3069 __mmput+0x28/0x1c0 kernel/fork.c:1208 mmput+0x49/0x60 kernel/fork.c:1230 exit_mm+0xe1/0x180 kernel/exit.c:563 do_exit+0x558/0x1660 kernel/exit.c:856 do_group_exit+0x101/0x150 kernel/exit.c:1019 get_signal+0xeb1/0xff0 kernel/signal.c:2874 arch_do_signal_or_restart+0x89/0x2a0 arch/x86/kernel/signal.c:306 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 value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 25466 Comm: syz-executor.3 Not tainted 6.3.0-syzkaller-05127-g5c7ecada25d2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 ==================================================================