================================================================== BUG: KCSAN: data-race in virtqueue_disable_cb / vring_interrupt write to 0xffff8881019e335a of 1 bytes by interrupt on cpu 0: vring_interrupt+0x124/0x170 drivers/virtio/virtio_ring.c:2458 __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 kcsan_setup_watchpoint+0x3e9/0x3f0 kernel/kcsan/core.c:694 security_inode_symlink+0x4e/0xd0 vfs_symlink+0x142/0x280 fs/namei.c:4374 do_symlinkat+0xe2/0x330 fs/namei.c:4407 __do_sys_symlinkat fs/namei.c:4424 [inline] __se_sys_symlinkat fs/namei.c:4421 [inline] __x64_sys_symlinkat+0x5e/0x70 fs/namei.c:4421 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 0xffff8881019e335a of 1 bytes by task 1793 on cpu 1: virtqueue_disable_cb+0x17/0x160 drivers/virtio/virtio_ring.c:2307 start_xmit+0xd1/0xaf0 drivers/net/virtio_net.c:1830 __netdev_start_xmit include/linux/netdevice.h:4819 [inline] netdev_start_xmit include/linux/netdevice.h:4833 [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:535 [inline] neigh_output include/net/neighbour.h:549 [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:296 [inline] ip_output+0xf3/0x1a0 net/ipv4/ip_output.c:430 dst_output include/net/dst.h:451 [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/0x30d0 net/ipv4/tcp_output.c:2691 __tcp_push_pending_frames+0x68/0x1c0 net/ipv4/tcp_output.c:2875 tcp_push_pending_frames include/net/tcp.h:1932 [inline] tcp_data_snd_check net/ipv4/tcp_input.c:5497 [inline] tcp_rcv_established+0x6c8/0xea0 net/ipv4/tcp_input.c:6006 tcp_v4_do_rcv+0x2a8/0x5a0 net/ipv4/tcp_ipv4.c:1661 sk_backlog_rcv include/net/sock.h:1100 [inline] __release_sock+0xa7/0x220 net/core/sock.c:2852 release_sock+0x40/0x110 net/core/sock.c:3408 tcp_sendmsg+0x36/0x40 net/ipv4/tcp.c:1484 inet_sendmsg+0x5f/0x80 net/ipv4/af_inet.c:819 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:2187 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x468/0x760 fs/read_write.c:578 ksys_write+0xe8/0x1a0 fs/read_write.c:631 __do_sys_write fs/read_write.c:643 [inline] __se_sys_write fs/read_write.c:640 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:640 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: 1793 Comm: sshd Not tainted 6.0.0-rc6-syzkaller-00009-g60891ec99e14-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 ==================================================================