================================================================== BUG: KCSAN: data-race in __synchronize_hardirq / handle_irq_event write to 0xffff88812bc94600 of 4 bytes by interrupt on cpu 1: irqd_clear kernel/irq/internals.h:227 [inline] handle_irq_event+0xaf/0xca kernel/irq/handle.c:209 handle_edge_irq+0x1a4/0x4a0 kernel/irq/chip.c:830 generic_handle_irq_desc include/linux/irqdesc.h:156 [inline] do_IRQ+0x7c/0x130 arch/x86/kernel/irq.c:250 ret_from_intr+0x0/0x21 find_watchpoint kernel/kcsan/core.c:106 [inline] check_access kernel/kcsan/core.c:537 [inline] __tsan_read1+0x1b/0x100 kernel/kcsan/core.c:683 tomoyo_domain_quota_is_ok+0x10b/0x2b0 security/tomoyo/util.c:1039 tomoyo_supervisor+0x1d9/0xc90 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x121/0x160 security/tomoyo/file.c:573 tomoyo_path_perm+0x23e/0x390 security/tomoyo/file.c:838 tomoyo_inode_getattr+0x26/0x40 security/tomoyo/tomoyo.c:129 security_inode_getattr+0x9b/0xd0 security/security.c:1254 vfs_getattr+0x2e/0x70 fs/stat.c:117 vfs_statx+0x108/0x190 fs/stat.c:201 vfs_stat include/linux/fs.h:3271 [inline] __do_sys_newstat+0x51/0xb0 fs/stat.c:351 __se_sys_newstat fs/stat.c:347 [inline] __x64_sys_newstat+0x3a/0x50 fs/stat.c:347 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812bc94600 of 4 bytes by task 25134 on cpu 0: irqd_irq_inprogress include/linux/irq.h:328 [inline] __synchronize_hardirq+0x61/0x1e0 kernel/irq/manage.c:51 synchronize_irq+0x56/0x120 kernel/irq/manage.c:132 serial8250_do_shutdown+0xc1/0x400 drivers/tty/serial/8250/8250_port.c:2345 serial8250_shutdown+0x52/0x70 drivers/tty/serial/8250/8250_port.c:2391 uart_port_shutdown+0x71/0xa0 drivers/tty/serial/serial_core.c:1703 uart_shutdown+0x156/0x330 drivers/tty/serial/serial_core.c:297 uart_do_autoconfig drivers/tty/serial/serial_core.c:1147 [inline] uart_ioctl+0x4eb/0xa46 drivers/tty/serial/serial_core.c:1395 tty_ioctl+0x93c/0xe10 drivers/tty/tty_io.c:2660 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl+0x109/0x150 fs/ioctl.c:763 __do_sys_ioctl fs/ioctl.c:772 [inline] __se_sys_ioctl fs/ioctl.c:770 [inline] __x64_sys_ioctl+0x4c/0x60 fs/ioctl.c:770 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 25134 Comm: syz-executor.3 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================