================================================================== BUG: KCSAN: data-race in ps2_do_sendbyte / ps2_interrupt write to 0xffff888103b41048 of 8 bytes by interrupt on cpu 0: ps2_interrupt+0x50d/0x550 drivers/input/serio/libps2.c:-1 serio_interrupt+0x66/0xf0 drivers/input/serio/serio.c:967 i8042_handle_data+0x388/0x680 drivers/input/serio/i8042.c:598 i8042_interrupt+0x15/0x90 drivers/input/serio/i8042.c:605 __handle_irq_event_percpu+0x8b/0x480 kernel/irq/handle.c:209 handle_irq_event_percpu kernel/irq/handle.c:246 [inline] handle_irq_event+0x64/0xf0 kernel/irq/handle.c:263 handle_edge_irq+0x155/0x440 kernel/irq/chip.c:859 generic_handle_irq_desc include/linux/irqdesc.h:188 [inline] handle_irq arch/x86/kernel/irq.c:209 [inline] call_irq_handler arch/x86/kernel/irq.c:-1 [inline] __common_interrupt+0x60/0xb0 arch/x86/kernel/irq.c:280 common_interrupt+0x7e/0x90 arch/x86/kernel/irq.c:273 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:665 __sanitizer_cov_trace_pc+0x8/0x80 kernel/kcov.c:209 skb_clone+0x16/0x1f0 net/core/skbuff.c:2101 dev_queue_xmit_nit+0x13e/0x510 net/core/dev.c:2600 xmit_one net/core/dev.c:3933 [inline] dev_hard_start_xmit+0xba/0x380 net/core/dev.c:3953 sch_direct_xmit+0x199/0x580 net/sched/sch_generic.c:372 __dev_xmit_skb net/core/dev.c:4262 [inline] __dev_queue_xmit+0xda5/0x1e90 net/core/dev.c:4884 dev_queue_xmit include/linux/netdevice.h:3461 [inline] neigh_hh_output include/net/neighbour.h:544 [inline] neigh_output include/net/neighbour.h:558 [inline] ip_finish_output2+0x752/0x8a0 net/ipv4/ip_output.c:236 __ip_finish_output net/ipv4/ip_output.c:-1 [inline] ip_finish_output+0x112/0x290 net/ipv4/ip_output.c:324 NF_HOOK_COND include/linux/netfilter.h:314 [inline] ip_output+0xbd/0x1c0 net/ipv4/ip_output.c:437 dst_output include/net/dst.h:471 [inline] ip_local_out net/ipv4/ip_output.c:131 [inline] __ip_queue_xmit+0xb4c/0xb80 net/ipv4/ip_output.c:533 ip_queue_xmit+0x39/0x50 net/ipv4/ip_output.c:547 __tcp_transmit_skb+0x1c4f/0x20f0 net/ipv4/tcp_output.c:1717 __tcp_send_ack+0x288/0x3b0 net/ipv4/tcp_output.c:4509 tcp_send_ack+0x29/0x30 net/ipv4/tcp_output.c:4515 __tcp_cleanup_rbuf+0x15a/0x290 net/ipv4/tcp.c:1599 tcp_cleanup_rbuf net/ipv4/tcp.c:1611 [inline] tcp_recvmsg_locked+0x1c37/0x2170 net/ipv4/tcp.c:2915 tcp_recvmsg+0x131/0x470 net/ipv4/tcp.c:2944 inet_recvmsg+0x8d/0x210 net/ipv4/af_inet.c:894 sock_recvmsg_nosec net/socket.c:1153 [inline] sock_recvmsg+0xda/0x120 net/socket.c:1173 sock_read_iter+0x146/0x190 net/socket.c:1242 new_sync_read fs/read_write.c:493 [inline] vfs_read+0x699/0x7c0 fs/read_write.c:574 ksys_read+0xdc/0x1a0 fs/read_write.c:716 __do_sys_read fs/read_write.c:725 [inline] __se_sys_read fs/read_write.c:723 [inline] __x64_sys_read+0x40/0x50 fs/read_write.c:723 x64_sys_call+0x2135/0x2550 arch/x86/include/generated/asm/syscalls_64.h:1 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888103b41048 of 8 bytes by task 24 on cpu 1: ps2_do_sendbyte+0x17e/0x320 drivers/input/serio/libps2.c:65 __ps2_command+0x364/0xaa0 drivers/input/serio/libps2.c:322 ps2_command+0x52/0x90 drivers/input/serio/libps2.c:403 ps2pp_detect+0x53/0x940 drivers/input/mouse/logips2pp.c:367 psmouse_do_detect drivers/input/mouse/psmouse-base.c:995 [inline] psmouse_try_protocol+0x25e/0x310 drivers/input/mouse/psmouse-base.c:1009 psmouse_extensions+0x7ec/0x960 drivers/input/mouse/psmouse-base.c:1162 __psmouse_reconnect+0x3dd/0x880 drivers/input/mouse/psmouse-base.c:1685 psmouse_reconnect+0x23/0x40 drivers/input/mouse/psmouse-base.c:1723 serio_reconnect_driver drivers/input/serio/serio.c:52 [inline] serio_reconnect_port drivers/input/serio/serio.c:558 [inline] serio_handle_event+0x1c7/0xac0 drivers/input/serio/serio.c:201 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0x56a/0xa50 kernel/workqueue.c:3479 worker_thread+0x569/0x750 kernel/workqueue.c:3560 kthread+0x223/0x270 kernel/kthread.c:436 ret_from_fork+0x146/0x330 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 value changed: 0x0000000000000001 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 24 Comm: kworker/1:0 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: events_long serio_handle_event ==================================================================