INFO: task hung in jbd2_journal_stop (2)

8 views
Skip to first unread message

syzbot

unread,
Jul 15, 2018, 9:39:04 AM7/15/18
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 9d2e34897d8d Merge tag 'arm64-fixes' of git://git.kernel.o..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=15d25978400000
kernel config: https://syzkaller.appspot.com/x/.config?x=25856fac4e580aa7
dashboard link: https://syzkaller.appspot.com/bug?extid=24dd41814f439ad52c41
compiler: gcc (GCC) 8.0.1 20180413 (experimental)
CC: [ja...@suse.com linux...@vger.kernel.org
linux-...@vger.kernel.org ty...@mit.edu]

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+24dd41...@syzkaller.appspotmail.com

INFO: task syz-executor3:4568 blocked for more than 140 seconds.
Not tainted 4.18.0-rc4+ #145
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor3 D18664 4568 1 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2853 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3501
schedule+0xfb/0x450 kernel/sched/core.c:3545
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1777
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_unlink+0x84a/0x11f0 fs/ext4/namei.c:3046
vfs_unlink+0x2db/0x510 fs/namei.c:4010
do_unlinkat+0x6cc/0xa30 fs/namei.c:4073
__do_sys_unlink fs/namei.c:4120 [inline]
__se_sys_unlink fs/namei.c:4118 [inline]
__x64_sys_unlink+0x42/0x50 fs/namei.c:4118
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455807
Code: d0 75 6c 48 8b 9c 24 10 01 00 00 48 89 1c 24 48 89 54 24 08 48 89 4c
24 10 48 89 44 24 18 e8 20 67 00 00 0f b6 44 24 20 84 c0 <74> 43 48 8b 84
24 80 00 00 00 48 8b 8c 24 e0 00 00 00 48 8b 4c c1
RSP: 002b:00007ffcc55f7028 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000455807
RDX: 00007ffcc55f7030 RSI: 00007ffcc55f70c0 RDI: 00007ffcc55f70c0
RBP: 00007ffcc55f8dd0 R08: 0000000000000000 R09: 000000000000000c
R10: 0000000000000006 R11: 0000000000000206 R12: 00000000014e1940
R13: 0000000000000000 R14: 00007ffcc55f87a0 R15: 0000000000702140
INFO: task syz-executor7:4569 blocked for more than 140 seconds.
Not tainted 4.18.0-rc4+ #145
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor7 D18664 4569 1 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2853 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3501
schedule+0xfb/0x450 kernel/sched/core.c:3545
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1777
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_unlink+0x84a/0x11f0 fs/ext4/namei.c:3046
vfs_unlink+0x2db/0x510 fs/namei.c:4010
do_unlinkat+0x6cc/0xa30 fs/namei.c:4073
__do_sys_unlink fs/namei.c:4120 [inline]
__se_sys_unlink fs/namei.c:4118 [inline]
__x64_sys_unlink+0x42/0x50 fs/namei.c:4118
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455807
Code: d0 75 6c 48 8b 9c 24 10 01 00 00 48 89 1c 24 48 89 54 24 08 48 89 4c
24 10 48 89 44 24 18 e8 20 67 00 00 0f b6 44 24 20 84 c0 <74> 43 48 8b 84
24 80 00 00 00 48 8b 8c 24 e0 00 00 00 48 8b 4c c1
RSP: 002b:00007ffdad1b1098 EFLAGS: 00000202 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000455807
RDX: 00007ffdad1b10a0 RSI: 00007ffdad1b1130 RDI: 00007ffdad1b1130
RBP: 00007ffdad1b2e40 R08: 0000000000000000 R09: 0000000000000010
R10: 000000000000000a R11: 0000000000000202 R12: 00000000020f0940
R13: 0000000000000000 R14: 00007ffdad1b2810 R15: 0000000000702140
INFO: task syz-executor6:4572 blocked for more than 140 seconds.
Not tainted 4.18.0-rc4+ #145
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor6 D20200 4572 1 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2853 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3501
schedule+0xfb/0x450 kernel/sched/core.c:3545
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1777
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_evict_inode+0xc54/0x1ac0 fs/ext4/inode.c:334
evict+0x4ae/0x990 fs/inode.c:558
iput_final fs/inode.c:1506 [inline]
iput+0x635/0xaa0 fs/inode.c:1532
do_unlinkat+0x733/0xa30 fs/namei.c:4079
__do_sys_unlink fs/namei.c:4120 [inline]
__se_sys_unlink fs/namei.c:4118 [inline]
__x64_sys_unlink+0x42/0x50 fs/namei.c:4118
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455807
Code: d0 75 6c 48 8b 9c 24 10 01 00 00 48 89 1c 24 48 89 54 24 08 48 89 4c
24 10 48 89 44 24 18 e8 20 67 00 00 0f b6 44 24 20 84 c0 <74> 43 48 8b 84
24 80 00 00 00 48 8b 8c 24 e0 00 00 00 48 8b 4c c1
RSP: 002b:00007ffecf9466c8 EFLAGS: 00000202 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000455807
RDX: 00007ffecf9466d0 RSI: 00007ffecf946760 RDI: 00007ffecf946760
RBP: 00007ffecf948470 R08: 0000000000000000 R09: 000000000000000c
R10: 0000000000000006 R11: 0000000000000202 R12: 00000000024d9940
R13: 0000000000000000 R14: 00007ffecf947e40 R15: 0000000000702140
INFO: task syz-executor2:7983 blocked for more than 140 seconds.
Not tainted 4.18.0-rc4+ #145
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor2 D21232 7983 1 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2853 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3501
schedule+0xfb/0x450 kernel/sched/core.c:3545
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1777
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_evict_inode+0xc54/0x1ac0 fs/ext4/inode.c:334
evict+0x4ae/0x990 fs/inode.c:558
iput_final fs/inode.c:1506 [inline]
iput+0x635/0xaa0 fs/inode.c:1532
do_unlinkat+0x733/0xa30 fs/namei.c:4079
__do_sys_unlink fs/namei.c:4120 [inline]
__se_sys_unlink fs/namei.c:4118 [inline]
__x64_sys_unlink+0x42/0x50 fs/namei.c:4118
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455807
Code: d0 75 6c 48 8b 9c 24 10 01 00 00 48 89 1c 24 48 89 54 24 08 48 89 4c
24 10 48 89 44 24 18 e8 20 67 00 00 0f b6 44 24 20 84 c0 <74> 43 48 8b 84
24 80 00 00 00 48 8b 8c 24 e0 00 00 00 48 8b 4c c1
RSP: 002b:00007fff9b3adcf8 EFLAGS: 00000202 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000455807
RDX: 00007fff9b3add00 RSI: 00007fff9b3add90 RDI: 00007fff9b3add90
RBP: 00007fff9b3afaa0 R08: 0000000000000000 R09: 0000000000000010
R10: 000000000000000a R11: 0000000000000202 R12: 00000000020c4940
R13: 0000000000000000 R14: 00007fff9b3af470 R15: 0000000000702140
INFO: task syz-executor1:8947 blocked for more than 140 seconds.
Not tainted 4.18.0-rc4+ #145
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor1 D18664 8947 1 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2853 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3501
schedule+0xfb/0x450 kernel/sched/core.c:3545
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1777
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_unlink+0x84a/0x11f0 fs/ext4/namei.c:3046
vfs_unlink+0x2db/0x510 fs/namei.c:4010
do_unlinkat+0x6cc/0xa30 fs/namei.c:4073
__do_sys_unlink fs/namei.c:4120 [inline]
__se_sys_unlink fs/namei.c:4118 [inline]
__x64_sys_unlink+0x42/0x50 fs/namei.c:4118
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455807
Code: d0 75 6c 48 8b 9c 24 10 01 00 00 48 89 1c 24 48 89 54 24 08 48 89 4c
24 10 48 89 44 24 18 e8 20 67 00 00 0f b6 44 24 20 84 c0 <74> 43 48 8b 84
24 80 00 00 00 48 8b 8c 24 e0 00 00 00 48 8b 4c c1
RSP: 002b:00007fffdae5b9b8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000455807
RDX: 00007fffdae5b9c0 RSI: 00007fffdae5ba50 RDI: 00007fffdae5ba50
RBP: 00007fffdae5d760 R08: 0000000000000000 R09: 0000000000000010
R10: 000000000000000a R11: 0000000000000206 R12: 00000000012ae940
R13: 0000000000000000 R14: 00007fffdae5d130 R15: 0000000000702140
INFO: task syz-executor5:16717 blocked for more than 140 seconds.
Not tainted 4.18.0-rc4+ #145
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor5 D23544 16717 4570 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2853 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3501
schedule+0xfb/0x450 kernel/sched/core.c:3545
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1777
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_create+0x473/0x640 fs/ext4/namei.c:2458
lookup_open+0x13eb/0x1b40 fs/namei.c:3220
do_last fs/namei.c:3311 [inline]
path_openat+0x1343/0x4e10 fs/namei.c:3540
do_filp_open+0x255/0x380 fs/namei.c:3574
do_sys_open+0x584/0x760 fs/open.c:1101
ksys_open include/linux/syscalls.h:1274 [inline]
__do_sys_creat fs/open.c:1159 [inline]
__se_sys_creat fs/open.c:1157 [inline]
__x64_sys_creat+0x61/0x80 fs/open.c:1157
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455ab9
Code: e0 1f 48 89 04 24 e8 b6 6f fd ff e8 81 6a fd ff e8 5c 68 fd ff 48 8d
05 92 9a 48 00 48 89 04 24 48 c7 44 24 08 1d 00 00 00 e8 <13> 5e fd ff 0f
0b e8 8c 44 00 00 e9 07 f0 ff ff cc cc cc cc cc cc
RSP: 002b:00007f032c221c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f032c2226d4 RCX: 0000000000455ab9
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000200000c0
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004bb9a6 R14: 00000000004c8f68 R15: 0000000000000000
INFO: task syz-executor5:16735 blocked for more than 140 seconds.
Not tainted 4.18.0-rc4+ #145
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor5 D22984 16735 4570 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2853 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3501
schedule+0xfb/0x450 kernel/sched/core.c:3545
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1777
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_xattr_set+0x25c/0x420 fs/ext4/xattr.c:2504
ext4_xattr_user_set+0xbe/0x100 fs/ext4/xattr_user.c:40
__vfs_setxattr+0x124/0x190 fs/xattr.c:150
__vfs_setxattr_noperm+0x11d/0x410 fs/xattr.c:181
vfs_setxattr+0xd8/0x100 fs/xattr.c:224
setxattr+0x2ea/0x450 fs/xattr.c:451
path_setxattr+0x1e3/0x230 fs/xattr.c:470
__do_sys_lsetxattr fs/xattr.c:492 [inline]
__se_sys_lsetxattr fs/xattr.c:488 [inline]
__x64_sys_lsetxattr+0xc1/0x150 fs/xattr.c:488
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455ab9
Code: e0 1f 48 89 04 24 e8 b6 6f fd ff e8 81 6a fd ff e8 5c 68 fd ff 48 8d
05 92 9a 48 00 48 89 04 24 48 c7 44 24 08 1d 00 00 00 e8 <13> 5e fd ff 0f
0b e8 8c 44 00 00 e9 07 f0 ff ff cc cc cc cc cc cc
RSP: 002b:00007f032c200c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007f032c2016d4 RCX: 0000000000455ab9
RDX: 00000000200003c0 RSI: 0000000020000000 RDI: 0000000020000200
RBP: 000000000072bf48 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000053 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004c00f0 R14: 00000000004cfbe0 R15: 0000000000000001
INFO: task syz-executor4:16719 blocked for more than 140 seconds.
Not tainted 4.18.0-rc4+ #145
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor4 D23496 16719 4571 0x00000000
Call Trace:
context_switch kernel/sched/core.c:2853 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3501
schedule+0xfb/0x450 kernel/sched/core.c:3545
schedule_timeout+0x1cc/0x260 kernel/time/timer.c:1777
do_wait_for_common kernel/sched/completion.c:83 [inline]
__wait_for_common kernel/sched/completion.c:104 [inline]
wait_for_common kernel/sched/completion.c:115 [inline]
wait_for_completion+0x430/0x8d0 kernel/sched/completion.c:136
__synchronize_srcu+0x189/0x240 kernel/rcu/srcutree.c:928
synchronize_srcu_expedited+0x18/0x20 kernel/rcu/srcutree.c:953
install_new_memslots+0x20a/0x4b0
arch/x86/kvm/../../../virt/kvm/kvm_main.c:879
__kvm_set_memory_region+0x1be6/0x2e60
arch/x86/kvm/../../../virt/kvm/kvm_main.c:1054
kvm_set_memory_region+0x2e/0x50
arch/x86/kvm/../../../virt/kvm/kvm_main.c:1077
kvm_vm_ioctl_set_memory_region
arch/x86/kvm/../../../virt/kvm/kvm_main.c:1089 [inline]
kvm_vm_ioctl+0x664/0x1d80 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2977
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:500 [inline]
do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:684
ksys_ioctl+0xa9/0xd0 fs/ioctl.c:701
__do_sys_ioctl fs/ioctl.c:708 [inline]
__se_sys_ioctl fs/ioctl.c:706 [inline]
__x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:706
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455927
Code: 01 00 00 c3 48 85 c9 74 05 48 85 c0 75 18 c6 84 24 60 01 00 00 00 48
8b ac 24 38 01 00 00 48 81 c4 40 01 00 00 c3 48 89 84 24 <a8> 00 00 00 8b
01 89 44 24 08 48 8b 84 24 48 01 00 00 48 89 04 24
RSP: 002b:00007f6b7cbe1098 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000018 RCX: 0000000000455927
RDX: 00007f6b7cbe1530 RSI: 000000004020ae46 RDI: 0000000000000017
RBP: 0000000020017000 R08: 0aaaaaaaaaaaa84c R09: 0000000000000000
R10: 0000000000000017 R11: 0000000000000246 R12: 00000000fec00000
R13: 0000000000000017 R14: 00000000004d3c18 R15: 0000000000000000

