INFO: task kworker/u4:0:7 blocked for more than 143 seconds. Not tainted 5.7.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:0 D24688 7 2 0x80004000 Workqueue: events_unbound fsnotify_mark_destroy_workfn Call Trace: context_switch kernel/sched/core.c:3372 [inline] __schedule+0x805/0xc90 kernel/sched/core.c:4088 schedule+0x188/0x220 kernel/sched/core.c:4163 schedule_timeout+0x43/0x250 kernel/time/timer.c:1874 mark_held_locks kernel/locking/lockdep.c:3628 [inline] __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x4a4/0x8a0 kernel/locking/lockdep.c:3702 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x80 kernel/locking/spinlock.c:199 do_wait_for_common+0x232/0x370 kernel/sched/completion.c:85 console_conditional_schedule+0x30/0x30 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x43/0x50 kernel/sched/completion.c:138 __synchronize_srcu+0x1ba/0x240 kernel/rcu/srcutree.c:922 rcu_read_lock_any_held+0x1a0/0x1a0 arch/x86/include/asm/paravirt.h:754 fsnotify_mark_destroy_workfn+0xe7/0x2a0 fs/notify/mark.c:832 process_one_work+0x76e/0xfd0 kernel/workqueue.c:2268 worker_thread+0xa7f/0x1450 kernel/workqueue.c:2414 kthread+0x353/0x380 kernel/kthread.c:268 rcu_lock_release+0x20/0x20 include/linux/rcupdate.h:213 kthread_blkcg+0xd0/0xd0 kernel/kthread.c:1247 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 INFO: task kworker/u4:3:147 blocked for more than 143 seconds. Not tainted 5.7.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:3 D26560 147 2 0x80004000 Workqueue: events_unbound fsnotify_connector_destroy_workfn Call Trace: context_switch kernel/sched/core.c:3372 [inline] __schedule+0x805/0xc90 kernel/sched/core.c:4088 schedule+0x188/0x220 kernel/sched/core.c:4163 schedule_timeout+0x43/0x250 kernel/time/timer.c:1874 mark_held_locks kernel/locking/lockdep.c:3628 [inline] __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x4a4/0x8a0 kernel/locking/lockdep.c:3702 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x80 kernel/locking/spinlock.c:199 do_wait_for_common+0x232/0x370 kernel/sched/completion.c:85 console_conditional_schedule+0x30/0x30 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x43/0x50 kernel/sched/completion.c:138 __synchronize_srcu+0x1ba/0x240 kernel/rcu/srcutree.c:922 rcu_read_lock_any_held+0x1a0/0x1a0 arch/x86/include/asm/paravirt.h:754 fsnotify_connector_destroy_workfn+0x40/0xa0 fs/notify/mark.c:164 process_one_work+0x76e/0xfd0 kernel/workqueue.c:2268 worker_thread+0xa7f/0x1450 kernel/workqueue.c:2414 kthread+0x353/0x380 kernel/kthread.c:268 rcu_lock_release+0x20/0x20 include/linux/rcupdate.h:213 kthread_blkcg+0xd0/0xd0 kernel/kthread.c:1247 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 INFO: task syz-executor.3:15093 blocked for more than 143 seconds. Not tainted 5.7.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28368 15093 7225 0x00004004 Call Trace: context_switch kernel/sched/core.c:3372 [inline] __schedule+0x805/0xc90 kernel/sched/core.c:4088 schedule+0x188/0x220 kernel/sched/core.c:4163 schedule_timeout+0x43/0x250 kernel/time/timer.c:1874 mark_held_locks kernel/locking/lockdep.c:3628 [inline] __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x4a4/0x8a0 kernel/locking/lockdep.c:3702 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x80 kernel/locking/spinlock.c:199 do_wait_for_common+0x232/0x370 kernel/sched/completion.c:85 console_conditional_schedule+0x30/0x30 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x43/0x50 kernel/sched/completion.c:138 __synchronize_srcu+0x1ba/0x240 kernel/rcu/srcutree.c:922 rcu_read_lock_any_held+0x1a0/0x1a0 arch/x86/include/asm/paravirt.h:754 install_new_memslots arch/x86/kvm/../../../virt/kvm/kvm_main.c:1056 [inline] kvm_set_memslot+0x1041/0x15b0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1153 __kvm_set_memory_region+0x1388/0x16c0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1300 kvm_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1321 [inline] kvm_vm_ioctl_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1333 [inline] kvm_vm_ioctl+0x930/0x2530 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3604 do_vfs_ioctl+0x6ea/0x1910 fs/ioctl.c:741 kvm_stat_data_clear+0x340/0x340 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4403 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl fs/ioctl.c:763 [inline] __do_sys_ioctl fs/ioctl.c:772 [inline] __se_sys_ioctl+0xf9/0x160 fs/ioctl.c:770 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 INFO: task syz-executor.1:15114 blocked for more than 144 seconds. Not tainted 5.7.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28576 15114 7161 0x00004004 Call Trace: context_switch kernel/sched/core.c:3372 [inline] __schedule+0x805/0xc90 kernel/sched/core.c:4088 schedule+0x188/0x220 kernel/sched/core.c:4163 schedule_timeout+0x43/0x250 kernel/time/timer.c:1874 mark_held_locks kernel/locking/lockdep.c:3628 [inline] __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x4a4/0x8a0 kernel/locking/lockdep.c:3702 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x80 kernel/locking/spinlock.c:199 do_wait_for_common+0x232/0x370 kernel/sched/completion.c:85 console_conditional_schedule+0x30/0x30 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x43/0x50 kernel/sched/completion.c:138 __flush_work+0xca/0x120 kernel/workqueue.c:3045 start_flush_work+0x730/0x730 kernel/workqueue.c:3017 lru_add_drain_all+0x50d/0x5e0 mm/swap.c:759 invalidate_bdev+0x8f/0xb0 fs/block_dev.c:98 __loop_clr_fd+0x38f/0x930 drivers/block/loop.c:1162 loop_clr_fd drivers/block/loop.c:1259 [inline] lo_ioctl+0x1078/0x2140 drivers/block/loop.c:1628 rcu_lock_release+0x5/0x20 include/linux/rcupdate.h:212 tomoyo_path_number_perm+0x58f/0x690 security/tomoyo/file.c:739 blkdev_common_ioctl+0xf27/0x1b00 block/ioctl.c:597 lo_release+0x1e0/0x1e0 drivers/block/loop.c:1846 __blkdev_driver_ioctl block/ioctl.c:322 [inline] blkdev_ioctl+0x2a6/0x5c0 block/ioctl.c:718 block_ioctl+0xbc/0x100 fs/block_dev.c:1996 blkdev_iopoll+0xf0/0xf0 include/linux/compiler.h:199 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl fs/ioctl.c:763 [inline] __do_sys_ioctl fs/ioctl.c:772 [inline] __se_sys_ioctl+0xf9/0x160 fs/ioctl.c:770 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 Showing all locks held in the system: 2 locks held by kworker/u4:0/7: #0: ffff8880aa434138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: spin_unlock_irq include/linux/spinlock.h:403 [inline] #0: ffff8880aa434138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6df/0xfd0 kernel/workqueue.c:2241 #1: ffffc90000cdfd80 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x71e/0xfd0 kernel/workqueue.c:2243 2 locks held by kworker/u4:3/147: #0: ffff8880aa434138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: spin_unlock_irq include/linux/spinlock.h:403 [inline] #0: ffff8880aa434138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6df/0xfd0 kernel/workqueue.c:2241 #1: ffffc900014d7d80 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x71e/0xfd0 kernel/workqueue.c:2243 2 locks held by kworker/u4:5/246: #0: ffff8880ae837518 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1262 [inline] #0: ffff8880ae837518 (&rq->lock){-.-.}-{2:2}, at: __schedule+0xda/0xc90 kernel/sched/core.c:4034 #1: ffff8880ae822d88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x215/0x5d0 kernel/sched/psi.c:817 1 lock held by khungtaskd/1143: #0: ffffffff892e85d0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 net/mptcp/pm_netlink.c:858 2 locks held by kworker/0:3/2799: 1 lock held by in:imklog/6712: #0: ffff8880a6ae5870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x25d/0x2f0 fs/file.c:826 1 lock held by syz-executor.3/15093: #0: ffffc900163010a8 (&kvm->slots_lock){+.+.}-{3:3}, at: kvm_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1320 [inline] #0: ffffc900163010a8 (&kvm->slots_lock){+.+.}-{3:3}, at: kvm_vm_ioctl_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1333 [inline] #0: ffffc900163010a8 (&kvm->slots_lock){+.+.}-{3:3}, at: kvm_vm_ioctl+0x923/0x2530 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3604 2 locks held by syz-executor.1/15114: #0: ffffffff894a46a8 (loop_ctl_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x81/0x930 drivers/block/loop.c:1127 #1: ffffffff8930a740 (lock#7){+.+.}-{3:3}, at: lru_add_drain_all+0x59/0x5e0 mm/swap.c:730 2 locks held by systemd-udevd/15117: #0: ffff88808a9b92c0 (&bdev->bd_mutex){+.+.}-{3:3}, at: __blkdev_get+0x1de/0x13d0 fs/block_dev.c:1601 #1: ffffffff894a46a8 (loop_ctl_mutex){+.+.}-{3:3}, at: lo_open+0x1a/0xc0 drivers/block/loop.c:1819 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1143 Comm: khungtaskd Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1e9/0x30e lib/dump_stack.c:118 nmi_cpu_backtrace+0x9f/0x180 lib/nmi_backtrace.c:101 arch_trigger_cpumask_backtrace+0x10/0x10 arch/x86/kernel/apic/hw_nmi.c:38 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xd2a/0xd40 kernel/hung_task.c:289 kthread+0x353/0x380 kernel/kthread.c:268 hungtask_pm_notify+0x50/0x50 kernel/hung_task.c:265 kthread_blkcg+0xd0/0xd0 kernel/kthread.c:1247 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2799 Comm: kworker/0:3 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events p9_read_work RIP: 0010:check_kcov_mode kernel/kcov.c:164 [inline] RIP: 0010:write_comp_data kernel/kcov.c:208 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x21/0x80 kernel/kcov.c:281 Code: 2e 0f 1f 84 00 00 00 00 00 4c 8b 04 24 65 48 8b 14 25 40 1e 02 00 65 8b 05 78 b8 8e 7e a9 00 01 1f 00 75 61 8b 82 d8 13 00 00 <83> f8 03 75 56 48 8b 8a e0 13 00 00 44 8b 8a dc 13 00 00 49 c1 e1 RSP: 0018:ffffc90008487a00 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88809f5c6000 RCX: ffff88809f5c6000 RDX: ffff88809f5c6000 RSI: 0000000000000007 RDI: 0000000000000000 RBP: ffff8880a09d33d0 R08: ffffffff86326b5a R09: ffffed1013eb8c01 R10: ffffed1013eb8c01 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000007 R14: ffff888214c0f8b8 R15: ffff888214c0f800 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c019089d40 CR3: 00000000969b5000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: snd_pcm_oss_read1 sound/core/oss/pcm_oss.c:1489 [inline] snd_pcm_oss_read+0x1ba/0xcf0 sound/core/oss/pcm_oss.c:2742 snd_pcm_oss_unregister_minor+0x240/0x240 sound/core/oss/pcm_oss.c:2947 __vfs_read+0xa7/0x700 fs/read_write.c:426 vfs_read+0x1c4/0x400 fs/read_write.c:462 kernel_read+0xa3/0xf0 fs/read_write.c:441 p9_fd_read net/9p/trans_fd.c:263 [inline] p9_read_work+0x322/0xec0 net/9p/trans_fd.c:298 process_one_work+0x76e/0xfd0 kernel/workqueue.c:2268 worker_thread+0xa7f/0x1450 kernel/workqueue.c:2414 kthread+0x353/0x380 kernel/kthread.c:268 rcu_lock_release+0x20/0x20 include/linux/rcupdate.h:213 kthread_blkcg+0xd0/0xd0 kernel/kthread.c:1247 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352