================================================================== 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:623 check_access kernel/kcsan/core.c:626 [inline] __tsan_read8+0xe9/0x180 kernel/kcsan/core.c:845 sb_find_get_block include/linux/buffer_head.h:340 [inline] recently_deleted fs/ext4/ialloc.c:686 [inline] find_inode_bit+0x199/0x3a0 fs/ext4/ialloc.c:728 __ext4_new_inode+0xc7a/0x2f70 fs/ext4/ialloc.c:1063 ext4_symlink+0x2c3/0x700 fs/ext4/namei.c:3463 vfs_symlink+0x23a/0x300 fs/namei.c:4172 do_symlinkat+0xeb/0x280 fs/namei.c:4202 __do_sys_symlink fs/namei.c:4223 [inline] __se_sys_symlink fs/namei.c:4221 [inline] __x64_sys_symlink+0x32/0x40 fs/namei.c:4221 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 20645 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_tty_port_shutdown+0xd6/0x1d0 drivers/tty/serial/serial_core.c:1579 tty_port_shutdown drivers/tty/tty_port.c:331 [inline] tty_port_close+0x166/0x210 drivers/tty/tty_port.c:637 uart_close+0x4c/0x110 drivers/tty/serial/serial_core.c:1560 tty_release+0x255/0xa10 drivers/tty/tty_io.c:1778 __fput+0x25b/0x4e0 fs/file_table.c:280 ____fput+0x11/0x20 fs/file_table.c:313 task_work_run+0xae/0x130 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x474/0x1560 kernel/exit.c:826 do_group_exit+0xce/0x1a0 kernel/exit.c:923 get_signal+0xfc3/0x1610 kernel/signal.c:2818 arch_do_signal_or_restart+0x2a/0x220 arch/x86/kernel/signal.c:789 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x109/0x190 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:301 do_syscall_64+0x56/0x90 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 20645 Comm: syz-executor.4 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================