================================================================== BUG: KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack write to 0xffff8881037ca840 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+0x17f/0x5a0 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+0x64/0x100 arch/x86/kernel/irq.c:250 common_interrupt+0x9e/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:636 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x3b/0x60 kernel/locking/spinlock.c:194 hrtimer_run_softirq+0x123/0x140 kernel/time/hrtimer.c:1771 __do_softirq+0xe4/0x2b0 kernel/softirq.c:571 run_ksoftirqd+0x23/0x30 kernel/softirq.c:934 smpboot_thread_fn+0x2f8/0x490 kernel/smpboot.c:164 kthread+0x1ac/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 read to 0xffff8881037ca840 of 8 bytes by task 5086 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_leds+0xad/0x1b0 drivers/input/keyboard/atkbd.c:596 atkbd_event_work+0x8d/0x300 drivers/input/keyboard/atkbd.c:636 process_one_work+0x3e6/0x750 kernel/workqueue.c:2390 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2537 kthread+0x1ac/0x1e0 kernel/kthread.c:376 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: 5086 Comm: kworker/0:0 Not tainted 6.3.0-rc1-syzkaller-00230-gef5f68cc1f82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: events atkbd_event_work ==================================================================