================================================================== BUG: KCSAN: data-race in __synchronize_hardirq / handle_irq_event write to 0xffff88812bc94600 of 4 bytes by interrupt on cpu 1: irqd_clear kernel/irq/internals.h:225 [inline] handle_irq_event+0xa7/0xbe kernel/irq/handle.c:216 handle_edge_irq+0x170/0x460 kernel/irq/chip.c:830 generic_handle_irq_desc include/linux/irqdesc.h:156 [inline] do_IRQ+0x76/0x120 arch/x86/kernel/irq.c:250 ret_from_intr+0x0/0x21 arch_local_irq_restore arch/x86/include/asm/paravirt.h:759 [inline] kcsan_setup_watchpoint+0x25a/0x440 kernel/kcsan/core.c:542 search_memslots include/linux/kvm_host.h:1052 [inline] __gfn_to_memslot include/linux/kvm_host.h:1063 [inline] kvm_vcpu_gfn_to_memslot+0x1c3/0x270 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1603 kvm_vcpu_gfn_to_hva_prot+0x28/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1715 paging64_walk_addr_generic+0x249/0x1130 arch/x86/kvm/mmu/paging_tmpl.h:397 paging64_walk_addr arch/x86/kvm/mmu/paging_tmpl.h:516 [inline] paging64_gva_to_gpa+0x62/0x130 arch/x86/kvm/mmu/paging_tmpl.h:959 kvm_fetch_guest_virt+0xa8/0x150 arch/x86/kvm/x86.c:5432 __do_insn_fetch_bytes+0x260/0x450 arch/x86/kvm/emulate.c:918 x86_decode_insn+0xf77/0x2bc0 arch/x86/kvm/emulate.c:5171 x86_emulate_instruction+0x525/0x11d0 arch/x86/kvm/x86.c:6796 kvm_emulate_instruction arch/x86/kvm/x86.c:6935 [inline] handle_ud+0x6d/0x1c0 arch/x86/kvm/x86.c:5566 handle_exception_nmi+0x70a/0xa20 arch/x86/kvm/vmx/vmx.c:4626 vmx_handle_exit+0x1de/0xd60 arch/x86/kvm/vmx/vmx.c:5980 vcpu_enter_guest+0xc00/0x3740 arch/x86/kvm/x86.c:8481 vcpu_run arch/x86/kvm/x86.c:8544 [inline] kvm_arch_vcpu_ioctl_run+0x281/0xd60 arch/x86/kvm/x86.c:8766 kvm_vcpu_ioctl+0x70b/0x9d0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3138 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl+0x101/0x150 fs/ioctl.c:763 __do_sys_ioctl fs/ioctl.c:772 [inline] __se_sys_ioctl fs/ioctl.c:770 [inline] __x64_sys_ioctl+0x47/0x60 fs/ioctl.c:770 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812bc94600 of 4 bytes by task 30819 on cpu 0: irqd_irq_inprogress include/linux/irq.h:341 [inline] __synchronize_hardirq+0x62/0x1e0 kernel/irq/manage.c:51 synchronize_irq+0x4a/0x120 kernel/irq/manage.c:132 serial8250_do_shutdown+0xb3/0x3b0 drivers/tty/serial/8250/8250_port.c:2440 serial8250_shutdown+0x49/0x60 drivers/tty/serial/8250/8250_port.c:2486 uart_port_shutdown+0x6b/0x90 drivers/tty/serial/serial_core.c:1706 uart_tty_port_shutdown+0x7b/0x160 drivers/tty/serial/serial_core.c:1578 tty_port_shutdown+0x13f/0x160 drivers/tty/tty_port.c:330 tty_port_close drivers/tty/tty_port.c:636 [inline] tty_port_close+0x79/0xe0 drivers/tty/tty_port.c:631 uart_close+0x55/0x110 drivers/tty/serial/serial_core.c:1559 tty_release+0x281/0x8e0 drivers/tty/tty_io.c:1679 __fput+0x1e9/0x500 fs/file_table.c:280 ____fput+0x1b/0x30 fs/file_table.c:313 task_work_run+0xba/0x120 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2ae/0x2c0 arch/x86/entry/common.c:165 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x38b/0x3b0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 30819 Comm: syz-executor.1 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================