syzbot


INFO: task hung in kernfs_iop_permission

Status: auto-closed as invalid on 2019/10/28 16:51
Subsystems: kernfs
[Documentation on labels]
First crash: 1735d, last: 1732d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in kernfs_iop_permission (3) kernfs arm 6 439d 513d 0/26 auto-obsoleted due to no activity on 2023/05/13 13:27
linux-4.19 INFO: task hung in kernfs_iop_permission 1 1510d 1510d 0/1 auto-closed as invalid on 2020/07/06 20:13
upstream INFO: task hung in kernfs_iop_permission (2) kernfs 3 621d 714d 0/26 auto-obsoleted due to no activity on 2022/11/12 03:55
android-414 INFO: task hung in kernfs_iop_permission 2 1717d 1765d 0/1 auto-closed as invalid on 2019/12/12 06:07

Sample crash report:
INFO: task syz-executor.0:10594 blocked for more than 144 seconds.
      Not tainted 5.3.0-rc2+ #89
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D24264 10594  10593 0x00004000
Call Trace:
 context_switch kernel/sched/core.c:3254 [inline]
 __schedule+0x755/0x1580 kernel/sched/core.c:3880
 schedule+0xa8/0x270 kernel/sched/core.c:3944
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4003
 __mutex_lock_common kernel/locking/mutex.c:1007 [inline]
 __mutex_lock+0x7b0/0x13c0 kernel/locking/mutex.c:1077
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1092
 kernfs_iop_permission+0x66/0xb0 fs/kernfs/inode.c:283
 do_inode_permission fs/namei.c:384 [inline]
 inode_permission+0x36b/0x560 fs/namei.c:449
 may_lookup fs/namei.c:1700 [inline]
 link_path_walk.part.0+0x9fa/0x1340 fs/namei.c:2082
 link_path_walk fs/namei.c:2070 [inline]
 path_mountpoint+0xe0/0x1e60 fs/namei.c:2692
 filename_mountpoint+0x190/0x3c0 fs/namei.c:2715
 user_path_mountpoint_at+0x3a/0x50 fs/namei.c:2745
 ksys_umount+0x167/0xf00 fs/namespace.c:1680
 __do_sys_umount fs/namespace.c:1706 [inline]
 __se_sys_umount fs/namespace.c:1704 [inline]
 __x64_sys_umount+0x54/0x80 fs/namespace.c:1704
 do_syscall_64+0xfd/0x6a0 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45c257
Code: Bad RIP value.
RSP: 002b:00007ffe19a1ea08 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045c257
RDX: 0000000000403520 RSI: 0000000000000002 RDI: 00007ffe19a1eab0
RBP: 00000000000017ff R08: 0000000000000000 R09: 000000000000000d
R10: 0000000000000006 R11: 0000000000000202 R12: 00007ffe19a1fb40
R13: 0000555556790940 R14: 0000000000000000 R15: 00007ffe19a1fb40
INFO: task kworker/0:0:1750 blocked for more than 147 seconds.
      Not tainted 5.3.0-rc2+ #89
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/0:0     D27392  1750      2 0x80004000
Workqueue: events kernfs_notify_workfn
Call Trace:
 context_switch kernel/sched/core.c:3254 [inline]
 __schedule+0x755/0x1580 kernel/sched/core.c:3880
 schedule+0xa8/0x270 kernel/sched/core.c:3944
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4003
 __mutex_lock_common kernel/locking/mutex.c:1007 [inline]
 __mutex_lock+0x7b0/0x13c0 kernel/locking/mutex.c:1077
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1092
 kernfs_notify_workfn+0xe0/0x490 fs/kernfs/file.c:882
 process_one_work+0x9af/0x1740 kernel/workqueue.c:2269
 worker_thread+0x98/0xe40 kernel/workqueue.c:2415
 kthread+0x361/0x430 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
INFO: task udevd:5188 blocked for more than 147 seconds.
      Not tainted 5.3.0-rc2+ #89
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
udevd           D26040  5188   3906 0x00000000
Call Trace:
 context_switch kernel/sched/core.c:3254 [inline]
 __schedule+0x755/0x1580 kernel/sched/core.c:3880
 schedule+0xa8/0x270 kernel/sched/core.c:3944
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4003
 __mutex_lock_common kernel/locking/mutex.c:1007 [inline]
 __mutex_lock+0x7b0/0x13c0 kernel/locking/mutex.c:1077
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1092
 kernfs_iop_permission+0x66/0xb0 fs/kernfs/inode.c:283
 do_inode_permission fs/namei.c:384 [inline]
 inode_permission+0x36b/0x560 fs/namei.c:449
 may_lookup fs/namei.c:1700 [inline]
 link_path_walk.part.0+0x9fa/0x1340 fs/namei.c:2082
 link_path_walk fs/namei.c:2070 [inline]
 path_openat+0x202/0x4630 fs/namei.c:3532
 do_filp_open+0x1a1/0x280 fs/namei.c:3563
 do_sys_open+0x3fe/0x5d0 fs/open.c:1089
 __do_sys_open fs/open.c:1107 [inline]
 __se_sys_open fs/open.c:1102 [inline]
 __x64_sys_open+0x7e/0xc0 fs/open.c:1102
 do_syscall_64+0xfd/0x6a0 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f7c2e1cd120
Code: Bad RIP value.
RSP: 002b:00007fff18bb2b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0000000002548990 RCX: 00007f7c2e1cd120
RDX: 00000000000001b6 RSI: 0000000000080000 RDI: 00007fff18bb2c00

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/30 16:43 upstream 2a11c76e5301 f28bf2a5 .config console log report ci-upstream-kasan-gce-root
2019/07/27 16:29 upstream 3ea54d9b0d65 c85e1c5b .config console log report ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.