================================================================== BUG: KCSAN: data-race in ps2_do_sendbyte / ps2_handle_ack write to 0xffff888103819840 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 __tsan_read4+0x12/0x180 kernel/kcsan/core.c:1015 __destroy_inode+0x120/0x350 fs/inode.c:288 destroy_inode fs/inode.c:308 [inline] evict+0x36e/0x410 fs/inode.c:680 iput_final fs/inode.c:1748 [inline] iput+0x42c/0x5b0 fs/inode.c:1774 do_unlinkat+0x2b3/0x4f0 fs/namei.c:4323 __do_sys_unlink fs/namei.c:4364 [inline] __se_sys_unlink fs/namei.c:4362 [inline] __x64_sys_unlink+0x30/0x40 fs/namei.c:4362 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 0xffff888103819840 of 8 bytes by task 9214 on cpu 0: ps2_do_sendbyte+0x190/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: 9214 Comm: kworker/0:9 Not tainted 6.3.0-rc4-syzkaller-00195-g5a57b48fdfcb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: events atkbd_event_work ==================================================================