================================================================== BUG: KCSAN: data-race in virtqueue_disable_cb / vring_interrupt write to 0xffff88810334de5a of 1 bytes by interrupt on cpu 0: 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 mnt_add_count fs/namespace.c:169 [inline] __legitimize_mnt+0x52/0x150 fs/namespace.c:631 __legitimize_path fs/namei.c:698 [inline] legitimize_path fs/namei.c:715 [inline] try_to_unlazy+0x1ed/0x5a0 fs/namei.c:776 may_lookup fs/namei.c:1712 [inline] link_path_walk+0x188/0x8a0 fs/namei.c:2262 path_lookupat+0x7b/0x2b0 fs/namei.c:2473 filename_lookup+0x133/0x310 fs/namei.c:2503 user_path_at_empty+0x3e/0x110 fs/namei.c:2876 do_readlinkat+0x98/0x210 fs/stat.c:468 __do_sys_readlink fs/stat.c:501 [inline] __se_sys_readlink fs/stat.c:498 [inline] __x64_sys_readlink+0x43/0x50 fs/stat.c:498 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 0xffff88810334de5a of 1 bytes by task 1817 on cpu 1: 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_transmit_skb net/ipv4/tcp_output.c:1420 [inline] tcp_write_xmit+0x13c8/0x30b0 net/ipv4/tcp_output.c:2696 __tcp_push_pending_frames+0x68/0x1c0 net/ipv4/tcp_output.c:2880 tcp_push+0x300/0x310 net/ipv4/tcp.c:729 tcp_sendmsg_locked+0x1d8a/0x21d0 net/ipv4/tcp.c:1455 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1483 inet_sendmsg+0x5f/0x80 net/ipv4/af_inet.c:827 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] sock_write_iter+0x1b7/0x220 net/socket.c:1108 call_write_iter include/linux/fs.h:2191 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x468/0x760 fs/read_write.c:584 ksys_write+0xe8/0x1a0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:646 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: 1 PID: 1817 Comm: syz-fuzzer Not tainted 6.1.0-rc4-syzkaller-00015-gf141df371335-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 ==================================================================