loop2: p252 start 1854537728 is beyond EOD, truncated loop2: p253 start 1854537728 is beyond EOD, truncated loop2: p254 start 1854537728 is beyond EOD, truncated loop2: p255 start 1854537728 is beyond EOD, truncated INFO: task init:6540 blocked for more than 140 seconds. Not tainted 4.9.194+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. init D29128 6540 1 0x00000000 0000000000000087 ffff8801c7ff0000 ffff8801b041a680 ffff8801db621000 ffff8801d2784740 ffff8801db621018 ffff8801ce1d7758 ffffffff8281af8e ffff8801ce1d7698 ffffffff81249811 00ff8801ce1d7750 ffff8801db6218f0 Call Trace: [<00000000f62e80f6>] schedule+0x92/0x1c0 kernel/sched/core.c:3546 [<00000000373ca3b7>] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3579 [<00000000a1f5c00f>] __mutex_lock_common kernel/locking/mutex.c:582 [inline] [<00000000a1f5c00f>] mutex_lock_nested+0x38d/0x920 kernel/locking/mutex.c:621 [<00000000e7a245f5>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] [<00000000e7a245f5>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 [<000000008b4d59be>] chrdev_open+0x230/0x630 fs/char_dev.c:398 [<00000000cd698a37>] do_dentry_open+0x422/0xd20 fs/open.c:791 [<00000000cee397cc>] vfs_open+0x105/0x230 fs/open.c:904 [<00000000eee99677>] do_last fs/namei.c:3541 [inline] [<00000000eee99677>] path_openat+0xbf5/0x2f60 fs/namei.c:3665 [<000000000501a704>] do_filp_open+0x219/0x280 fs/namei.c:3701 [<000000000c6acb09>] do_sys_open+0x2f0/0x610 fs/open.c:1097 [<000000002ab74b79>] SYSC_open fs/open.c:1115 [inline] [<000000002ab74b79>] SyS_open+0x2d/0x40 fs/open.c:1110 [<000000009d2bd114>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000001c146d6b>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Showing all locks held in the system: 2 locks held by khungtaskd/24: #0: (rcu_read_lock){......}, at: [<0000000051e8cc9a>] check_hung_uninterruptible_tasks kernel/hung_task.c:169 [inline] #0: (rcu_read_lock){......}, at: [<0000000051e8cc9a>] watchdog+0x14b/0xaf0 kernel/hung_task.c:263 #1: (tasklist_lock){.+.+..}, at: [<000000002c2bcbaf>] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4336 1 lock held by rsyslogd/1897: #0: (&f->f_pos_lock){+.+.+.}, at: [<00000000a8808949>] __fdget_pos+0xa8/0xd0 fs/file.c:782 2 locks held by getty/2025: #0: (&tty->ldisc_sem){++++++}, at: [<000000004c20a066>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+...}, at: [<00000000f9f35997>] n_tty_read+0x1fe/0x1820 drivers/tty/n_tty.c:2156 2 locks held by syz-executor.3/3711: #0: (tasklist_lock){.+.+..}, at: [<000000008cf9bde6>] do_wait+0x371/0x930 kernel/exit.c:1567 #1: (rcu_read_lock){......}, at: [<0000000042b8d719>] INIT_LIST_HEAD include/linux/list.h:28 [inline] #1: (rcu_read_lock){......}, at: [<0000000042b8d719>] avc_compute_av+0xac/0x610 security/selinux/avc.c:973 2 locks held by udevd/3257: #0: (sb_writers#6){.+.+.+}, at: [<00000000d85be472>] sb_start_write include/linux/fs.h:1579 [inline] #0: (sb_writers#6){.+.+.+}, at: [<00000000d85be472>] mnt_want_write+0x3f/0xb0 fs/namespace.c:391 #1: (&type->i_mutex_dir_key#4){++++++}, at: [<0000000089759972>] inode_lock include/linux/fs.h:771 [inline] #1: (&type->i_mutex_dir_key#4){++++++}, at: [<0000000089759972>] do_last fs/namei.c:3437 [inline] #1: (&type->i_mutex_dir_key#4){++++++}, at: [<0000000089759972>] path_openat+0xe4b/0x2f60 fs/namei.c:3665 1 lock held by init/6540: #0: (tty_mutex){+.+.+.}, at: [<00000000e7a245f5>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<00000000e7a245f5>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/6548: #0: (tty_mutex){+.+.+.}, at: [<00000000e7a245f5>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<00000000e7a245f5>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/6643: #0: (tty_mutex){+.+.+.}, at: [<00000000e7a245f5>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<00000000e7a245f5>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/6646: #0: (tty_mutex){+.+.+.}, at: [<00000000e7a245f5>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<00000000e7a245f5>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 1 lock held by init/6708: #0: (tty_mutex){+.+.+.}, at: [<00000000e7a245f5>] tty_open_by_driver drivers/tty/tty_io.c:2062 [inline] #0: (tty_mutex){+.+.+.}, at: [<00000000e7a245f5>] tty_open+0x3f9/0xe10 drivers/tty/tty_io.c:2140 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 24 Comm: khungtaskd Not tainted 4.9.194+ #0 ffff8801d98d7cc8 ffffffff81b67001 0000000000000001 0000000000000000 0000000000000001 ffffffff81099d01 dffffc0000000000 ffff8801d98d7d00 ffffffff81b7229c 0000000000000001 0000000000000000 0000000000000001 Call Trace: [<00000000694f30d4>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000694f30d4>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000005a22f60c>] nmi_cpu_backtrace.cold+0x47/0x87 lib/nmi_backtrace.c:99 [<00000000c1e2d772>] nmi_trigger_cpumask_backtrace+0x124/0x155 lib/nmi_backtrace.c:60 [<00000000d7d32e02>] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [<000000003e30ca43>] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [<000000003e30ca43>] check_hung_task kernel/hung_task.c:126 [inline] [<000000003e30ca43>] check_hung_uninterruptible_tasks kernel/hung_task.c:183 [inline] [<000000003e30ca43>] watchdog+0x670/0xaf0 kernel/hung_task.c:263 [<00000000af9d2aa9>] kthread+0x278/0x310 kernel/kthread.c:211 [<00000000e5fb9dcf>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6582 Comm: udevd Not tainted 4.9.194+ #0 task: 00000000f46d01de task.stack: 00000000f18964a5 RIP: 0010:[] c [<0000000024888445>] mark_lock+0xd1/0x12e0 kernel/locking/lockdep.c:3092 RSP: 0018:ffff8801aadcf7b8 EFLAGS: 00000086 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 1ffff1003a581412 RDX: 1ffffffff07973c8 RSI: ffff8801d2c0a070 RDI: ffffffff83cb9e40 RBP: ffff8801aadcf7b8 R08: 0000000000000000 R09: ffff8801d2c0a090 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801d2c0a070 R13: 0000000000000002 R14: ffff8801d2c097c0 R15: dffffc0000000000 FS: 00007fdfb520d7a0(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdfb5213000 CR3: 00000001d432e000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Stack: ffff8801aadcf800c ffffffff8120cb01c 0000000000000000c 00000003d2c0a068c ffff8801d2c097c0c ffffffff8282ac5ac 0000000000000202c 0000000000000093c 0000000000000002c ffff8801aadcf820c ffffffff8120cdb0c 0000000000000202c Call Trace: [<000000001ebb8969>] mark_held_locks+0xb1/0x100 kernel/locking/lockdep.c:2660 [<00000000368b8909>] __trace_hardirqs_on_caller kernel/locking/lockdep.c:2681 [inline] [<00000000368b8909>] trace_hardirqs_on_caller+0x260/0x5a0 kernel/locking/lockdep.c:2736 [<00000000d2f626fe>] trace_hardirqs_on+0xd/0x10 kernel/locking/lockdep.c:2743 [<000000002731bfdb>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:162 [inline] [<000000002731bfdb>] _raw_spin_unlock_irqrestore+0x5a/0x70 kernel/locking/spinlock.c:191 [<00000000ca3e6040>] spin_unlock_irqrestore include/linux/spinlock.h:362 [inline] [<00000000ca3e6040>] avc_reclaim_node security/selinux/avc.c:541 [inline] [<00000000ca3e6040>] avc_alloc_node security/selinux/avc.c:559 [inline] [<00000000ca3e6040>] avc_alloc_node+0x29a/0x3c0 security/selinux/avc.c:547 [<0000000000275c8c>] avc_insert security/selinux/avc.c:670 [inline] [<0000000000275c8c>] avc_compute_av+0x182/0x610 security/selinux/avc.c:976 [<00000000ded567b1>] avc_has_perm_noaudit+0x2a8/0x300 security/selinux/avc.c:1112 [<0000000088857694>] selinux_inode_permission+0x2db/0x4c0 security/selinux/hooks.c:3060 [<00000000d5312a8d>] security_inode_permission+0xb9/0x100 security/security.c:611 [<00000000851df57f>] __inode_permission2+0x96/0x2e0 fs/namei.c:438 [<000000001eb3ef75>] inode_permission2+0x32/0x110 fs/namei.c:488 [<000000008b33f3dd>] may_delete+0x163/0x460 fs/namei.c:2927 [<00000000def27b97>] vfs_rename2+0x243/0x1920 fs/namei.c:4559 [<000000007619d092>] SYSC_renameat2 fs/namei.c:4788 [inline] [<000000007619d092>] SyS_renameat2+0x697/0xa60 fs/namei.c:4677 [<0000000035b6ae02>] SYSC_rename fs/namei.c:4828 [inline] [<0000000035b6ae02>] SyS_rename+0x2b/0x40 fs/namei.c:4826 [<000000009d2bd114>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000001c146d6b>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: c03 c80 c3c c02 c00 c0f c85 c98 c0d c00 c00 c4c c85 c6b c30 c0f c84 ccb c00 c00 c00 c41 cbd c01 c00 c00 c00 c48 c83 cc4 c20 c44 c89 ce8 c5b c41 c5c c41 c5d c41 c5e c41 c5f c<5d> cc3 c48 cc7 cc0 c40 c8b c1f c84 c48 cba c00 c00 c00 c00 c00 cfc cff cdf c48 c89 c