================================================================== BUG: KCSAN: data-race in handle_irq_event / synchronize_irq write to 0xffff8881000eb600 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:623 get_current arch/x86/include/asm/current.h:15 [inline] get_ctx kernel/kcsan/core.c:197 [inline] check_access kernel/kcsan/core.c:625 [inline] __tsan_read2+0x111/0x180 kernel/kcsan/core.c:838 kernfs_ns_enabled include/linux/kernfs.h:343 [inline] kernfs_dop_revalidate+0x141/0x1d0 fs/kernfs/dir.c:578 lookup_fast+0x1fd/0x350 fs/namei.c:827 walk_component+0x5c/0x350 fs/namei.c:1939 lookup_last fs/namei.c:2398 [inline] path_lookupat+0x12d/0x570 fs/namei.c:2422 filename_lookup+0xff/0x390 fs/namei.c:2455 user_path_at_empty+0x3b/0x50 fs/namei.c:2735 user_path_at include/linux/namei.h:60 [inline] do_faccessat+0x260/0x510 fs/open.c:425 __do_sys_access fs/open.c:484 [inline] __se_sys_access fs/open.c:482 [inline] __x64_sys_access+0x33/0x40 fs/open.c:482 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881000eb600 of 4 bytes by task 13644 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:2447 serial8250_shutdown+0x37/0x40 drivers/tty/serial/8250/8250_port.c:2493 uart_port_shutdown drivers/tty/serial/serial_core.c:1709 [inline] uart_shutdown+0x276/0x410 drivers/tty/serial/serial_core.c:299 uart_hangup+0x9e/0x250 drivers/tty/serial/serial_core.c:1676 __tty_hangup+0x5d4/0x680 drivers/tty/tty_io.c:662 tty_vhangup drivers/tty/tty_io.c:712 [inline] tty_ioctl+0x531/0x1130 drivers/tty/tty_io.c:2742 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:739 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:739 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 13644 Comm: syz-executor.1 Tainted: G W 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================