INFO: task kworker/1:1:25 blocked for more than 120 seconds. Not tainted 4.17.0-rc2+ #20 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/1:1 D19992 25 2 0x80000000 Workqueue: events cgwb_release_workfn Call Trace: context_switch kernel/sched/core.c:2848 [inline] __schedule+0x801/0x1e30 kernel/sched/core.c:3490 schedule+0xef/0x430 kernel/sched/core.c:3549 bit_wait+0x18/0x90 kernel/sched/wait_bit.c:197 __wait_on_bit+0xb3/0x130 kernel/sched/wait_bit.c:48 out_of_line_wait_on_bit+0x204/0x3a0 kernel/sched/wait_bit.c:63 wait_on_bit include/linux/wait_bit.h:76 [inline] wb_shutdown+0x370/0x470 mm/backing-dev.c:366 cgwb_release_workfn+0x87/0x750 mm/backing-dev.c:509 process_one_work+0xc1e/0x1b50 kernel/workqueue.c:2145 worker_thread+0x1cc/0x1440 kernel/workqueue.c:2279 kthread+0x345/0x410 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 Showing all locks held in the system: 2 locks held by kworker/1:1/25: #0: 0000000070f0a97c ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 0000000070f0a97c ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000070f0a97c ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 0000000070f0a97c ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: 0000000070f0a97c ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 0000000070f0a97c ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 0000000070f0a97c ((wq_completion)"events"){+.+.}, at: process_one_work+0xaef/0x1b50 kernel/workqueue.c:2116 #1: 000000002c8bac00 ((work_completion)(&wb->release_work)){+.+.}, at: process_one_work+0xb46/0x1b50 kernel/workqueue.c:2120 2 locks held by khungtaskd/891: #0: 00000000e93c23ac (rcu_read_lock){....}, at: check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: 00000000e93c23ac (rcu_read_lock){....}, at: watchdog+0x1ff/0xf60 kernel/hung_task.c:249 #1: 000000005731e05b (tasklist_lock){.+.+}, at: debug_show_all_locks+0xde/0x34a kernel/locking/lockdep.c:4470 1 lock held by rsyslogd/4386: #0: 00000000463f92c7 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1a9/0x1e0 fs/file.c:766 2 locks held by getty/4476: #0: 0000000037d1ac49 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000130304e4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4477: #0: 000000005ef00517 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000313eb0d4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4478: #0: 00000000680952e2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000aec13871 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4479: #0: 00000000fad17c96 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000004e5dcb66 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4480: #0: 000000006a6a1ee4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000312a30f2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4481: #0: 00000000d08febeb (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000000a04aa9b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4482: #0: 00000000b3301790 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000009cbafdc9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 1 lock held by syz-executor3/25170: #0: 0000000031ee967b (&sig->cred_guard_mutex){+.+.}, at: prepare_bprm_creds+0x53/0x120 fs/exec.c:1404 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 891 Comm: khungtaskd Not tainted 4.17.0-rc2+ #20 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: binder: 25176 RLIMIT_NICE not set __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1b9/0x294 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103 binder: BINDER_SET_CONTEXT_MGR already set nmi_trigger_cpumask_backtrace+0x151/0x192 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:138 [inline] check_hung_task kernel/hung_task.c:132 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:190 [inline] watchdog+0xc10/0xf60 kernel/hung_task.c:249 kthread+0x345/0x410 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 25217 Comm: syz-executor0 Not tainted 4.17.0-rc2+ #20 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:is_last_frame arch/x86/kernel/unwind_frame.c:101 [inline] RIP: 0010:is_last_task_frame arch/x86/kernel/unwind_frame.c:170 [inline] RIP: 0010:unwind_next_frame.part.7+0x104/0x9c0 arch/x86/kernel/unwind_frame.c:294 RSP: 0018:ffff8801dae066e8 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff8801dae06800 RCX: ffff8801dae067b0 RDX: ffff8801dae06828 RSI: 1ffff1003b5c0d05 RDI: ffff8801dae06800 RBP: ffff8801dae067d8 R08: ffff8801dae06838 R09: ffff8801c7b902c0 R10: ffffed003b5c0d0a R11: ffff8801dae06857 R12: 1ffff1003b5c0ce2 R13: 0000000000000000 R14: ffff8801dae07fe8 R15: ffff8801dae06850 FS: 00007fc3ec125700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002092b000 CR3: 00000001c37c7000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x3e/0x50 arch/x86/kernel/unwind_frame.c:287 __save_stack_trace+0x6e/0xd0 arch/x86/kernel/stacktrace.c:44 save_stack_trace+0x1a/0x20 arch/x86/kernel/stacktrace.c:60 save_stack+0x43/0xd0 mm/kasan/kasan.c:448 set_track mm/kasan/kasan.c:460 [inline] __kasan_slab_free+0x11a/0x170 mm/kasan/kasan.c:521 kasan_slab_free+0xe/0x10 mm/kasan/kasan.c:528 __cache_free mm/slab.c:3498 [inline] kmem_cache_free+0x86/0x2d0 mm/slab.c:3756 mempool_free_slab+0x1d/0x30 mm/mempool.c:457 mempool_free+0xed/0x370 mm/mempool.c:439 bvec_free+0xa8/0xd0 block/bio.c:171 bio_free+0xd8/0x1a0 block/bio.c:257 bio_put+0x17d/0x1f0 block/bio.c:558 ext4_end_bio+0x197/0x6d0 fs/ext4/page-io.c:343 bio_endio+0x4b8/0x920 block/bio.c:1775 req_bio_endio block/blk-core.c:284 [inline] blk_update_request+0x3a3/0xcb0 block/blk-core.c:3100 scsi_end_request+0xd3/0x870 drivers/scsi/scsi_lib.c:672 scsi_io_completion+0xca9/0x1d10 drivers/scsi/scsi_lib.c:898 scsi_finish_command+0x542/0x8d0 drivers/scsi/scsi.c:248 scsi_softirq_done+0x3d9/0x4b0 drivers/scsi/scsi_lib.c:1683 __blk_mq_complete_request+0x4c8/0x9f0 block/blk-mq.c:551 blk_mq_complete_request+0x2a5/0x370 block/blk-mq.c:636 scsi_mq_done+0xe2/0x430 drivers/scsi/scsi_lib.c:1994 virtscsi_complete_cmd+0x573/0x740 drivers/scsi/virtio_scsi.c:207 virtscsi_vq_done+0xc3/0x170 drivers/scsi/virtio_scsi.c:223 virtscsi_req_done+0xa7/0xd0 drivers/scsi/virtio_scsi.c:238 vring_interrupt+0x128/0x170 drivers/virtio/virtio_ring.c:950 __handle_irq_event_percpu+0x1c0/0xad0 kernel/irq/handle.c:149 handle_irq_event_percpu+0x98/0x1c0 kernel/irq/handle.c:189 handle_irq_event+0xa7/0x135 kernel/irq/handle.c:206 handle_edge_irq+0x20f/0x870 kernel/irq/chip.c:791 generic_handle_irq_desc include/linux/irqdesc.h:159 [inline] handle_irq+0x18c/0x2e7 arch/x86/kernel/irq_64.c:77 do_IRQ+0x78/0x190 arch/x86/kernel/irq.c:245 common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:642 RIP: 0010:arch_local_irq_enable arch/x86/include/asm/paravirt.h:793 [inline] RIP: 0010:__do_softirq+0x298/0xaf5 kernel/softirq.c:269 RSP: 0018:ffff8801dae07c98 EFLAGS: 00000282 ORIG_RAX: ffffffffffffffda RAX: 1ffffffff11a315f RBX: ffff8801c7b902c0 RCX: 1ffff10038f72163 RDX: 0000000000000000 RSI: ffff8801c7b90af8 RDI: ffff8801c7b90af4 RBP: ffff8801dae07e70 R08: ffff8801c7b90af8 R09: 0000000000000002 R10: ffff8801c7b902c0 R11: 0000000000000000 R12: 1ffff1003b5c0fe0 R13: ffff8801dae07fc0 R14: 0000000000000000 R15: dffffc0000000000 invoke_softirq kernel/softirq.c:365 [inline] irq_exit+0x1d1/0x200 kernel/softirq.c:405 exiting_irq arch/x86/include/asm/apic.h:525 [inline] smp_apic_timer_interrupt+0x17e/0x710 arch/x86/kernel/apic/apic.c:1052 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:863 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:783 [inline] RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1678 [inline] RIP: 0010:vprintk_emit+0xbd0/0xdd0 kernel/printk/printk.c:1906 RSP: 0018:ffff880190ccf6d0 EFLAGS: 00000212 ORIG_RAX: ffffffffffffff13 RAX: 0000000000040000 RBX: 0000000000000200 RCX: ffffc900020c1000 RDX: 00000000000039c2 RSI: ffffffff8160bc47 RDI: 0000000000000212 RBP: ffff880190ccf860 R08: ffff8801c7b90af8 R09: 0000000000000006 R10: ffff8801c7b902c0 R11: 0000000000000000 R12: 1ffffffff11a315d R13: 000000000000002a R14: ffffed0032199ef7 R15: ffffffff8a6d3360 vprintk_default+0x28/0x30 kernel/printk/printk.c:1947 vprintk_func+0x7a/0xe7 kernel/printk/printk_safe.c:379 printk+0x9e/0xba kernel/printk/printk.c:1980 binder_ioctl_set_ctx_mgr drivers/android/binder.c:4510 [inline] binder_ioctl.cold.78+0xac/0x14d drivers/android/binder.c:4617 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1cf/0x16a0 fs/ioctl.c:684 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:701 __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:706 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455979 RSP: 002b:00007fc3ec124c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc3ec1256d4 RCX: 0000000000455979 RDX: 0000000000000000 RSI: 0000000040046207 RDI: 0000000000000015 RBP: 000000000072bf50 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000198 R14: 00000000006f56e0 R15: 0000000000000001 Code: 48 c1 ea 03 80 3c 02 00 0f 85 8f 05 00 00 48 8d 53 28 4c 8b 73 38 48 b8 00 00 00 00 00 fc ff df 48 89 d6 48 c1 ee 03 80 3c 06 00 <0f> 85 3f 05 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 4b 28 49 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.493 msecs