================================================================== BUG: KCSAN: data-race in handle_irq_event / synchronize_irq write to 0xffff88812bce5600 of 4 bytes by interrupt on cpu 1: irqd_clear kernel/irq/internals.h:225 [inline] handle_irq_event+0x10e/0x140 kernel/irq/handle.c:216 handle_edge_irq+0x18e/0x5f0 kernel/irq/chip.c:819 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] handle_irq arch/x86/kernel/irq.c:230 [inline] __common_interrupt arch/x86/kernel/irq.c:249 [inline] common_interrupt+0xf6/0x1e0 arch/x86/kernel/irq.c:239 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:572 arch_local_irq_restore arch/x86/include/asm/paravirt.h:770 [inline] kcsan_setup_watchpoint+0x44b/0x4a0 kernel/kcsan/core.c:563 mnt_add_count fs/namespace.c:148 [inline] mntput_no_expire+0x5c/0x670 fs/namespace.c:1154 mntput+0x46/0x70 fs/namespace.c:1211 path_put fs/namei.c:497 [inline] terminate_walk+0x11a/0x270 fs/namei.c:593 path_openat+0x1dd9/0x20a0 fs/namei.c:3369 do_filp_open+0xbd/0x1d0 fs/namei.c:3395 do_sys_openat2+0x33b/0x500 fs/open.c:1168 do_sys_open fs/open.c:1184 [inline] __do_sys_open fs/open.c:1192 [inline] __se_sys_open fs/open.c:1188 [inline] __x64_sys_open+0xe2/0x110 fs/open.c:1188 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812bce5600 of 4 bytes by task 29612 on cpu 0: irqd_irq_inprogress include/linux/irq.h:344 [inline] __synchronize_hardirq kernel/irq/manage.c:51 [inline] synchronize_irq+0xa6/0x2e0 kernel/irq/manage.c:132 serial8250_do_shutdown+0xb8/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:1706 [inline] uart_tty_port_shutdown+0xb9/0x1b0 drivers/tty/serial/serial_core.c:1578 tty_port_shutdown drivers/tty/tty_port.c:330 [inline] tty_port_close+0x166/0x210 drivers/tty/tty_port.c:636 uart_close+0x4c/0xf0 drivers/tty/serial/serial_core.c:1559 tty_release+0x255/0xa00 drivers/tty/tty_io.c:1679 __fput+0x246/0x4d0 fs/file_table.c:281 ____fput+0x11/0x20 fs/file_table.c:314 task_work_run+0x8e/0x110 kernel/task_work.c:141 exit_task_work include/linux/task_work.h:25 [inline] do_exit+0x6d4/0x16c0 kernel/exit.c:806 do_group_exit+0xcb/0x180 kernel/exit.c:903 get_signal+0xe9f/0x1650 kernel/signal.c:2757 arch_do_signal+0x25/0x270 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:136 [inline] exit_to_user_mode_prepare+0x124/0x210 kernel/entry/common.c:167 syscall_exit_to_user_mode+0x16/0x30 kernel/entry/common.c:242 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: 0 PID: 29612 Comm: syz-executor.3 Not tainted 5.9.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================