================================================================== BUG: KCSAN: data-race in __synchronize_hardirq / handle_irq_event write to 0xffff88812bc93600 of 4 bytes by interrupt on cpu 1: irqd_clear kernel/irq/internals.h:227 [inline] handle_irq_event+0xaf/0xca kernel/irq/handle.c:209 handle_edge_irq+0x1a4/0x4a0 kernel/irq/chip.c:830 generic_handle_irq_desc include/linux/irqdesc.h:156 [inline] do_IRQ+0x7c/0x130 arch/x86/kernel/irq.c:250 ret_from_intr+0x0/0x21 arch_local_irq_restore arch/x86/include/asm/paravirt.h:752 [inline] kcsan_setup_watchpoint+0x1d4/0x460 kernel/kcsan/core.c:429 check_access kernel/kcsan/core.c:459 [inline] __tsan_read4+0xc6/0x100 kernel/kcsan/core.c:588 __tlb_remove_page_size+0x7e/0x1d0 mm/mmu_gather.c:82 __tlb_remove_page include/asm-generic/tlb.h:414 [inline] zap_pte_range mm/memory.c:1083 [inline] zap_pmd_range mm/memory.c:1184 [inline] zap_pud_range mm/memory.c:1213 [inline] zap_p4d_range mm/memory.c:1234 [inline] unmap_page_range+0xb8e/0x1940 mm/memory.c:1255 unmap_single_vma+0x144/0x200 mm/memory.c:1300 unmap_vmas+0xda/0x1a0 mm/memory.c:1332 exit_mmap+0x13e/0x300 mm/mmap.c:3140 __mmput kernel/fork.c:1082 [inline] mmput+0xea/0x280 kernel/fork.c:1103 exit_mm kernel/exit.c:485 [inline] do_exit+0x4ac/0x18c0 kernel/exit.c:784 do_group_exit+0xb4/0x1c0 kernel/exit.c:895 get_signal+0x2a2/0x1320 kernel/signal.c:2734 do_signal+0x2f/0x6c0 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x250/0x2c0 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x384/0x3a0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812bc93600 of 4 bytes by task 29058 on cpu 0: irqd_irq_inprogress include/linux/irq.h:325 [inline] __synchronize_hardirq+0x61/0x1e0 kernel/irq/manage.c:50 synchronize_irq+0x56/0x120 kernel/irq/manage.c:131 serial8250_do_shutdown+0xc1/0x400 drivers/tty/serial/8250/8250_port.c:2346 serial8250_shutdown+0x52/0x70 drivers/tty/serial/8250/8250_port.c:2392 uart_port_shutdown+0x71/0xa0 drivers/tty/serial/serial_core.c:1703 uart_tty_port_shutdown+0x7f/0x170 drivers/tty/serial/serial_core.c:1575 tty_port_shutdown+0x14e/0x170 drivers/tty/tty_port.c:329 tty_port_close drivers/tty/tty_port.c:635 [inline] tty_port_close+0x80/0xf0 drivers/tty/tty_port.c:630 uart_close+0x5d/0x120 drivers/tty/serial/serial_core.c:1556 tty_release+0x285/0x910 drivers/tty/tty_io.c:1683 __fput+0x1e1/0x520 fs/file_table.c:280 ____fput+0x1f/0x30 fs/file_table.c:313 task_work_run+0xf6/0x130 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2b4/0x2c0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x384/0x3a0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 29058 Comm: syz-executor.3 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================