sd 0:0:1:0: [sda] Synchronizing SCSI cache ================================================================== BUG: KCSAN: data-race in handle_irq_event / synchronize_irq write to 0xffff888145182c00 of 4 bytes by interrupt on cpu 0: irqd_clear kernel/irq/internals.h:225 [inline] handle_irq_event+0x12a/0x160 kernel/irq/handle.c:216 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 _raw_spin_unlock_irqrestore+0x34/0x40 kernel/locking/spinlock.c:192 pci_conf1_write+0x128/0x140 arch/x86/pci/direct.c:76 raw_pci_write arch/x86/pci/common.c:56 [inline] pci_write+0xe8/0x110 arch/x86/pci/common.c:68 pci_bus_write_config_word+0x63/0x80 drivers/pci/access.c:67 pci_write_config_word+0x70/0x80 drivers/pci/access.c:566 do_pci_disable_device drivers/pci/pci.c:2129 [inline] pci_disable_device+0x14f/0x200 drivers/pci/pci.c:2172 virtio_pci_freeze+0x46/0x50 drivers/virtio/virtio_pci_common.c:469 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 0xffff888145182c00 of 4 bytes by task 1778 on cpu 1: irqd_irq_inprogress include/linux/irq.h:354 [inline] __synchronize_hardirq kernel/irq/manage.c:51 [inline] synchronize_irq+0xa6/0x2e0 kernel/irq/manage.c:132 vp_synchronize_vectors+0xbc/0xf0 drivers/virtio/virtio_pci_common.c:37 vp_reset+0x4c/0x50 drivers/virtio/virtio_pci_legacy.c:101 remove_vq_common+0x43/0x980 drivers/net/virtio_net.c:3248 virtnet_freeze+0x3c7/0x3f0 drivers/net/virtio_net.c:3284 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 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1778 Comm: kworker/u4:4 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound async_run_entry_fn ================================================================== sd 0:0:1:0: [sda] Synchronizing SCSI cache sd 0:0:1:0: [sda] Synchronizing SCSI cache