INFO: task kworker/u4:4:3106 blocked for more than 140 seconds. Not tainted 5.0.0-rc3-next-20190125 #20 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:4 D18008 3106 2 0x80000000 Workqueue: events_unbound fsnotify_mark_destroy_workfn Call Trace: context_switch kernel/sched/core.c:2847 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3488 schedule+0xfe/0x350 kernel/sched/core.c:3532 schedule_timeout+0x1d3/0x250 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+0x457/0x810 kernel/sched/completion.c:136 __synchronize_srcu+0x201/0x2d0 kernel/rcu/srcutree.c:938 synchronize_srcu+0x41d/0x5af kernel/rcu/srcutree.c:1016 fsnotify_mark_destroy_workfn+0x1af/0x540 fs/notify/mark.c:799 process_one_work+0xd0c/0x1ce0 kernel/workqueue.c:2153 worker_thread+0x143/0x14a0 kernel/workqueue.c:2296 kthread+0x357/0x430 kernel/kthread.c:247 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 INFO: task kworker/u4:5:8115 blocked for more than 140 seconds. Not tainted 5.0.0-rc3-next-20190125 #20 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:5 D19160 8115 2 0x80000000 Workqueue: events_unbound fsnotify_connector_destroy_workfn Call Trace: context_switch kernel/sched/core.c:2847 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3488 schedule+0xfe/0x350 kernel/sched/core.c:3532 schedule_timeout+0x1d3/0x250 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+0x457/0x810 kernel/sched/completion.c:136 __synchronize_srcu+0x201/0x2d0 kernel/rcu/srcutree.c:938 synchronize_srcu+0x41d/0x5af kernel/rcu/srcutree.c:1016 fsnotify_connector_destroy_workfn+0x4e/0xa0 fs/notify/mark.c:176 process_one_work+0xd0c/0x1ce0 kernel/workqueue.c:2153 worker_thread+0x143/0x14a0 kernel/workqueue.c:2296 kthread+0x357/0x430 kernel/kthread.c:247 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 INFO: task blkid:474 blocked for more than 140 seconds. Not tainted 5.0.0-rc3-next-20190125 #20 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D23112 474 18620 0x00000004 Call Trace: context_switch kernel/sched/core.c:2847 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3488 schedule+0xfe/0x350 kernel/sched/core.c:3532 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3590 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xa3b/0x1670 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 blkdev_put+0x34/0x560 fs/block_dev.c:1847 blkdev_close+0x8b/0xb0 fs/block_dev.c:1896 __fput+0x3c5/0xb10 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x1f4/0x2b0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x32a/0x3b0 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x696/0x800 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f3b647c92b0 Code: Bad RIP value. RSP: 002b:00007fff89121c28 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f3b647c92b0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000028 R09: 0000000001680000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001e0f030 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000005 INFO: task syz-executor2:480 blocked for more than 140 seconds. Not tainted 5.0.0-rc3-next-20190125 #20 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D25560 480 8056 0x00000004 Call Trace: context_switch kernel/sched/core.c:2847 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3488 schedule+0xfe/0x350 kernel/sched/core.c:3532 schedule_timeout+0x1d3/0x250 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+0x457/0x810 kernel/sched/completion.c:136 __flush_work+0x5af/0xa20 kernel/workqueue.c:2917 flush_work+0x18/0x20 kernel/workqueue.c:2938 lru_add_drain_all+0x42b/0x5e0 mm/swap.c:701 invalidate_bdev+0xa0/0xe0 fs/block_dev.c:97 __invalidate_device+0x58/0x70 fs/block_dev.c:2160 invalidate_partition+0x43/0x60 block/genhd.c:1580 drop_partitions.isra.0+0xf7/0x220 block/partition-generic.c:443 rescan_partitions+0x72/0x970 block/partition-generic.c:516 __blkdev_reread_part+0x1a2/0x230 block/ioctl.c:173 blkdev_reread_part+0x27/0x40 block/ioctl.c:193 loop_reread_partitions+0x1c/0x40 drivers/block/loop.c:633 loop_set_status+0xe57/0x1380 drivers/block/loop.c:1282 loop_set_status64+0xc2/0x120 drivers/block/loop.c:1402 lo_ioctl+0x518/0x23e0 drivers/block/loop.c:1545 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x10e0/0x2120 block/ioctl.c:605 block_ioctl+0xee/0x130 fs/block_dev.c:1914 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x107b/0x17d0 fs/ioctl.c:696 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457f07 Code: Bad RIP value. RSP: 002b:00007f15189baa18 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f15189bb6d4 RCX: 0000000000457f07 RDX: 00007f15189baab0 RSI: 0000000000004c04 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000202 R12: 00007f15189bb6d4 R13: 0000000000000004 R14: 0000000000000005 R15: 0000000000000001 INFO: task syz-executor2:485 blocked for more than 140 seconds. Not tainted 5.0.0-rc3-next-20190125 #20 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D26216 485 8056 0x00000004 Call Trace: context_switch kernel/sched/core.c:2847 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3488 schedule+0xfe/0x350 kernel/sched/core.c:3532 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3590 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xa3b/0x1670 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 __blkdev_get+0x19b/0x1560 fs/block_dev.c:1494 blkdev_get+0xc1/0xae0 fs/block_dev.c:1648 blkdev_open+0x205/0x290 fs/block_dev.c:1806 do_dentry_open+0x495/0x1230 fs/open.c:771 vfs_open+0xa0/0xd0 fs/open.c:880 do_last fs/namei.c:3418 [inline] path_openat+0x144f/0x5660 fs/namei.c:3535 do_filp_open+0x26f/0x370 fs/namei.c:3565 do_sys_open+0x59a/0x7c0 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1076 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x412041 Code: 00 00 48 85 ff c7 05 7a b6 24 00 00 00 00 00 c7 05 20 76 24 00 0a 00 00 00 c7 05 d2 77 24 00 a4 01 00 00 c7 05 c4 77 24 00 c0 <01> 00 00 c7 05 c2 77 24 00 01 00 00 00 c7 05 4c b6 24 00 00 00 00 RSP: 002b:00007f1518999a10 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f151899a6d4 RCX: 0000000000412041 RDX: 00007f1518999baa RSI: 0000000000000002 RDI: 00007f1518999ba0 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 00007f151899a6d4 R13: 0000000000000007 R14: 0000000000000007 R15: 0000000000000001 Showing all locks held in the system: 1 lock held by khungtaskd/1039: #0: 00000000ae5a5188 (rcu_read_lock){....}, at: debug_show_all_locks+0xc6/0x41d kernel/locking/lockdep.c:4393 2 locks held by kworker/u4:4/3106: #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: __write_once_size include/linux/compiler.h:224 [inline] #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: atomic64_set include/generated/atomic-instrumented.h:855 [inline] #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: atomic_long_set include/generated/atomic-long.h:40 [inline] #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: process_one_work+0xbc7/0x1ce0 kernel/workqueue.c:2124 #1: 000000004b70e9e2 ((reaper_work).work){+.+.}, at: process_one_work+0xc1d/0x1ce0 kernel/workqueue.c:2128 1 lock held by rsyslogd/7901: #0: 000000004f59f15c (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1b3/0x1f0 fs/file.c:796 2 locks held by getty/8013: #0: 000000005af95038 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004a95f50b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2156 2 locks held by getty/8014: #0: 00000000ed743d6f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000c294106d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2156 2 locks held by getty/8015: #0: 0000000048fd1277 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000001acd98fc (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2156 2 locks held by getty/8016: #0: 0000000089119e68 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000be1628b5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2156 2 locks held by getty/8017: #0: 000000006a60a524 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000080e46229 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2156 2 locks held by getty/8018: #0: 00000000b3282b25 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000006e9dea04 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2156 2 locks held by getty/8019: #0: 00000000ee09003d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000049b1ce7c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2156 2 locks held by kworker/u4:5/8115: #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: __write_once_size include/linux/compiler.h:224 [inline] #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: atomic64_set include/generated/atomic-instrumented.h:855 [inline] #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: atomic_long_set include/generated/atomic-long.h:40 [inline] #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000ff96e307 ((wq_completion)"events_unbound"){+.+.}, at: process_one_work+0xbc7/0x1ce0 kernel/workqueue.c:2124 #1: 00000000955bc14f (connector_reaper_work){+.+.}, at: process_one_work+0xc1d/0x1ce0 kernel/workqueue.c:2128 3 locks held by kworker/1:3/25646: 3 locks held by kworker/0:5/26063: #0: 00000000ad96c80f ((wq_completion)"events_power_efficient"){+.+.}, at: __write_once_size include/linux/compiler.h:224 [inline] #0: 00000000ad96c80f ((wq_completion)"events_power_efficient"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000ad96c80f ((wq_completion)"events_power_efficient"){+.+.}, at: atomic64_set include/generated/atomic-instrumented.h:855 [inline] #0: 00000000ad96c80f ((wq_completion)"events_power_efficient"){+.+.}, at: atomic_long_set include/generated/atomic-long.h:40 [inline] #0: 00000000ad96c80f ((wq_completion)"events_power_efficient"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000ad96c80f ((wq_completion)"events_power_efficient"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000ad96c80f ((wq_completion)"events_power_efficient"){+.+.}, at: process_one_work+0xbc7/0x1ce0 kernel/workqueue.c:2124 #1: 000000001e902659 ((sync_work).work){+.+.}, at: process_one_work+0xc1d/0x1ce0 kernel/workqueue.c:2128 #2: 00000000a25d396f (&rtc->ops_lock){+.+.}, at: rtc_set_time drivers/rtc/interface.c:142 [inline] #2: 00000000a25d396f (&rtc->ops_lock){+.+.}, at: rtc_set_time+0x153/0x890 drivers/rtc/interface.c:128 1 lock held by blkid/474: #0: 00000000f9c7009d (&bdev->bd_mutex){+.+.}, at: blkdev_put+0x34/0x560 fs/block_dev.c:1847 2 locks held by syz-executor2/480: #0: 00000000f9c7009d (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1f/0x40 block/ioctl.c:192 #1: 00000000180832b0 (lock#6){+.+.}, at: lru_add_drain_all+0xac/0x5e0 mm/swap.c:683 1 lock held by syz-executor2/485: #0: 00000000f9c7009d (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x1560 fs/block_dev.c:1494 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1039 Comm: khungtaskd Not tainted 5.0.0-rc3-next-20190125 #20 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+0x1db/0x2d0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 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+0xbbb/0x1170 kernel/hung_task.c:287 kthread+0x357/0x430 kernel/kthread.c:247 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: