syzbot


INFO: task hung in walk_component (2)

Status: auto-closed as invalid on 2022/01/31 04:51
Reported-by: syzbot+5716cf373a935580a326@syzkaller.appspotmail.com
First crash: 991d, last: 936d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in walk_component 1 1147d 1147d 0/1 auto-closed as invalid on 2021/07/04 02:47
upstream INFO: task hung in walk_component (5) fuse C inconclusive 62 5h12m 613d 0/26 upstream: reported C repro on 2022/08/22 12:38
upstream INFO: task hung in walk_component (3) fs 9 866d 1037d 0/26 closed as invalid on 2022/02/07 19:19
upstream INFO: task hung in walk_component (2) fuse 31 1141d 1141d 20/26 fixed on 2021/04/09 19:46
upstream INFO: task hung in walk_component (4) fs 4 777d 800d 0/26 auto-closed as invalid on 2022/06/09 10:18
android-44 INFO: task hung in walk_component 1 1824d 1824d 0/2 auto-closed as invalid on 2019/10/25 08:50
linux-4.19 INFO: task hung in walk_component (3) f2fs C error 5 483d 632d 0/1 upstream: reported C repro on 2022/08/03 09:11
upstream INFO: task hung in walk_component fuse 1 2114d 2114d 0/26 closed as invalid on 2018/09/05 12:51

Sample crash report:
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
INFO: task syz-executor.5:2126 blocked for more than 140 seconds.
      Not tainted 4.19.208-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D29328  2126  29803 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 down_read+0x44/0x80 kernel/locking/rwsem.c:26
 inode_lock_shared include/linux/fs.h:758 [inline]
 lookup_slow fs/namei.c:1688 [inline]
 walk_component+0x798/0xda0 fs/namei.c:1811
 link_path_walk.part.0+0x901/0x1230 fs/namei.c:2142
 link_path_walk fs/namei.c:2073 [inline]
 path_parentat+0x51/0x140 fs/namei.c:2367
 filename_parentat+0x198/0x590 fs/namei.c:2389
 filename_create+0x9e/0x490 fs/namei.c:3621
 user_path_create fs/namei.c:3696 [inline]
 do_mknodat.part.0+0xcd/0x480 fs/namei.c:3757
 do_mknodat fs/namei.c:3795 [inline]
 __do_sys_mknod fs/namei.c:3797 [inline]
 __se_sys_mknod fs/namei.c:3795 [inline]
 __x64_sys_mknod+0xf8/0x120 fs/namei.c:3795
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff69c3268d9
Code: Bad RIP value.
RSP: 002b:00007ff69987c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000085
RAX: ffffffffffffffda RBX: 00007ff69c42b020 RCX: 00007ff69c3268d9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100
RBP: 00007ff69c380cb4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe065e8d1f R14: 00007ff69987c300 R15: 0000000000022000
INFO: task syz-executor.5:2164 blocked for more than 140 seconds.
      Not tainted 4.19.208-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D29960  2164  29803 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline]
 rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618
 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write_nested+0x51/0x90 kernel/locking/rwsem.c:194
 inode_lock_nested include/linux/fs.h:783 [inline]
 filename_create+0x15a/0x490 fs/namei.c:3638
 user_path_create fs/namei.c:3696 [inline]
 do_mkdirat+0xa0/0x2d0 fs/namei.c:3834
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff69c3259e7
Code: Bad RIP value.
RSP: 002b:00007ff69985afa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff69c3259e7
RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000080
RBP: 00007ff69985b040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000020000080 R14: 00007ff69985b000 R15: 0000000000000000
INFO: task syz-executor.5:2165 blocked for more than 140 seconds.
      Not tainted 4.19.208-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D29488  2165  29803 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 down_read+0x44/0x80 kernel/locking/rwsem.c:26
 inode_lock_shared include/linux/fs.h:758 [inline]
 lookup_slow fs/namei.c:1688 [inline]
 walk_component+0x798/0xda0 fs/namei.c:1811
 link_path_walk.part.0+0x901/0x1230 fs/namei.c:2142
 link_path_walk fs/namei.c:2073 [inline]
 path_openat+0x1db/0x2df0 fs/namei.c:3536
 do_filp_open+0x18c/0x3f0 fs/namei.c:3567
 do_sys_open+0x3b3/0x520 fs/open.c:1085
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff69c3268d9
Code: Bad RIP value.
RSP: 002b:00007ff69983a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007ff69c42b1a0 RCX: 00007ff69c3268d9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020000340
RBP: 00007ff69c380cb4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe065e8d1f R14: 00007ff69983a300 R15: 0000000000022000
INFO: task syz-executor.5:2166 blocked for more than 140 seconds.
      Not tainted 4.19.208-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D29552  2166  29803 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 down_read+0x44/0x80 kernel/locking/rwsem.c:26
 inode_lock_shared include/linux/fs.h:758 [inline]
 lookup_slow fs/namei.c:1688 [inline]
 walk_component+0x798/0xda0 fs/namei.c:1811
 lookup_last fs/namei.c:2274 [inline]
 path_lookupat+0x1ff/0x8d0 fs/namei.c:2319
 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349
 user_path include/linux/namei.h:62 [inline]
 do_mount+0x147/0x2f50 fs/namespace.c:2762
 ksys_mount+0xcf/0x130 fs/namespace.c:3038
 __do_sys_mount fs/namespace.c:3052 [inline]
 __se_sys_mount fs/namespace.c:3049 [inline]
 __x64_sys_mount+0xba/0x150 fs/namespace.c:3049
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff69c3268d9
Code: Bad RIP value.
RSP: 002b:00007ff699819188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ff69c42b260 RCX: 00007ff69c3268d9
RDX: 00000000200001c0 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007ff69c380cb4 R08: 0000000020000300 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe065e8d1f R14: 00007ff699819300 R15: 0000000000022000
INFO: task syz-executor.5:2167 blocked for more than 140 seconds.
      Not tainted 4.19.208-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D29552  2167  29803 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 down_read+0x44/0x80 kernel/locking/rwsem.c:26
 inode_lock_shared include/linux/fs.h:758 [inline]
 lookup_slow fs/namei.c:1688 [inline]
 walk_component+0x798/0xda0 fs/namei.c:1811
 lookup_last fs/namei.c:2274 [inline]
 path_lookupat+0x1ff/0x8d0 fs/namei.c:2319
 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349
 user_path include/linux/namei.h:62 [inline]
 do_mount+0x147/0x2f50 fs/namespace.c:2762
 ksys_mount+0xcf/0x130 fs/namespace.c:3038
 __do_sys_mount fs/namespace.c:3052 [inline]
 __se_sys_mount fs/namespace.c:3049 [inline]
 __x64_sys_mount+0xba/0x150 fs/namespace.c:3049
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff69c3268d9
Code: Bad RIP value.
RSP: 002b:00007ff6997f8188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ff69c42b320 RCX: 00007ff69c3268d9
RDX: 0000000020000140 RSI: 00000000200002c0 RDI: 0000000000000000
RBP: 00007ff69c380cb4 R08: 0000000020000380 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe065e8d1f R14: 00007ff6997f8300 R15: 0000000000022000
INFO: task syz-executor.5:2168 blocked for more than 140 seconds.
      Not tainted 4.19.208-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D29824  2168  29803 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 down_read+0x44/0x80 kernel/locking/rwsem.c:26
 inode_lock_shared include/linux/fs.h:758 [inline]
 lookup_slow fs/namei.c:1688 [inline]
 walk_component+0x798/0xda0 fs/namei.c:1811
 lookup_last fs/namei.c:2274 [inline]
 path_lookupat+0x1ff/0x8d0 fs/namei.c:2319
 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349
 user_path_at include/linux/namei.h:57 [inline]
 ksys_chdir+0x84/0x1d0 fs/open.c:458
 __do_sys_chdir fs/open.c:480 [inline]
 __se_sys_chdir fs/open.c:478 [inline]
 __x64_sys_chdir+0x2d/0x40 fs/open.c:478
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff69c3268d9
Code: Bad RIP value.
RSP: 002b:00007ff6997d7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000050
RAX: ffffffffffffffda RBX: 00007ff69c42b3e0 RCX: 00007ff69c3268d9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200003c0
RBP: 00007ff69c380cb4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe065e8d1f R14: 00007ff6997d7300 R15: 0000000000022000