Showing all locks held in the system:
1 lock held by khungtaskd/901:
#0: 000000002fafd708 (rcu_read_lock){....}, at:
debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4461
1 lock held by rsyslogd/4430:
2 locks held by getty/4520:
#0: 00000000e25d4f97 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 000000003beb44f5 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4521:
#0: 000000006e625a2c (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 000000008ed1f890 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4522:
#0: 00000000206e9c46 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 00000000d9d266e6 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4523:
#0: 00000000400d0a7a (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 000000000697f5d2 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4524:
#0: 0000000003f946fb (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 000000006461ca95 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4525:
#0: 00000000bf0131ae (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 0000000033d6b50c (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4526:
#0: 000000008fc59ce6 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 00000000c0bbdb0c (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
3 locks held by syz-executor3/4568:
#0: 00000000086751fc (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 00000000086751fc (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 00000000b1643626 (&type->i_mutex_dir_key/1){+.+.}, at:
inode_lock_nested include/linux/fs.h:750 [inline]
#1: 00000000b1643626 (&type->i_mutex_dir_key/1){+.+.}, at:
do_unlinkat+0x3d8/0xa30 fs/namei.c:4059
#2: 000000006f1ae7d1 (&sb->s_type->i_mutex_key#12){++++}, at: inode_lock
include/linux/fs.h:715 [inline]
#2: 000000006f1ae7d1 (&sb->s_type->i_mutex_key#12){++++}, at:
vfs_unlink+0xd1/0x510 fs/namei.c:4001
3 locks held by syz-executor7/4569:
#0: 00000000086751fc (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 00000000086751fc (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 00000000e74f2062 (&type->i_mutex_dir_key/1){+.+.}, at:
inode_lock_nested include/linux/fs.h:750 [inline]
#1: 00000000e74f2062 (&type->i_mutex_dir_key/1){+.+.}, at:
do_unlinkat+0x3d8/0xa30 fs/namei.c:4059
#2: 00000000e5b35ebb (&sb->s_type->i_mutex_key#12){++++}, at: inode_lock
include/linux/fs.h:715 [inline]
#2: 00000000e5b35ebb (&sb->s_type->i_mutex_key#12){++++}, at:
vfs_unlink+0xd1/0x510 fs/namei.c:4001
2 locks held by syz-executor6/4572:
#0: 00000000086751fc (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 00000000086751fc (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 00000000e1300b6a (sb_internal){.+.+}, at: sb_start_intwrite
include/linux/fs.h:1601 [inline]
#1: 00000000e1300b6a (sb_internal){.+.+}, at:
ext4_evict_inode+0x73d/0x1ac0 fs/ext4/inode.c:250
2 locks held by syz-executor2/7983:
#0: 00000000086751fc (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 00000000086751fc (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 00000000e1300b6a (sb_internal){.+.+}, at: sb_start_intwrite
include/linux/fs.h:1601 [inline]
#1: 00000000e1300b6a (sb_internal){.+.+}, at:
ext4_evict_inode+0x73d/0x1ac0 fs/ext4/inode.c:250
3 locks held by syz-executor1/8947:
#0: 00000000086751fc (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 00000000086751fc (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 00000000aed69f83 (&type->i_mutex_dir_key/1){+.+.}, at:
inode_lock_nested include/linux/fs.h:750 [inline]
#1: 00000000aed69f83 (&type->i_mutex_dir_key/1){+.+.}, at:
do_unlinkat+0x3d8/0xa30 fs/namei.c:4059
#2: 00000000fe2fe083 (&sb->s_type->i_mutex_key#12){++++}, at: inode_lock
include/linux/fs.h:715 [inline]
#2: 00000000fe2fe083 (&sb->s_type->i_mutex_key#12){++++}, at:
vfs_unlink+0xd1/0x510 fs/namei.c:4001
3 locks held by syz-executor0/12603:
#0: 00000000086751fc (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 00000000086751fc (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 0000000080200205 (&type->i_mutex_dir_key/1){+.+.}, at:
inode_lock_nested include/linux/fs.h:750 [inline]
#1: 0000000080200205 (&type->i_mutex_dir_key/1){+.+.}, at:
do_unlinkat+0x3d8/0xa30 fs/namei.c:4059
#2: 000000003458ac72 (&sb->s_type->i_mutex_key#12){++++}, at: inode_lock
include/linux/fs.h:715 [inline]
#2: 000000003458ac72 (&sb->s_type->i_mutex_key#12){++++}, at:
vfs_unlink+0xd1/0x510 fs/namei.c:4001
2 locks held by syz-executor5/16717:
#0: 00000000086751fc (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 00000000086751fc (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 000000008dcf6afc (&type->i_mutex_dir_key){++++}, at: inode_lock
include/linux/fs.h:715 [inline]
#1: 000000008dcf6afc (&type->i_mutex_dir_key){++++}, at: do_last
fs/namei.c:3308 [inline]
#1: 000000008dcf6afc (&type->i_mutex_dir_key){++++}, at:
path_openat+0x1316/0x4e10 fs/namei.c:3540
2 locks held by syz-executor5/16735:
#0: 00000000086751fc (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 00000000086751fc (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 00000000647306ad (&sb->s_type->i_mutex_key#12){++++}, at: inode_lock
include/linux/fs.h:715 [inline]
#1: 00000000647306ad (&sb->s_type->i_mutex_key#12){++++}, at:
vfs_setxattr+0x96/0x100 fs/xattr.c:219
1 lock held by syz-executor4/16719:
#0: 00000000c8a9113a (&kvm->slots_lock){+.+.}, at:
kvm_set_memory_region+0x23/0x50
arch/x86/kvm/../../../virt/kvm/kvm_main.c:1076
1 lock held by syz-executor4/16721:

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

