syzbot


INFO: task hung in kernfs_iop_get_link

Status: auto-closed as invalid on 2019/10/27 12:01
Subsystems: kernfs
[Documentation on labels]
First crash: 2010d, last: 2010d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in kernfs_iop_get_link (2) kernfs 1 124d 124d 0/28 auto-obsoleted due to no activity on 2024/11/25 11:04

Sample crash report:
INFO: task udevd:3907 blocked for more than 143 seconds.
      Not tainted 5.3.0-rc2 #54
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
udevd           D21544  3907      1 0x00004000
Call Trace:
 context_switch kernel/sched/core.c:3254 [inline]
 __schedule+0x8b6/0xcd0 kernel/sched/core.c:3880
 schedule+0x131/0x1e0 kernel/sched/core.c:3944
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4003
 __mutex_lock_common+0x12bf/0x2990 kernel/locking/mutex.c:1007
 __mutex_lock kernel/locking/mutex.c:1077 [inline]
 mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:1092
 kernfs_getlink fs/kernfs/symlink.c:119 [inline]
 kernfs_iop_get_link+0xf9/0x5d0 fs/kernfs/symlink.c:138
 vfs_readlink+0x185/0x410 fs/namei.c:4736
 do_readlinkat+0x29f/0x3d0 fs/stat.c:411
 __do_sys_readlink fs/stat.c:432 [inline]
 __se_sys_readlink fs/stat.c:429 [inline]
 __x64_sys_readlink+0x7f/0x90 fs/stat.c:429
 do_syscall_64+0xfe/0x140 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f17c57d2577
Code: Bad RIP value.
RSP: 002b:00007fff5fe8fd38 EFLAGS: 00000246 ORIG_RAX: 0000000000000059
RAX: ffffffffffffffda RBX: 0000000001db1250 RCX: 00007f17c57d2577
RDX: 0000000000000400 RSI: 00007fff5fe8fd40 RDI: 00007fff5fe90220
RBP: 00007fff5fe90a80 R08: 00007fff5fe90a80 R09: 00007f17c5826de0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff5fe90220
R13: 0000000000000400 R14: 000000000237fc60 R15: 0000000001db1250
INFO: task syz-executor.5:9748 blocked for more than 146 seconds.
      Not tainted 5.3.0-rc2 #54
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D20328  9748   9747 0x00004000
Call Trace:
 context_switch kernel/sched/core.c:3254 [inline]
 __schedule+0x8b6/0xcd0 kernel/sched/core.c:3880
 schedule+0x131/0x1e0 kernel/sched/core.c:3944
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4003
 __mutex_lock_common+0x12bf/0x2990 kernel/locking/mutex.c:1007
 __mutex_lock kernel/locking/mutex.c:1077 [inline]
 mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:1092
 kernfs_iop_permission+0x62/0xa0 fs/kernfs/inode.c:283
 do_inode_permission fs/namei.c:384 [inline]
 inode_permission+0x279/0x580 fs/namei.c:449
 may_lookup fs/namei.c:1700 [inline]
 link_path_walk+0x26b/0x14e0 fs/namei.c:2082
 path_mountpoint+0x3f1/0x750 fs/namei.c:2692
 filename_mountpoint+0x221/0x670 fs/namei.c:2715
 user_path_mountpoint_at+0x39/0x50 fs/namei.c:2745
 ksys_umount+0x169/0x10a0 fs/namespace.c:1680
 __do_sys_umount fs/namespace.c:1706 [inline]
 __se_sys_umount fs/namespace.c:1704 [inline]
 __x64_sys_umount+0x5a/0x70 fs/namespace.c:1704
 do_syscall_64+0xfe/0x140 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45c257
Code: Bad RIP value.
RSP: 002b:00007ffe97db3748 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: ffffffffffffffda RBX: 0000000000229a78 RCX: 000000000045c257
RDX: 0000000000403520 RSI: 0000000000000002 RDI: 00007ffe97db37f0
RBP: 0000000000005bb5 R08: 0000000000000000 R09: 0000000000000011
R10: 000000000000000a R11: 0000000000000202 R12: 00007ffe97db4880
R13: 0000555556abf940 R14: 0000000000000000 R15: 00007ffe97db4880
INFO: task kworker/0:1:22738 blocked for more than 149 seconds.
      Not tainted 5.3.0-rc2 #54
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/0:1     D26216 22738      2 0x80004000
Workqueue: events kernfs_notify_workfn
Call Trace:
 context_switch kernel/sched/core.c:3254 [inline]
 __schedule+0x8b6/0xcd0 kernel/sched/core.c:3880
 schedule+0x131/0x1e0 kernel/sched/core.c:3944
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4003
 __mutex_lock_common+0x12bf/0x2990 kernel/locking/mutex.c:1007

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/29 11:52 upstream 609488bc979f c85e1c5b .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.