Hello,
syzbot found the following issue on:
HEAD commit: d7a03a44 Add linux-next specific files for 20201223
git tree: linux-next
console output:
https://syzkaller.appspot.com/x/log.txt?x=1045efb7500000
kernel config:
https://syzkaller.appspot.com/x/.config?x=cef3a83fd396e47
dashboard link:
https://syzkaller.appspot.com/bug?extid=b6d43a9b22942a1ff95d
compiler: gcc (GCC) 10.1.0-syz 20200507
CC: [
linux-...@vger.kernel.org linux-...@vger.kernel.org vi...@zeniv.linux.org.uk]
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+b6d43a...@syzkaller.appspotmail.com
INFO: task syz-executor.3:11054 can't die for more than 143 seconds.
task:syz-executor.3 state:R running task stack:27096 pid:11054 ppid: 8469 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:4327 [inline]
__schedule+0x8cd/0x2150 kernel/sched/core.c:5078
preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:5238
preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:40
__raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline]
_raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:183
spin_unlock include/linux/spinlock.h:394 [inline]
ilookup5_nowait+0x7e/0xb0 fs/inode.c:1335
ilookup5 fs/inode.c:1363 [inline]
iget5_locked+0x41/0x220 fs/inode.c:1144
fuse_iget+0x271/0x610 fs/fuse/inode.c:342
fuse_lookup_name+0x447/0x630 fs/fuse/dir.c:439
fuse_lookup.part.0+0xdf/0x390 fs/fuse/dir.c:469
fuse_lookup+0x70/0x90 fs/fuse/dir.c:465
__lookup_slow+0x24c/0x480 fs/namei.c:1544
lookup_slow fs/namei.c:1561 [inline]
walk_component+0x418/0x6a0 fs/namei.c:1861
lookup_last fs/namei.c:2312 [inline]
path_lookupat+0x1ba/0x830 fs/namei.c:2336
filename_lookup+0x19f/0x560 fs/namei.c:2369
user_path_at include/linux/namei.h:59 [inline]
vfs_statx+0x142/0x390 fs/stat.c:185
vfs_fstatat fs/stat.c:207 [inline]
vfs_stat include/linux/fs.h:3118 [inline]
__do_sys_newstat+0x91/0x110 fs/stat.c:349
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e299
RSP: 002b:00007f703caaac68 EFLAGS: 00000246 ORIG_RAX: 0000000000000004
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 000000000045e299
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000bc0
RBP: 000000000119bfb8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffd4b894e8f R14: 00007f703caab9c0 R15: 000000000119bf8c
INFO: task syz-executor.3:11060 can't die for more than 143 seconds.
task:syz-executor.3 state:D stack:27224 pid:11060 ppid: 8469 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4327 [inline]
__schedule+0x8cd/0x2150 kernel/sched/core.c:5078
schedule+0xcf/0x270 kernel/sched/core.c:5157
rwsem_down_write_slowpath+0x7e5/0x1200 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+0x132/0x150 kernel/locking/rwsem.c:1407
inode_lock include/linux/fs.h:773 [inline]
lock_mount+0x8a/0x2e0 fs/namespace.c:2214
do_new_mount_fc fs/namespace.c:2842 [inline]
do_new_mount fs/namespace.c:2901 [inline]
path_mount+0x1678/0x1e70 fs/namespace.c:3230
do_mount fs/namespace.c:3243 [inline]
__do_sys_mount fs/namespace.c:3451 [inline]
__se_sys_mount fs/namespace.c:3428 [inline]
__x64_sys_mount+0x27f/0x300 fs/namespace.c:3428
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e299
RSP: 002b:00007f703ca89c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e299
RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000
RBP: 000000000119c078 R08: 0000000020002140 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034
R13: 00007ffd4b894e8f R14: 00007f703ca8a9c0 R15: 000000000119c034
INFO: task syz-executor.3:11060 blocked for more than 144 seconds.
Not tainted 5.10.0-next-20201223-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:27224 pid:11060 ppid: 8469 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4327 [inline]
__schedule+0x8cd/0x2150 kernel/sched/core.c:5078
schedule+0xcf/0x270 kernel/sched/core.c:5157
rwsem_down_write_slowpath+0x7e5/0x1200 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+0x132/0x150 kernel/locking/rwsem.c:1407
inode_lock include/linux/fs.h:773 [inline]
lock_mount+0x8a/0x2e0 fs/namespace.c:2214
do_new_mount_fc fs/namespace.c:2842 [inline]
do_new_mount fs/namespace.c:2901 [inline]
path_mount+0x1678/0x1e70 fs/namespace.c:3230
do_mount fs/namespace.c:3243 [inline]
__do_sys_mount fs/namespace.c:3451 [inline]
__se_sys_mount fs/namespace.c:3428 [inline]
__x64_sys_mount+0x27f/0x300 fs/namespace.c:3428
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e299
RSP: 002b:00007f703ca89c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e299
RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000
RBP: 000000000119c078 R08: 0000000020002140 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034
R13: 00007ffd4b894e8f R14: 00007f703ca8a9c0 R15: 000000000119c034
Showing all locks held in the system:
1 lock held by khungtaskd/1661:
#0: ffffffff8b363660 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6254
1 lock held by in:imklog/8165:
#0: ffff88801ba91270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:949
2 locks held by syz-executor.3/11054:
1 lock held by syz-executor.3/11060:
#0: ffff8880770c0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline]
#0: ffff8880770c0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2214
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 1661 Comm: khungtaskd Not tainted 5.10.0-next-20201223-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:79 [inline]
dump_stack+0x107/0x163 lib/dump_stack.c:120
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:147 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:253 [inline]
watchdog+0xd89/0xf30 kernel/hung_task.c:338
kthread+0x3b1/0x4a0 kernel/kthread.c:292
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 11054 Comm: syz-executor.3 Not tainted 5.10.0-next-20201223-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__lock_acquire+0xd47/0x5500 kernel/locking/lockdep.c:4836
Code: 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 04 02 84 c0 74 0d 3c 03 7f 09 48 8b 3c 24 e8 cf e7 5c 00 8b 85 88 09 00 00 <83> c0 01 83 f8 2f 89 85 88 09 00 00 0f 87 a7 0b 00 00 3b 05 41 db
RSP: 0018:ffffc90001ddf280 EFLAGS: 00000046
RAX: 0000000000000002 RBX: ffffffff8e6414e0 RCX: 0000000000000001
RDX: 1ffff11004020831 RSI: 0000000000000008 RDI: ffffffff8e6414f8
RBP: ffff888020103800 R08: 0000000000000000 R09: ffffffff8ebdd7f7
R10: fffffbfff1d7bafe R11: 0000000000000000 R12: ffff8880201041e0
R13: dffffc0000000000 R14: 0290a81d74a2d975 R15: 0000000000000000
FS: 00007f703caab700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbe20789008 CR3: 0000000029459000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire kernel/locking/lockdep.c:5437 [inline]
lock_acquire+0x29d/0x740 kernel/locking/lockdep.c:5402
__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151
spin_lock include/linux/spinlock.h:354 [inline]
ilookup5_nowait+0x5e/0xb0 fs/inode.c:1333
ilookup5 fs/inode.c:1363 [inline]
iget5_locked+0x41/0x220 fs/inode.c:1144
fuse_iget+0x271/0x610 fs/fuse/inode.c:342
fuse_lookup_name+0x447/0x630 fs/fuse/dir.c:439
fuse_lookup.part.0+0xdf/0x390 fs/fuse/dir.c:469
fuse_lookup+0x70/0x90 fs/fuse/dir.c:465
__lookup_slow+0x24c/0x480 fs/namei.c:1544
lookup_slow fs/namei.c:1561 [inline]
walk_component+0x418/0x6a0 fs/namei.c:1861
lookup_last fs/namei.c:2312 [inline]
path_lookupat+0x1ba/0x830 fs/namei.c:2336
filename_lookup+0x19f/0x560 fs/namei.c:2369
user_path_at include/linux/namei.h:59 [inline]
vfs_statx+0x142/0x390 fs/stat.c:185
vfs_fstatat fs/stat.c:207 [inline]
vfs_stat include/linux/fs.h:3118 [inline]
__do_sys_newstat+0x91/0x110 fs/stat.c:349
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e299
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f703caaac68 EFLAGS: 00000246 ORIG_RAX: 0000000000000004
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 000000000045e299
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000bc0
RBP: 000000000119bfb8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffd4b894e8f R14: 00007f703caab9c0 R15: 000000000119bf8c
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.