================================================================== BUG: KCSAN: data-race in handle_irq_event / synchronize_irq write to 0xffff88812bca2600 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:830 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __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:587 get_current kernel/rcu/tree_plugin.h:389 [inline] __rcu_read_unlock+0x6/0x260 kernel/rcu/tree_plugin.h:390 rcu_read_unlock include/linux/rcupdate.h:687 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:411 [inline] batadv_nc_worker+0xea/0xa00 net/batman-adv/network-coding.c:718 process_one_work+0x3cb/0x990 kernel/workqueue.c:2269 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415 kthread+0x210/0x220 kernel/kthread.c:291 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 read to 0xffff88812bca2600 of 4 bytes by task 21830 on cpu 0: irqd_irq_inprogress include/linux/irq.h:341 [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:2443 serial8250_shutdown+0x37/0x40 drivers/tty/serial/8250/8250_port.c:2489 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+0x153/0x200 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+0x1df/0x460 fs/file_table.c:281 ____fput+0x11/0x20 fs/file_table.c:314 task_work_run+0x8e/0x110 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:216 [inline] __prepare_exit_to_usermode+0x1c8/0x230 arch/x86/entry/common.c:246 __syscall_return_slowpath arch/x86/entry/common.c:329 [inline] do_syscall_64+0xb9/0x120 arch/x86/entry/common.c:368 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 21830 Comm: syz-executor.2 Not tainted 5.8.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================