================================================================== BUG: KCSAN: data-race in handle_irq_event / synchronize_irq read-write to 0xffff888100140600 of 4 bytes by interrupt on cpu 0: irqd_clear kernel/irq/internals.h:225 [inline] handle_irq_event+0xf3/0x120 kernel/irq/handle.c:216 handle_edge_irq+0x16e/0x590 kernel/irq/chip.c:819 asm_call_irq_on_stack+0xf/0x20 __run_irq_on_irqstack arch/x86/include/asm/irq_stack.h:48 [inline] run_irq_on_irqstack_cond arch/x86/include/asm/irq_stack.h:101 [inline] handle_irq arch/x86/kernel/irq.c:230 [inline] __common_interrupt arch/x86/kernel/irq.c:249 [inline] common_interrupt+0x8e/0x130 arch/x86/kernel/irq.c:239 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:619 __sanitizer_cov_trace_pc+0x59/0x60 kernel/kcov.c:205 copy_pte_range+0x385/0x1ab0 mm/memory.c:958 copy_pmd_range mm/memory.c:1058 [inline] copy_pud_range mm/memory.c:1095 [inline] copy_p4d_range mm/memory.c:1119 [inline] copy_page_range+0x85e/0xb30 mm/memory.c:1192 dup_mmap+0x75e/0xa90 kernel/fork.c:594 dup_mm+0x7c/0x210 kernel/fork.c:1361 copy_mm kernel/fork.c:1417 [inline] copy_process+0x125c/0x2da0 kernel/fork.c:2099 kernel_clone+0x14b/0x680 kernel/fork.c:2464 __do_sys_clone kernel/fork.c:2581 [inline] __se_sys_clone kernel/fork.c:2565 [inline] __x64_sys_clone+0xc8/0xf0 kernel/fork.c:2565 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888100140600 of 4 bytes by task 23150 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+0xbb/0x400 drivers/tty/serial/8250/8250_port.c:2447 serial8250_shutdown+0x37/0x40 drivers/tty/serial/8250/8250_port.c:2493 uart_port_shutdown drivers/tty/serial/serial_core.c:1710 [inline] uart_tty_port_shutdown+0xb9/0x1b0 drivers/tty/serial/serial_core.c:1582 tty_port_shutdown drivers/tty/tty_port.c:330 [inline] tty_port_close+0x166/0x210 drivers/tty/tty_port.c:636 uart_close+0x4a/0xd0 drivers/tty/serial/serial_core.c:1563 tty_release+0x255/0x9f0 drivers/tty/tty_io.c:1683 __fput+0x24b/0x4e0 fs/file_table.c:280 ____fput+0x11/0x20 fs/file_table.c:313 task_work_run+0x8e/0x110 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x16b/0x1a0 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 23150 Comm: syz-executor.5 Not tainted 5.11.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================