INFO: task syz-executor.0:24507 blocked for more than 143 seconds. Not tainted 5.14.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29672 pid:24507 ppid: 8463 flags:0x00000004 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_read_slowpath+0x4c5/0x990 kernel/locking/rwsem.c:992 __down_read_common kernel/locking/rwsem.c:1213 [inline] __down_read kernel/locking/rwsem.c:1222 [inline] down_read+0xe4/0x440 kernel/locking/rwsem.c:1355 inode_lock_shared include/linux/fs.h:784 [inline] lookup_slow fs/namei.c:1662 [inline] walk_component+0x400/0x6a0 fs/namei.c:1959 lookup_last fs/namei.c:2414 [inline] path_lookupat+0x1bb/0x860 fs/namei.c:2438 filename_lookup+0x1c6/0x5b0 fs/namei.c:2467 user_path_at include/linux/namei.h:57 [inline] do_sys_truncate.part.0+0x86/0x140 fs/open.c:133 do_sys_truncate fs/open.c:129 [inline] __do_sys_truncate fs/open.c:147 [inline] __se_sys_truncate fs/open.c:145 [inline] __x64_sys_truncate+0x69/0x90 fs/open.c:145 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:00007f10c31ed188 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007fff7c5f72cf R14: 00007f10c31ed300 R15: 0000000000022000 INFO: task syz-executor.0:24510 blocked for more than 143 seconds. Not tainted 5.14.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27800 pid:24510 ppid: 8463 flags:0x00000004 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_read_slowpath+0x4c5/0x990 kernel/locking/rwsem.c:992 __down_read_common kernel/locking/rwsem.c:1213 [inline] __down_read kernel/locking/rwsem.c:1222 [inline] down_read+0xe4/0x440 kernel/locking/rwsem.c:1355 inode_lock_shared include/linux/fs.h:784 [inline] lookup_slow fs/namei.c:1662 [inline] walk_component+0x400/0x6a0 fs/namei.c:1959 lookup_last fs/namei.c:2414 [inline] path_lookupat+0x1bb/0x860 fs/namei.c:2438 filename_lookup+0x1c6/0x5b0 fs/namei.c:2467 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:493 [inline] __se_sys_chdir fs/open.c:487 [inline] __x64_sys_chdir+0xb7/0x260 fs/open.c:487 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:00007f10c31cc188 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007fff7c5f72cf R14: 00007f10c31cc300 R15: 0000000000022000 INFO: task syz-executor.0:24534 blocked for more than 144 seconds. Not tainted 5.14.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29416 pid:24534 ppid: 8463 flags:0x00000004 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] open_last_lookups fs/namei.c:3295 [inline] path_openat+0x94d/0x27f0 fs/namei.c:3504 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_open fs/open.c:1228 [inline] __se_sys_open fs/open.c:1224 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1224 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:00007f10c31ab188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000141042 RDI: 0000000020000000 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007fff7c5f72cf R14: 00007f10c31ab300 R15: 0000000000022000 INFO: task syz-executor.0:24536 blocked for more than 144 seconds. Not tainted 5.14.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29672 pid:24536 ppid: 8463 flags:0x00000004 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_read_slowpath+0x4c5/0x990 kernel/locking/rwsem.c:992 __down_read_common kernel/locking/rwsem.c:1213 [inline] __down_read kernel/locking/rwsem.c:1222 [inline] down_read+0xe4/0x440 kernel/locking/rwsem.c:1355 inode_lock_shared include/linux/fs.h:784 [inline] lookup_slow fs/namei.c:1662 [inline] walk_component+0x400/0x6a0 fs/namei.c:1959 lookup_last fs/namei.c:2414 [inline] path_lookupat+0x1bb/0x860 fs/namei.c:2438 filename_lookup+0x1c6/0x5b0 fs/namei.c:2467 user_path_at include/linux/namei.h:57 [inline] do_sys_truncate.part.0+0x86/0x140 fs/open.c:133 do_sys_truncate fs/open.c:129 [inline] __do_sys_truncate fs/open.c:147 [inline] __se_sys_truncate fs/open.c:145 [inline] __x64_sys_truncate+0x69/0x90 fs/open.c:145 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:00007f10c318a188 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 000000000056c260 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c260 R13: 00007fff7c5f72cf R14: 00007f10c318a300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1628: #0: ffffffff8b979000 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/8150: #0: ffff88801914b5f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 2 locks held by kworker/u4:10/11655: 2 locks held by syz-executor.0/24497: 1 lock held by syz-executor.0/24507: #0: ffff888040f9fc40 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:784 [inline] #0: ffff888040f9fc40 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1662 [inline] #0: ffff888040f9fc40 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1959 1 lock held by syz-executor.0/24510: #0: ffff888040f9fc40 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:784 [inline] #0: ffff888040f9fc40 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1662 [inline] #0: ffff888040f9fc40 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1959 2 locks held by syz-executor.0/24534: #0: ffff88807298a460 (sb_writers#21){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3287 [inline] #0: ffff88807298a460 (sb_writers#21){.+.+}-{0:0}, at: path_openat+0x25ed/0x27f0 fs/namei.c:3504 #1: ffff888040f9fc40 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff888040f9fc40 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3295 [inline] #1: ffff888040f9fc40 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x94d/0x27f0 fs/namei.c:3504 1 lock held by syz-executor.0/24536: #0: ffff888040f9fc40 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:784 [inline] #0: ffff888040f9fc40 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1662 [inline] #0: ffff888040f9fc40 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1959 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1628 Comm: khungtaskd Not tainted 5.14.0-rc4-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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4859 Comm: systemd-journal Not tainted 5.14.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_kcov_mode+0xf/0x40 kernel/kcov.c:163 Code: c1 45 00 e9 a1 fe ff ff 48 8b 3c 24 e8 3a c1 45 00 e9 18 fe ff ff cc cc cc cc cc 65 8b 05 39 27 8d 7e 89 c2 81 e2 00 01 00 00 00 01 ff 00 74 10 31 c0 85 d2 74 15 8b 96 34 15 00 00 85 d2 74 RSP: 0018:ffffc900016f78b8 EFLAGS: 00000246 RAX: 0000000080000000 RBX: ffffc900016f7a30 RCX: 0000000000000002 RDX: 0000000000000000 RSI: ffff88801c414180 RDI: 0000000000000003 RBP: 0000000000000800 R08: 0000000000000002 R09: 0000000000000001 R10: ffffffff83f4285c R11: 0000000000000000 R12: ffff88801ad16102 R13: ffffc900016f7a48 R14: 0000000000000002 R15: ffffffffffffffff FS: 00007fc372cd28c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc370459028 CR3: 00000000194f4000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_comp_data kernel/kcov.c:218 [inline] __sanitizer_cov_trace_const_cmp8+0x1d/0x70 kernel/kcov.c:291 xa_is_node include/linux/xarray.h:1226 [inline] xas_start+0x10c/0x730 lib/xarray.c:189 xas_load+0x28/0x140 lib/xarray.c:233 xas_find+0x5ac/0x7d0 lib/xarray.c:1245 find_get_entry mm/filemap.c:1923 [inline] find_lock_entries+0x155/0x13d0 mm/filemap.c:2037 shmem_undo_range+0x188/0x1650 mm/shmem.c:910 shmem_truncate_range mm/shmem.c:1030 [inline] shmem_setattr+0x68f/0xc80 mm/shmem.c:1091 notify_change+0xb28/0x10f0 fs/attr.c:398 do_truncate+0x13c/0x200 fs/open.c:64 do_sys_ftruncate+0x773/0x8e0 fs/open.c:196 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:0x7fc371f94ec7 Code: 73 01 c3 48 8b 0d d1 5f 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 4d 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 5f 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffea54de0e8 EFLAGS: 00000206 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007ffea54de120 RCX: 00007fc371f94ec7 RDX: 00005588a9266ea0 RSI: 0000000000800000 RDI: 0000000000000010 RBP: 00007ffea54de118 R08: 0000000000000008 R09: 00005588a926727c R10: 00005588a9267200 R11: 0000000000000206 R12: 00005588a9267200 R13: 00007ffea54de218 R14: 00005588a82be958 R15: 0005c89f3375d3b3