================================================================== BUG: KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack write to 0xffff8881037ae840 of 8 bytes by interrupt on cpu 1: ps2_handle_ack+0x1c5/0x330 drivers/input/serio/libps2.c:447 atkbd_interrupt+0xbe6/0xd80 drivers/input/keyboard/atkbd.c:424 serio_interrupt+0x61/0xe0 drivers/input/serio/serio.c:998 i8042_interrupt+0x3b3/0x780 drivers/input/serio/i8042.c:606 __handle_irq_event_percpu+0x91/0x490 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x64/0xf0 kernel/irq/handle.c:210 handle_edge_irq+0x167/0x590 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+0x3c/0xb0 arch/x86/kernel/irq.c:250 common_interrupt+0x7a/0x90 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:636 complete_walk+0x145/0x1e0 path_lookupat+0x15c/0x2a0 fs/namei.c:2486 filename_lookup+0x126/0x300 fs/namei.c:2508 vfs_statx+0xa9/0x300 fs/stat.c:238 vfs_fstatat fs/stat.c:276 [inline] __do_sys_newfstatat fs/stat.c:446 [inline] __se_sys_newfstatat+0x8a/0x2a0 fs/stat.c:440 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:440 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881037ae840 of 8 bytes by task 27505 on cpu 0: ps2_do_sendbyte+0x10a/0x380 drivers/input/serio/libps2.c:46 __ps2_command+0x353/0x910 drivers/input/serio/libps2.c:274 ps2_command+0x54/0x90 drivers/input/serio/libps2.c:335 atkbd_set_repeat_rate drivers/input/keyboard/atkbd.c:585 [inline] atkbd_event_work+0x2c5/0x300 drivers/input/keyboard/atkbd.c:639 process_one_work+0x3e6/0x750 kernel/workqueue.c:2405 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2552 kthread+0x1d7/0x210 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 value changed: 0x0000000000000001 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 27505 Comm: kworker/0:1 Not tainted 6.4.0-rc3-syzkaller-00008-gae8373a5add4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: events atkbd_event_work ==================================================================