Showing all locks held in the system:
1 lock held by khungtaskd/1570:
 #0: 0000000044f8c158 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441
2 locks held by syz-executor.5/2120:
 #0: 00000000539bcfaf (sb_writers#26){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline]
 #0: 00000000539bcfaf (sb_writers#26){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360
 #1: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: inode_lock include/linux/fs.h:748 [inline]
 #1: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: do_last fs/namei.c:3324 [inline]
 #1: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537
1 lock held by syz-executor.5/2126:
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline]
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: lookup_slow fs/namei.c:1688 [inline]
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: walk_component+0x798/0xda0 fs/namei.c:1811
2 locks held by syz-executor.5/2164:
 #0: 00000000539bcfaf (sb_writers#26){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline]
 #0: 00000000539bcfaf (sb_writers#26){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360
 #1: 000000008efa36f9 (&sb->s_type->i_mutex_key#34/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline]
 #1: 000000008efa36f9 (&sb->s_type->i_mutex_key#34/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638
1 lock held by syz-executor.5/2165:
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline]
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: lookup_slow fs/namei.c:1688 [inline]
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: walk_component+0x798/0xda0 fs/namei.c:1811
1 lock held by syz-executor.5/2166:
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline]
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: lookup_slow fs/namei.c:1688 [inline]
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: walk_component+0x798/0xda0 fs/namei.c:1811
1 lock held by syz-executor.5/2167:
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline]
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: lookup_slow fs/namei.c:1688 [inline]
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: walk_component+0x798/0xda0 fs/namei.c:1811
1 lock held by syz-executor.5/2168:
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline]
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: lookup_slow fs/namei.c:1688 [inline]
 #0: 000000008efa36f9 (&sb->s_type->i_mutex_key#34){++++}, at: walk_component+0x798/0xda0 fs/namei.c:1811

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 1570 Comm: khungtaskd Not tainted 4.19.208-syzkaller #0
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+0x1fc/0x2ef lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
 watchdog+0x991/0xe60 kernel/hung_task.c:287
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/03 04:50 linux-4.19.y c2276d585654 db0f5787 .config console log report info ci2-linux-4-19 INFO: task hung in walk_component
2021/08/09 14:16 linux-4.19.y 5c66974a6304 6972b106 .config console log report info ci2-linux-4-19 INFO: task hung in walk_component
* Struck through repros no longer work on HEAD.