INFO: task blkid:27532 blocked for more than 120 seconds. Not tainted 4.9.89-ge34e318 #4 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D26352 27532 2369 0x00000006 ffff8801cadc6000 0000000000000000 ffff8801d8749500 ffff8801d9b73000 ffff8801db321b98 ffff8801c5d77310 ffffffff838a4c0b 0000000041b58ab3 ffffffff84193da8 00ffffff81239af0 ffff8801db322468 ffff8801db322490 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3551 [] schedule_timeout+0x56c/0x10b0 kernel/time/timer.c:1768 [] io_schedule_timeout+0x1be/0x390 kernel/sched/core.c:5173 [] io_schedule include/linux/sched.h:460 [inline] [] bit_wait_io+0x19/0xa0 kernel/sched/wait.c:582 [] __wait_on_bit_lock+0xc2/0x1c0 kernel/sched/wait.c:421 [] __lock_page+0xff/0x160 mm/filemap.c:934 [] lock_page include/linux/pagemap.h:454 [inline] [] truncate_inode_pages_range+0xc1a/0x12c0 mm/truncate.c:373 [] truncate_inode_pages+0x24/0x30 mm/truncate.c:401 [] kill_bdev+0xbc/0xf0 fs/block_dev.c:96 [] __blkdev_put+0x191/0x7e0 fs/block_dev.c:1586 [] blkdev_put+0x85/0x550 fs/block_dev.c:1663 [] blkdev_close+0x8b/0xb0 fs/block_dev.c:1670 [] __fput+0x28c/0x6e0 fs/file_table.c:208 [] ____fput+0x15/0x20 fs/file_table.c:244 [] task_work_run+0x115/0x190 kernel/task_work.c:116 [] exit_task_work include/linux/task_work.h:21 [inline] [] do_exit+0x7e7/0x2a40 kernel/exit.c:833 [] do_group_exit+0x108/0x320 kernel/exit.c:937 [] get_signal+0x4d4/0x14e0 kernel/signal.c:2317 [] do_signal+0x87/0x19f0 arch/x86/kernel/signal.c:807 [] exit_to_usermode_loop+0xe1/0x120 arch/x86/entry/common.c:157 [] prepare_exit_to_usermode arch/x86/entry/common.c:191 [inline] [] syscall_return_slowpath arch/x86/entry/common.c:260 [inline] [] do_syscall_64+0x36f/0x490 arch/x86/entry/common.c:287 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Showing all locks held in the system: 2 locks held by khungtaskd/515: #0: (rcu_read_lock){......}, at: [] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline] #0: (rcu_read_lock){......}, at: [] watchdog+0x125/0xa70 kernel/hung_task.c:239 #1: (tasklist_lock){.+.+..}, at: [] debug_show_all_locks+0x70/0x280 kernel/locking/lockdep.c:4336 1 lock held by rsyslogd/3660: #0: (&f->f_pos_lock){+.+.+.}, at: [] __fdget_pos+0x9f/0xc0 fs/file.c:781 2 locks held by getty/3788: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+.+.}, at: [] n_tty_read+0x1f4/0x16c0 drivers/tty/n_tty.c:2133 1 lock held by blkid/27532: #0: (&bdev->bd_mutex){+.+.+.}, at: [] __blkdev_put+0xbc/0x7e0 fs/block_dev.c:1579 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 515 Comm: khungtaskd Not tainted 4.9.89-ge34e318 #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d869fd00 ffffffff81d93609 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ffffffff810bb690 ffff8801d869fd38 ffffffff81d9e72d 0000000000000000 0000000000000000 ffff8801cadc6418 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] nmi_cpu_backtrace+0xfd/0x120 lib/nmi_backtrace.c:99 [] nmi_trigger_cpumask_backtrace+0x117/0x190 lib/nmi_backtrace.c:60 [] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [] check_hung_task kernel/hung_task.c:125 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline] [] watchdog+0x6f0/0xa70 kernel/hung_task.c:239 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3660 Comm: rsyslogd Not tainted 4.9.89-ge34e318 #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801b5579800 task.stack: ffff8801b84c0000 RIP: 0010:[] c [] avtab_search_node+0x282/0x490 security/selinux/ss/avtab.c:231 RSP: 0018:ffff8801b84c76b8 EFLAGS: 00000a02 RAX: 0000000000000000 RBX: ffff8801cdc90c30 RCX: ffffffff81c0b2b6 RDX: 0000000000000000 RSI: ffffed0037098f04 RDI: ffff8801cdc8bba0 RBP: ffff8801b84c7708 R08: ffffed0037098f45 R09: ffff8801b84c7a04 R10: 0000000000000005 R11: ffffed0037098f44 R12: dffffc0000000000 R13: 000000000000032e R14: ffff8801b84c7820 R15: 0000000000000298 FS: 00007f573b080700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 00000001b5f30000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801b84c7822c ffff8801b84c7824c 0000000000000002c ffffed0037098f04c ffff880107077240c ffffffff8595e508c 0000000000000029c ffff8801b84c79c0c dffffc0000000000c ffff8801b84c7820c ffff8801b84c7760c ffffffff81c31f7cc Call Trace: [] cond_compute_av+0x5c/0x2e0 security/selinux/ss/conditional.c:646 [] context_struct_compute_av+0x9d0/0x10b0 security/selinux/ss/services.c:681 [] security_compute_av+0x2f2/0x7d0 security/selinux/ss/services.c:1120 [] avc_compute_av+0xcb/0x640 security/selinux/avc.c:976 [] avc_has_perm_noaudit security/selinux/avc.c:1114 [inline] [] avc_has_perm+0x378/0x4f0 security/selinux/avc.c:1148 [] task_has_system+0x159/0x240 security/selinux/hooks.c:1697 [] selinux_syslog+0x80/0x90 security/selinux/hooks.c:2252 [] security_syslog+0x6d/0xa0 security/security.c:210 [] check_syslog_permissions+0x59/0x100 kernel/printk/printk.c:635 [] do_syslog+0x89/0xb10 kernel/printk/printk.c:1435 [] kmsg_read+0x74/0xa0 fs/proc/kmsg.c:39 [] proc_reg_read+0xef/0x170 fs/proc/inode.c:202 [] __vfs_read+0x103/0x670 fs/read_write.c:449 [] vfs_read+0x11e/0x380 fs/read_write.c:472 [] SYSC_read fs/read_write.c:588 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:581 [] do_syscall_64+0x1a4/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: ce8 c03 c42 c80 c3c c20 c00 c0f c85 c1b c02 c00 c00 c48 c8b c5b c10 c48 c85 cdb c0f c84 c13 c01 c00 c00 ce8 c6a cdd c75 cff c48 c89 cd8 c48 cc1 ce8 c03 c42 c0f cb6 c04 c20 c<84> cc0 c74 c08 c3c c01 c0f c8e c98 c01 c00 c00 c44 c0f cb7 c3b c66 c45 c39 cfd c75 c