INFO: task hung in lock_rename
From: cruise k
Date: Mon Jan 10 2022 - 21:11:11 EST
Hi,
Syzkaller found the following issue:
HEAD commit: 75acfdb Linux 5.16-rc8
git tree: upstream
console output: https://pastebin.com/raw/yWmdPX93
kernel config: https://pastebin.com/raw/XsnKfdRt
And hope the report log can help you.
INFO: task syz-executor.8:28108 blocked for more than 143 seconds.
Not tainted 5.16.0-rc8+ #10
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.8 state:D stack:28384 pid:28108 ppid: 6926 flags:0x00000004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xcd9/0x2550 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
rwsem_down_write_slowpath+0x664/0x1190 kernel/locking/rwsem.c:1151
__down_write_common kernel/locking/rwsem.c:1268 [inline]
__down_write_common kernel/locking/rwsem.c:1265 [inline]
__down_write kernel/locking/rwsem.c:1277 [inline]
down_write_nested+0x139/0x150 kernel/locking/rwsem.c:1634
inode_lock_nested include/linux/fs.h:818 [inline]
lock_rename+0x225/0x280 fs/namei.c:2915
do_renameat2+0x486/0xbe0 fs/namei.c:4718
__do_sys_renameat fs/namei.c:4817 [inline]
__se_sys_renameat fs/namei.c:4814 [inline]
__x64_sys_renameat+0xbf/0xf0 fs/namei.c:4814
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:0x7f2adfe6689d
RSP: 002b:00007f2ade7b6c28 EFLAGS: 00000246 ORIG_RAX: 0000000000000108
RAX: ffffffffffffffda RBX: 00007f2adff86030 RCX: 00007f2adfe6689d
RDX: 0000000000000003 RSI: 0000000020000140 RDI: 0000000000000005
RBP: 00007f2adfed300d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000a00 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe3cfabf3f R14: 00007f2adff86030 R15: 00007f2ade7b6dc0
</TASK>