Unknown ioctl -2147204396 Unknown ioctl -2147204396 INFO: task syz-executor2:9138 blocked for more than 140 seconds. Not tainted 4.19.0-rc7+ #60 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D25096 9138 5364 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 __rwsem_down_write_failed_common+0xbb9/0x1670 kernel/locking/rwsem-xadd.c:566 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0xa5/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:738 [inline] chmod_common+0x1b1/0x590 fs/open.c:535 do_fchmodat+0xc3/0x160 fs/open.c:579 __do_sys_chmod fs/open.c:597 [inline] __se_sys_chmod fs/open.c:595 [inline] __x64_sys_chmod+0x5c/0x80 fs/open.c:595 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: 83 c4 18 c3 e8 d8 64 00 00 48 8b 04 24 48 8b 4c 24 08 48 89 01 e8 d7 2d fc ff e8 22 7a fc ff b8 02 00 00 00 48 8d 0d 6a 60 09 <01> 87 01 8b 05 62 60 09 01 83 f8 01 0f 85 8a 00 00 00 b8 01 00 00 RSP: 002b:00007f75e9faec78 EFLAGS: 00000246 ORIG_RAX: 000000000000005a RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000121 RDI: 0000000020000000 RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f75e9faf6d4 R13: 00000000004bd325 R14: 00000000004cc388 R15: 00000000ffffffff INFO: task syz-executor2:9218 blocked for more than 140 seconds. Not tainted 4.19.0-rc7+ #60 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D23528 9218 5364 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:269 [inline] rwsem_down_read_failed+0x362/0x610 kernel/locking/rwsem-xadd.c:286 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0xbe/0x1d0 kernel/locking/rwsem.c:26 inode_lock_shared include/linux/fs.h:748 [inline] do_last fs/namei.c:3323 [inline] path_openat+0x250d/0x5160 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 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+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: 83 c4 18 c3 e8 d8 64 00 00 48 8b 04 24 48 8b 4c 24 08 48 89 01 e8 d7 2d fc ff e8 22 7a fc ff b8 02 00 00 00 48 8d 0d 6a 60 09 <01> 87 01 8b 05 62 60 09 01 83 f8 01 0f 85 8a 00 00 00 b8 01 00 00 RSP: 002b:00007f75e9f8dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f75e9f8e6d4 R13: 00000000004ef97f R14: 00000000004d3fd8 R15: 00000000ffffffff INFO: task syz-executor2:9219 blocked for more than 140 seconds. Not tainted 4.19.0-rc7+ #60 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D24024 9219 5364 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 __rwsem_down_write_failed_common+0xbb9/0x1670 kernel/locking/rwsem-xadd.c:566 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0xa5/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:738 [inline] lock_mount+0x8c/0x2e0 fs/namespace.c:2027 do_add_mount+0x27/0x370 fs/namespace.c:2404 do_new_mount fs/namespace.c:2471 [inline] do_mount+0x19cd/0x31f0 fs/namespace.c:2787 ksys_mount+0x12d/0x140 fs/namespace.c:3003 __do_sys_mount fs/namespace.c:3017 [inline] __se_sys_mount fs/namespace.c:3014 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3014 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: 83 c4 18 c3 e8 d8 64 00 00 48 8b 04 24 48 8b 4c 24 08 48 89 01 e8 d7 2d fc ff e8 22 7a fc ff b8 02 00 00 00 48 8d 0d 6a 60 09 <01> 87 01 8b 05 62 60 09 01 83 f8 01 0f 85 8a 00 00 00 b8 01 00 00 RSP: 002b:00007f75e9f6cc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000457569 RDX: 0000000020000900 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 000000000072c0e0 R08: 0000000020000840 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f75e9f6d6d4 R13: 00000000004c28a1 R14: 00000000004d3c90 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/981: #0: 000000000815f929 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4435 1 lock held by rsyslogd/5209: #0: 0000000008f868b2 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5299: #0: 0000000068d535de (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000ec9f3e8c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5300: #0: 000000001f959d87 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000005c8bac7b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5301: #0: 00000000b981958c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000002ef9353e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5302: #0: 000000004e5d9300 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000290672b4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5303: #0: 000000006082646a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000006d5cab64 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5304: #0: 00000000d8bfbc14 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000006ad4a325 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5305: #0: 00000000f2761545 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000b247d900 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 1 lock held by syz-executor2/9128: #0: 00000000f91e406b (&sb->s_type->i_mutex_key#27){++++}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 00000000f91e406b (&sb->s_type->i_mutex_key#27){++++}, at: do_last fs/namei.c:3323 [inline] #0: 00000000f91e406b (&sb->s_type->i_mutex_key#27){++++}, at: path_openat+0x250d/0x5160 fs/namei.c:3534 2 locks held by syz-executor2/9138: #0: 0000000033dca933 (sb_writers#18){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 0000000033dca933 (sb_writers#18){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 00000000f91e406b (&sb->s_type->i_mutex_key#27){++++}, at: inode_lock include/linux/fs.h:738 [inline] #1: 00000000f91e406b (&sb->s_type->i_mutex_key#27){++++}, at: chmod_common+0x1b1/0x590 fs/open.c:535 1 lock held by syz-executor2/9218: #0: 00000000f91e406b (&sb->s_type->i_mutex_key#27){++++}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 00000000f91e406b (&sb->s_type->i_mutex_key#27){++++}, at: do_last fs/namei.c:3323 [inline] #0: 00000000f91e406b (&sb->s_type->i_mutex_key#27){++++}, at: path_openat+0x250d/0x5160 fs/namei.c:3534 1 lock held by syz-executor2/9219: #0: 00000000f91e406b (&sb->s_type->i_mutex_key#27){++++}, at: inode_lock include/linux/fs.h:738 [inline] #0: 00000000f91e406b (&sb->s_type->i_mutex_key#27){++++}, at: lock_mount+0x8c/0x2e0 fs/namespace.c:2027 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 981 Comm: khungtaskd Not tainted 4.19.0-rc7+ #60 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+0x1c4/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.3+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x1ed 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:144 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline] watchdog+0xb3e/0x1050 kernel/hung_task.c:265 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:57