================================================================== BUG: KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack write to 0xffff8881297d2840 of 8 bytes by interrupt on cpu 1: ps2_handle_ack+0xec/0x240 drivers/input/serio/libps2.c:439 atkbd_interrupt+0x614/0xcb0 drivers/input/keyboard/atkbd.c:393 serio_interrupt+0x70/0x100 drivers/input/serio/serio.c:1002 i8042_interrupt+0x2d4/0x510 drivers/input/serio/i8042.c:596 __handle_irq_event_percpu+0x9a/0x430 kernel/irq/handle.c:149 handle_irq_event_percpu+0x4b/0xe0 kernel/irq/handle.c:189 handle_irq_event+0x85/0xca kernel/irq/handle.c:206 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 arch_local_irq_enable arch/x86/include/asm/paravirt.h:762 [inline] preempt_schedule_irq+0x4d/0x90 kernel/sched/core.c:4337 restore_regs_and_return_to_kernel+0x0/0x25 tomoyo_compare_name_union+0x42/0xa0 security/tomoyo/file.c:86 tomoyo_check_path_acl security/tomoyo/file.c:260 [inline] tomoyo_check_path_acl+0x85/0xa0 security/tomoyo/file.c:252 tomoyo_check_acl+0xf6/0x270 security/tomoyo/domain.c:172 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0xe3/0x160 security/tomoyo/file.c:573 tomoyo_check_open_permission+0x2fd/0x320 security/tomoyo/file.c:777 tomoyo_file_open security/tomoyo/tomoyo.c:319 [inline] tomoyo_file_open+0x75/0x90 security/tomoyo/tomoyo.c:314 security_file_open+0x69/0x210 security/security.c:1497 do_dentry_open+0x211/0x970 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:914 do_last fs/namei.c:3420 [inline] path_openat+0xf9f/0x3580 fs/namei.c:3537 do_filp_open+0x11e/0x1b0 fs/namei.c:3567 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x55/0x70 fs/open.c:1110 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8881297d2840 of 8 bytes by task 7954 on cpu 0: ps2_do_sendbyte+0x25e/0x320 drivers/input/serio/libps2.c:45 __ps2_command+0x2c7/0xa50 drivers/input/serio/libps2.c:273 ps2_command+0x60/0xc0 drivers/input/serio/libps2.c:332 atkbd_set_repeat_rate+0x205/0x260 drivers/input/keyboard/atkbd.c:554 atkbd_event_work+0xb0/0xf0 drivers/input/keyboard/atkbd.c:608 process_one_work+0x3d4/0x890 kernel/workqueue.c:2264 worker_thread+0xa0/0x800 kernel/workqueue.c:2410 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7954 Comm: kworker/0:3 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events atkbd_event_work ==================================================================