================================================================== BUG: KCSAN: data-race in handle_irq_event / synchronize_irq write to 0xffff8881000ea600 of 4 bytes by interrupt on cpu 0: irqd_clear kernel/irq/internals.h:225 [inline] handle_irq_event+0x12a/0x160 kernel/irq/handle.c:216 handle_edge_irq+0x17e/0x600 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+0x38/0xb0 arch/x86/kernel/irq.c:250 common_interrupt+0x73/0x90 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:638 check_kcov_mode kernel/kcov.c:165 [inline] write_comp_data kernel/kcov.c:218 [inline] __sanitizer_cov_trace_const_cmp8+0x31/0x90 kernel/kcov.c:291 is_cow_mapping include/linux/mm.h:1331 [inline] page_needs_cow_for_dma include/linux/mm.h:1341 [inline] copy_present_page mm/memory.c:827 [inline] copy_present_pte mm/memory.c:870 [inline] copy_pte_range+0x3b8/0x1460 mm/memory.c:984 copy_pmd_range mm/memory.c:1064 [inline] copy_pud_range mm/memory.c:1101 [inline] copy_p4d_range mm/memory.c:1125 [inline] copy_page_range+0x5ca/0x8d0 mm/memory.c:1198 dup_mmap+0x6bb/0x9d0 kernel/fork.c:598 dup_mm+0x7c/0x210 kernel/fork.c:1374 copy_mm kernel/fork.c:1426 [inline] copy_process+0x1203/0x2e00 kernel/fork.c:2116 kernel_clone+0x14b/0x680 kernel/fork.c:2503 __do_sys_clone kernel/fork.c:2620 [inline] __se_sys_clone kernel/fork.c:2604 [inline] __x64_sys_clone+0xb4/0xe0 kernel/fork.c:2604 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881000ea600 of 4 bytes by task 11913 on cpu 1: irqd_irq_inprogress include/linux/irq.h:354 [inline] __synchronize_hardirq kernel/irq/manage.c:51 [inline] synchronize_irq+0xa6/0x2e0 kernel/irq/manage.c:132 serial8250_do_shutdown+0xc5/0x540 drivers/tty/serial/8250/8250_port.c:2441 serial8250_shutdown+0x37/0x40 drivers/tty/serial/8250/8250_port.c:2487 uart_port_shutdown drivers/tty/serial/serial_core.c:1707 [inline] uart_shutdown+0x276/0x410 drivers/tty/serial/serial_core.c:299 uart_hangup+0x9e/0x250 drivers/tty/serial/serial_core.c:1674 __tty_hangup+0x5d4/0x680 drivers/tty/tty_io.c:662 tty_vhangup drivers/tty/tty_io.c:712 [inline] tty_ioctl+0x532/0x1120 drivers/tty/tty_io.c:2746 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:1055 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:1055 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 11913 Comm: syz-executor.1 Not tainted 5.13.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================