NMI backtrace for cpu 1
CPU: 1 PID: 901 Comm: khungtaskd Not tainted 4.18.0-rc4+ #145
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+0x1c9/0x2b4 lib/dump_stack.c:113
nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103
nmi_trigger_cpumask_backtrace+0x151/0x192 lib/nmi_backtrace.c:62
arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline]
watchdog+0x9c4/0xf80 kernel/hung_task.c:252
kthread+0x345/0x410 kernel/kthread.c:246
ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 16721 Comm: syz-executor4 Not tainted 4.18.0-rc4+ #145
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:vmx_complete_atomic_exit arch/x86/kvm/vmx.c:9723 [inline]
RIP: 0010:vmx_vcpu_run+0x1c7a/0x2600 arch/x86/kvm/vmx.c:10219
Code: bf 00 02 00 80 e8 36 bc 5c 00 41 81 ff 00 02 00 80 0f 85 93 01 00 00
e8 14 bb 5c 00 48 8b 04 24 65 48 89 05 38 80 e2 7e cd 02 <48> b8 00 00 00
00 00 fc ff df 48 89 da 48 c1 ea 03 65 48 c7 05 19
RSP: 0018:ffff88019e5ef370 EFLAGS: 00000046
RAX: ffff8801d2f70480 RBX: ffff8801d2f75b10 RCX: ffffc90004e24000
RDX: 0000000000040000 RSI: ffffffff811f508c RDI: 0000000000000005
RBP: ffff88019e5ef840 R08: ffff88019b5d63c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000080000202
R13: 0000000000000000 R14: 0000000080000202 R15: 0000000080000200
FS: 00007f6b7cba1700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001d800c000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
vcpu_run arch/x86/kvm/x86.c:7585 [inline]
kvm_arch_vcpu_ioctl_run+0x33e/0x1690 arch/x86/kvm/x86.c:7762
kvm_vcpu_ioctl+0x7b8/0x1300 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2580
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:500 [inline]
do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:684
ksys_ioctl+0xa9/0xd0 fs/ioctl.c:701
__do_sys_ioctl fs/ioctl.c:708 [inline]
__se_sys_ioctl fs/ioctl.c:706 [inline]
__x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:706
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455ab9
Code: 1d ba 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 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f6b7cba0c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f6b7cba16d4 RCX: 0000000000455ab9
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000015
RBP: 000000000072bff0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004bdc94 R14: 00000000004cc6d0 R15: 0000000000000002


---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with
syzbot.

syzbot

unread,
Feb 22, 2019, 5:34:26 AM2/22/19
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages