================================================================== BUG: KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack write to 0xffff888128c6b040 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_restore arch/x86/include/asm/paravirt.h:752 [inline] kcsan_setup_watchpoint+0x2d6/0x400 kernel/kcsan/core.c:513 check_access kernel/kcsan/core.c:550 [inline] __tsan_read1+0xc2/0x100 kernel/kcsan/core.c:683 tomoyo_check_path_acl+0x3a/0xa0 security/tomoyo/file.c:258 tomoyo_check_acl+0xf6/0x270 security/tomoyo/domain.c:175 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:1529 do_dentry_open+0x211/0x970 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:914 do_last fs/namei.c:3490 [inline] path_openat+0xe32/0x3150 fs/namei.c:3607 do_filp_open+0x11e/0x1b0 fs/namei.c:3637 do_sys_openat2+0x4f5/0x620 fs/open.c:1149 do_sys_open+0xa3/0x110 fs/open.c:1165 ksys_open include/linux/syscalls.h:1386 [inline] __do_sys_open fs/open.c:1171 [inline] __se_sys_open fs/open.c:1169 [inline] __x64_sys_open+0x55/0x70 fs/open.c:1169 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888128c6b040 of 8 bytes by task 28261 on cpu 0: ps2_do_sendbyte+0x25e/0x320 drivers/input/serio/libps2.c:45 __ps2_command+0x227/0xa50 drivers/input/serio/libps2.c:265 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+0x413/0x8f0 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: 28261 Comm: kworker/0:1 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events atkbd_event_work ==================================================================