INFO: task syz-executor.0:9123 blocked for more than 143 seconds. Not tainted 5.14.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27784 pid: 9123 ppid: 8866 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:774 [inline] do_truncate+0x12a/0x200 fs/open.c:62 handle_truncate fs/namei.c:3030 [inline] do_open fs/namei.c:3378 [inline] path_openat+0x20f4/0x27f0 fs/namei.c:3507 do_filp_open+0x1aa/0x400 fs/namei.c:3534 do_sys_openat2+0x16d/0x420 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_openat fs/open.c:1236 [inline] __se_sys_openat fs/open.c:1231 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1231 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f6414a26188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665e9 RDX: 0000000000007a05 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001700 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007ffc8d6a410f R14: 00007f6414a26300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1636: #0: ffffffff8b978f80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/8136: #0: ffff88802dd270f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 2 locks held by syz-executor.0/9123: #0: ffff88802b9e8460 (sb_writers#5){.+.+}-{0:0}, at: do_open fs/namei.c:3367 [inline] #0: ffff88802b9e8460 (sb_writers#5){.+.+}-{0:0}, at: path_openat+0x1aee/0x27f0 fs/namei.c:3507 #1: ffff88807516c808 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff88807516c808 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: do_truncate+0x12a/0x200 fs/open.c:62 3 locks held by syz-executor.0/9126: #0: ffff88802b9e8460 (sb_writers#5){.+.+}-{0:0}, at: __ext4_ioctl+0x2e42/0x4850 fs/ext4/ioctl.c:984 #1: ffff888040609848 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff888040609848 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: lock_two_nondirectories+0xec/0x110 fs/inode.c:1038 #2: ffff88807516c808 (&sb->s_type->i_mutex_key#9/4){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:809 [inline] #2: ffff88807516c808 (&sb->s_type->i_mutex_key#9/4){+.+.}-{3:3}, at: lock_two_nondirectories+0xd1/0x110 fs/inode.c:1040 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1636 Comm: khungtaskd Not tainted 5.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xd0a/0xfc0 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4860 Comm: systemd-journal Not tainted 5.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_exit_to_user_mode_prepare arch/x86/include/asm/entry-common.h:72 [inline] RIP: 0010:exit_to_user_mode_prepare+0x69/0x290 kernel/entry/common.c:211 Code: 08 0f 85 88 01 00 00 f7 c3 00 00 40 00 0f 85 8d 01 00 00 e8 b9 1a c8 ff 80 e7 40 0f 85 92 01 00 00 65 48 8b 04 25 00 f0 01 00 <83> 60 10 f9 66 90 8b 35 fb 5b bf 0e 85 f6 75 17 65 48 8b 04 25 00 RSP: 0018:ffffc9000184ff10 EFLAGS: 00000046 RAX: ffff88801b388200 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801b388200 RSI: ffffffff8162eb47 RDI: 0000000000000003 RBP: ffffc9000184ff58 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff812b06bc R11: 0000000000000000 R12: ffffc9000184ff58 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fd9d47118c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd9d1dc3000 CR3: 000000001be96000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fd9d39cc9c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffe670b1ec8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: 0000000000000000 RBX: 00007ffe670b4de0 RCX: 00007fd9d39cc9c7 RDX: 00007fd9d443da00 RSI: 0000000000000000 RDI: 000055c423d129a3 RBP: 00007ffe670b1f00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffe670b4de0 R15: 00007ffe670b23f0