================================================================== BUG: KCSAN: data-race in cypress_send_ext_cmd / psmouse_interrupt write to 0xffff888104758ee1 of 1 bytes by interrupt on cpu 0: psmouse_interrupt+0x33c/0x930 drivers/input/mouse/psmouse-base.c:387 serio_interrupt+0x5d/0xe0 drivers/input/serio/serio.c:1002 i8042_interrupt+0x39e/0x720 drivers/input/serio/i8042.c:602 __handle_irq_event_percpu+0x93/0x3f0 kernel/irq/handle.c:156 handle_irq_event_percpu kernel/irq/handle.c:196 [inline] handle_irq_event+0xb0/0x160 kernel/irq/handle.c:213 handle_edge_irq+0x17e/0x600 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+0x38/0xb0 arch/x86/kernel/irq.c:250 common_interrupt+0x73/0x90 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:638 outl arch/x86/include/asm/io.h:336 [inline] iowrite32+0x32/0x90 lib/iomap.c:203 del_vq+0xc4/0xe0 drivers/virtio/virtio_pci_legacy.c:191 vp_del_vq drivers/virtio/virtio_pci_common.c:221 [inline] vp_del_vqs+0x21f/0x490 drivers/virtio/virtio_pci_common.c:243 virtnet_del_vqs drivers/net/virtio_net.c:2760 [inline] remove_vq_common+0x960/0x980 drivers/net/virtio_net.c:3253 virtnet_freeze+0x3c7/0x3f0 drivers/net/virtio_net.c:3280 virtio_device_freeze+0xb8/0xe0 drivers/virtio/virtio.c:398 virtio_pci_freeze+0x1c/0x50 drivers/virtio/virtio_pci_common.c:466 pci_pm_suspend+0x1b8/0x3a0 drivers/pci/pci-driver.c:766 dpm_run_callback drivers/base/power/main.c:490 [inline] __device_suspend+0x647/0xfb0 drivers/base/power/main.c:1689 async_suspend+0x2b/0x1c0 drivers/base/power/main.c:1718 async_run_entry_fn+0x4a/0x170 kernel/async.c:127 process_one_work+0x3e9/0x8f0 kernel/workqueue.c:2276 worker_thread+0x636/0xae0 kernel/workqueue.c:2422 kthread+0x1d0/0x1f0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 read to 0xffff888104758ee1 of 1 bytes by task 14355 on cpu 1: cypress_ps2_read_cmd_status drivers/input/mouse/cypress_ps2.c:120 [inline] cypress_send_ext_cmd+0x1f2/0x490 drivers/input/mouse/cypress_ps2.c:189 cypress_detect+0x32/0x100 drivers/input/mouse/cypress_ps2.c:205 psmouse_do_detect drivers/input/mouse/psmouse-base.c:1009 [inline] psmouse_try_protocol drivers/input/mouse/psmouse-base.c:1023 [inline] psmouse_extensions+0xa03/0x1790 drivers/input/mouse/psmouse-base.c:1146 __psmouse_reconnect+0x31e/0x620 drivers/input/mouse/psmouse-base.c:1728 psmouse_reconnect+0x13/0x20 drivers/input/mouse/psmouse-base.c:1766 serio_reconnect_driver drivers/input/serio/serio.c:59 [inline] serio_reconnect_port drivers/input/serio/serio.c:588 [inline] serio_handle_event+0x6be/0xc20 drivers/input/serio/serio.c:214 process_one_work+0x3e9/0x8f0 kernel/workqueue.c:2276 worker_thread+0x636/0xae0 kernel/workqueue.c:2422 kthread+0x1d0/0x1f0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 value changed: 0x00 -> 0x03 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 14355 Comm: kworker/1:5 Not tainted 5.13.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_long serio_handle_event ==================================================================