================================================================== BUG: KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack write to 0xffff888103871040 of 8 bytes by interrupt on cpu 1: ps2_handle_ack+0x1b3/0x320 drivers/input/serio/libps2.c:444 atkbd_interrupt+0xa5b/0xc30 drivers/input/keyboard/atkbd.c:422 serio_interrupt+0x5d/0xe0 drivers/input/serio/serio.c:1001 i8042_interrupt+0x380/0x710 drivers/input/serio/i8042.c:606 __handle_irq_event_percpu+0x92/0x400 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x60/0xf0 kernel/irq/handle.c:210 handle_edge_irq+0x17e/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+0x60/0x100 arch/x86/kernel/irq.c:250 common_interrupt+0x9a/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x22/0x40 kmem_cache_free+0xe9/0x1b0 ext4_free_in_core_inode+0x4f/0x80 fs/ext4/super.c:1379 i_callback+0x2e/0x60 fs/inode.c:249 rcu_do_batch kernel/rcu/tree.c:2245 [inline] rcu_core+0x5ad/0xc10 kernel/rcu/tree.c:2505 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2522 __do_softirq+0x158/0x2e3 kernel/softirq.c:571 run_ksoftirqd+0x1f/0x30 kernel/softirq.c:934 smpboot_thread_fn+0x308/0x4a0 kernel/smpboot.c:164 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 read to 0xffff888103871040 of 8 bytes by task 24271 on cpu 0: ps2_do_sendbyte+0x1ae/0x380 drivers/input/serio/libps2.c:45 __ps2_command+0x35e/0x8c0 drivers/input/serio/libps2.c:273 ps2_command+0x51/0x90 drivers/input/serio/libps2.c:332 atkbd_set_repeat_rate drivers/input/keyboard/atkbd.c:583 [inline] atkbd_event_work+0x2a8/0x2e0 drivers/input/keyboard/atkbd.c:637 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 value changed: 0x0000000000000001 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 24271 Comm: kworker/0:3 Not tainted 6.0.0-rc4-syzkaller-00204-g9b4509495418-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Workqueue: events atkbd_event_work ==================================================================