================================================================== BUG: KCSAN: data-race in virtqueue_enable_cb_delayed / vring_interrupt write to 0xffff888102b7fe4a of 1 bytes by interrupt on cpu 1: vring_interrupt+0x132/0x180 drivers/virtio/virtio_ring.c:2207 __handle_irq_event_percpu+0x93/0x480 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:198 [inline] handle_irq_event+0x9a/0x150 kernel/irq/handle.c:215 handle_edge_irq+0x18e/0x5f0 kernel/irq/chip.c:822 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+0x1e/0x40 kcsan_setup_watchpoint+0x94/0x3f0 kernel/kcsan/core.c:437 crc32_body lib/crc32.c:106 [inline] crc32_le_generic lib/crc32.c:179 [inline] __crc32c_le_base+0x99/0x350 lib/crc32.c:202 chksum_update+0x2e/0x50 crypto/crct10dif_generic.c:56 crypto_shash_update+0x13c/0x1a0 crypto/shash.c:131 ext4_chksum fs/ext4/ext4.h:2453 [inline] ext4_inode_csum+0xdc/0x490 fs/ext4/inode.c:61 ext4_inode_csum_set fs/ext4/inode.c:115 [inline] ext4_fill_raw_inode+0xd5e/0xea0 fs/ext4/inode.c:4377 ext4_do_update_inode fs/ext4/inode.c:5094 [inline] ext4_mark_iloc_dirty+0x364/0x890 fs/ext4/inode.c:5694 __ext4_mark_inode_dirty+0x4ec/0x5f0 fs/ext4/inode.c:5890 ext4_dirty_inode+0x86/0xa0 fs/ext4/inode.c:5919 __mark_inode_dirty+0x72/0x6c0 fs/fs-writeback.c:2399 mark_inode_dirty include/linux/fs.h:2451 [inline] generic_write_end+0x157/0x180 fs/buffer.c:2202 ext4_da_write_end+0x4de/0x630 fs/ext4/inode.c:3059 generic_perform_write+0x261/0x400 mm/filemap.c:3767 ext4_buffered_write_iter+0x25b/0x380 fs/ext4/file.c:269 ext4_file_write_iter+0x2e7/0x1200 call_write_iter include/linux/fs.h:2162 [inline] do_iter_readv_writev+0x2de/0x380 fs/read_write.c:725 do_iter_write+0x192/0x5c0 fs/read_write.c:851 vfs_iter_write+0x4c/0x70 fs/read_write.c:892 iter_file_splice_write+0x43a/0x790 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0x80/0xa0 fs/splice.c:936 splice_direct_to_actor+0x345/0x650 fs/splice.c:891 do_splice_direct+0x106/0x190 fs/splice.c:979 do_sendfile+0x675/0xc40 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1304 [inline] __se_sys_sendfile64 fs/read_write.c:1296 [inline] __x64_sys_sendfile64+0xb9/0x140 fs/read_write.c:1296 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888102b7fe4a of 1 bytes by task 1794 on cpu 0: virtqueue_enable_cb_delayed+0x1f/0x3b0 drivers/virtio/virtio_ring.c:2163 start_xmit+0xef/0xb20 drivers/net/virtio_net.c:1715 __netdev_start_xmit include/linux/netdevice.h:4987 [inline] netdev_start_xmit include/linux/netdevice.h:5001 [inline] xmit_one+0x105/0x2f0 net/core/dev.c:3590 dev_hard_start_xmit+0x72/0x120 net/core/dev.c:3606 sch_direct_xmit+0x1b2/0x7c0 net/sched/sch_generic.c:342 __dev_xmit_skb+0x83d/0x1370 net/core/dev.c:3817 __dev_queue_xmit+0x590/0xf70 net/core/dev.c:4194 dev_queue_xmit+0x13/0x20 net/core/dev.c:4259 neigh_hh_output include/net/neighbour.h:511 [inline] neigh_output include/net/neighbour.h:525 [inline] ip_finish_output2+0x705/0xb40 net/ipv4/ip_output.c:221 ip_finish_output+0xfb/0x240 net/ipv4/ip_output.c:309 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip_output+0xf3/0x1a0 net/ipv4/ip_output.c:423 dst_output include/net/dst.h:450 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0xa1a/0xa40 net/ipv4/ip_output.c:525 ip_queue_xmit+0x34/0x40 net/ipv4/ip_output.c:539 __tcp_transmit_skb+0x132a/0x1840 net/ipv4/tcp_output.c:1402 tcp_transmit_skb net/ipv4/tcp_output.c:1420 [inline] tcp_write_xmit+0x1440/0x42a0 net/ipv4/tcp_output.c:2677 __tcp_push_pending_frames+0x68/0x1c0 net/ipv4/tcp_output.c:2861 tcp_push+0x2d9/0x2f0 net/ipv4/tcp.c:725 tcp_sendmsg_locked+0x1a13/0x2310 net/ipv4/tcp.c:1394 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1422 inet_sendmsg+0x5f/0x80 net/ipv4/af_inet.c:819 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] sock_write_iter+0x1a3/0x200 net/socket.c:1057 call_write_iter include/linux/fs.h:2162 [inline] new_sync_write fs/read_write.c:503 [inline] vfs_write+0x7f5/0x950 fs/read_write.c:590 ksys_write+0xd9/0x190 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+0x3e/0x50 fs/read_write.c:652 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1794 Comm: sshd Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================