INFO: task kworker/u4:3:142 blocked for more than 140 seconds. Not tainted 4.19.62 #36 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:3 D24752 142 2 0x80000000 Workqueue: events_unbound fsnotify_mark_destroy_workfn Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 schedule_timeout+0x8c8/0xfc0 kernel/time/timer.c:1780 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x29c/0x440 kernel/sched/completion.c:136 __synchronize_srcu+0x12e/0x210 kernel/rcu/srcutree.c:936 synchronize_srcu_expedited kernel/rcu/srcutree.c:961 [inline] synchronize_srcu+0x239/0x3e8 kernel/rcu/srcutree.c:1012 fsnotify_mark_destroy_workfn+0x110/0x3b0 fs/notify/mark.c:795 process_one_work+0x989/0x1750 kernel/workqueue.c:2153 worker_thread+0x98/0xe40 kernel/workqueue.c:2296 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 INFO: task kworker/u4:5:3215 blocked for more than 140 seconds. Not tainted 4.19.62 #36 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:5 D26088 3215 2 0x80000000 Workqueue: events_unbound fsnotify_connector_destroy_workfn Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 schedule_timeout+0x8c8/0xfc0 kernel/time/timer.c:1780 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x29c/0x440 kernel/sched/completion.c:136 __synchronize_srcu+0x12e/0x210 kernel/rcu/srcutree.c:936 synchronize_srcu+0x2dc/0x3e8 kernel/rcu/srcutree.c:1014 fsnotify_connector_destroy_workfn+0x4e/0xa0 fs/notify/mark.c:174 process_one_work+0x989/0x1750 kernel/workqueue.c:2153 worker_thread+0x98/0xe40 kernel/workqueue.c:2296 kthread+0x354/0x420 kernel/kthread.c:246 BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 153s! Showing busy workqueues and worker pools: workqueue events: flags=0x0 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=8/256 in-flight: 16221:rtc_timer_do_work pending: cache_reap, defense_work_handler, defense_work_handler, defense_work_handler, defense_work_handler, destroy_super_work, switchdev_deferred_process_work workqueue events_long: flags=0x0 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=4/256 pending: br_fdb_cleanup, br_fdb_cleanup, br_fdb_cleanup, br_fdb_cleanup workqueue events_unbound: flags=0x2 pwq 4: cpus=0-1 flags=0x4 nice=0 active=4/512 in-flight: 3215:fsnotify_connector_destroy_workfn fsnotify_connector_destroy_workfn, 142:fsnotify_mark_destroy_workfn fsnotify_mark_destroy_workfn workqueue events_power_efficient: flags=0x80 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=2/256 pending: neigh_periodic_work, neigh_periodic_work pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 pending: check_lifetime workqueue rcu_gp: flags=0x8 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=2/256 pending: process_srcu, process_srcu workqueue mm_percpu_wq: flags=0x8 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 pending: vmstat_update workqueue dm_bufio_cache: flags=0x8 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 pending: work_fn workqueue ipv6_addrconf: flags=0x40008 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/1 pending: addrconf_verify_work workqueue krxrpcd: flags=0x0 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/1 pending: rxrpc_peer_keepalive_worker delayed: rxrpc_peer_keepalive_worker, rxrpc_peer_keepalive_worker, rxrpc_peer_keepalive_worker, rxrpc_peer_keepalive_worker workqueue bat_events: flags=0xe000a pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 pending: batadv_purge_orig delayed: batadv_nc_worker, batadv_nc_worker, batadv_nc_worker, batadv_nc_worker, batadv_nc_worker pool 2: cpus=1 node=0 flags=0x0 nice=0 hung=153s workers=3 idle: 8016 3825 pool 4: cpus=0-1 flags=0x4 nice=0 hung=0s workers=10 idle: 3221 23 3220 7 23530 10113 47 311 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 INFO: task syz-executor.1:8789 blocked for more than 140 seconds. Not tainted 4.19.62 #36 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D27752 8789 30826 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 schedule_timeout+0x8c8/0xfc0 kernel/time/timer.c:1780 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x29c/0x440 kernel/sched/completion.c:136 __synchronize_srcu+0x12e/0x210 kernel/rcu/srcutree.c:936 synchronize_srcu_expedited+0x19/0x20 kernel/rcu/srcutree.c:961 kvm_io_bus_register_dev+0x3ed/0x610 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3609 kvm_pic_init+0x1fa/0x390 arch/x86/kvm/i8259.c:603 kvm_arch_vm_ioctl+0xb68/0x2030 arch/x86/kvm/x86.c:4453 kvm_vm_ioctl+0x51d/0x17d0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3137 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:688 ksys_ioctl+0xab/0xd0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:710 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459829 Code: Bad RIP value. RSP: 002b:00007f69c1059c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459829 RDX: 0000000000000000 RSI: 000000000000ae60 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f69c105a6d4 R13: 00000000004c274b R14: 00000000004d5c48 R15: 00000000ffffffff INFO: task syz-executor.1:8797 blocked for more than 140 seconds. Not tainted 4.19.62 #36 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D29688 8797 30826 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3576 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x726/0x1300 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 kvm_vm_ioctl_create_vcpu arch/x86/kvm/../../../virt/kvm/kvm_main.c:2471 [inline] kvm_vm_ioctl+0x5ae/0x17d0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2985 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:688 ksys_ioctl+0xab/0xd0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:710 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459829 Code: ff ff c3 c5 f8 77 eb 60 80 3d 5c d2 37 01 01 0f 85 7f fd ff ff 48 83 f8 0c 0f 83 74 fe ff ff 48 8d 75 10 66 f7 c6 f0 0f 0f 84 <66> fd ff ff f3 0f 6f 4d 00 48 8d 74 17 f1 49 c7 c1 10 00 00 00 49 RSP: 002b:00007f69c1038c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829 RDX: 0000000000000000 RSI: 000000000000ae41 RDI: 0000000000000005 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f69c10396d4 R13: 00000000004c277a R14: 00000000004d5c78 R15: 00000000ffffffff INFO: task syz-executor.1:8799 blocked for more than 140 seconds. Not tainted 4.19.62 #36 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D29464 8799 30826 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3576 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x726/0x1300 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 kvm_set_memory_region+0x24/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1085 kvm_vm_ioctl_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1098 [inline] kvm_vm_ioctl+0x7b8/0x17d0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2995 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:688 ksys_ioctl+0xab/0xd0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:710 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459829 Code: Bad RIP value. RSP: 002b:00007f69c1017c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829 RDX: 0000000020bf7000 RSI: 000000004020ae46 RDI: 0000000000000005 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f69c10186d4 R13: 00000000004cd1b8 R14: 00000000004d63b0 R15: 00000000ffffffff Showing all locks held in the system: 2 locks held by kworker/u4:3/142: #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: process_one_work+0x87e/0x1750 kernel/workqueue.c:2124 #1: 0000000054dde82d ((reaper_work).work){+.+.}, at: process_one_work+0x8b4/0x1750 kernel/workqueue.c:2128 1 lock held by khungtaskd/1039: #0: 00000000172d99da (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4435 1 lock held by rsyslogd/7831: #0: 00000000399ecd0f (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767 2 locks held by getty/7953: #0: 000000007d4f2788 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000dcdff256 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7954: #0: 000000003a63cfe3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000e792f673 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7955: #0: 00000000a074264e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 0000000095c891dd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7956: #0: 00000000c09f60ab (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 0000000048f7f470 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7957: #0: 000000005040afb1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 000000007a389c7e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7958: #0: 000000003733b207 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 000000007fa8d095 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7959: #0: 00000000edfed148 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000393d3db1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 3 locks held by kworker/1:5/16221: 2 locks held by kworker/u4:5/3215: #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000b7524a4d ((wq_completion)"events_unbound"){+.+.}, at: process_one_work+0x87e/0x1750 kernel/workqueue.c:2124 #1: 00000000e8477a26 (connector_reaper_work){+.+.}, at: process_one_work+0x8b4/0x1750 kernel/workqueue.c:2128 2 locks held by kworker/u4:9/3221: #0: 000000003a73abc4 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1821 [inline] #0: 000000003a73abc4 (&rq->lock){-.-.}, at: __schedule+0x1f8/0x1dc0 kernel/sched/core.c:3412 #1: 00000000172d99da (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:423 [inline] #1: 00000000172d99da (rcu_read_lock){....}, at: update_curr+0x2cc/0x8a0 kernel/sched/fair.c:828 2 locks held by syz-executor.1/8789: #0: 000000007ba99f2c (&kvm->lock){+.+.}, at: kvm_arch_vm_ioctl+0xab9/0x2030 arch/x86/kvm/x86.c:4443 #1: 00000000c00b2124 (&kvm->slots_lock){+.+.}, at: kvm_pic_init+0x1e0/0x390 arch/x86/kvm/i8259.c:602 1 lock held by syz-executor.1/8797: #0: 000000007ba99f2c (&kvm->lock){+.+.}, at: kvm_vm_ioctl_create_vcpu arch/x86/kvm/../../../virt/kvm/kvm_main.c:2471 [inline] #0: 000000007ba99f2c (&kvm->lock){+.+.}, at: kvm_vm_ioctl+0x5ae/0x17d0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2985 1 lock held by syz-executor.1/8799: #0: 00000000c00b2124 (&kvm->slots_lock){+.+.}, at: kvm_set_memory_region+0x24/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1085 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1039 Comm: khungtaskd Not tainted 4.19.62 #36 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+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x9df/0xee0 kernel/hung_task.c:287 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16221 Comm: kworker/1:5 Not tainted 4.19.62 #36 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events rtc_timer_do_work RIP: 0010:mark_held_locks+0x3c/0x100 kernel/locking/lockdep.c:2793 Code: 49 89 fe 48 81 c7 78 08 00 00 48 89 fa 41 55 48 c1 ea 03 41 54 53 48 83 ec 10 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 99 00 00 00 <41> 8b 86 78 08 00 00 85 c0 7e 7a 44 8d 24 b5 00 00 00 00 31 db 49 RSP: 0018:ffff88805fe0f978 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff88805fb8c2c0 RCX: 1ffff1100bf71976 RDX: 1ffff1100bf71967 RSI: 0000000000000001 RDI: ffff88805fb8cb38 RBP: ffff88805fe0f9b0 R08: ffff88805fb8c2c0 R09: ffff88805fb8cbb0 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff86f38e0b R13: ffffffff8150458e R14: ffff88805fb8c2c0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fded4315140 CR3: 000000000866d000 CR4: 00000000001426e0 Call Trace: __trace_hardirqs_on_caller kernel/locking/lockdep.c:2834 [inline] lockdep_hardirqs_on+0x415/0x5d0 kernel/locking/lockdep.c:2879 trace_hardirqs_on+0x67/0x220 kernel/trace/trace_preemptirq.c:30 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x6b/0xe0 kernel/locking/spinlock.c:184 spin_unlock_irqrestore include/linux/spinlock.h:384 [inline] __wake_up_common_lock+0xfe/0x190 kernel/sched/wait.c:122 __wake_up+0xe/0x10 kernel/sched/wait.c:145 rtc_handle_legacy_irq+0x8f/0xd0 drivers/rtc/interface.c:610 rtc_uie_update_irq+0x20/0x30 drivers/rtc/interface.c:637 rtc_timer_do_work+0x2c8/0xef0 drivers/rtc/interface.c:918 process_one_work+0x989/0x1750 kernel/workqueue.c:2153 worker_thread+0x98/0xe40 kernel/workqueue.c:2296 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415