INFO: task hung in jbd2_complete_transaction

29 views
Skip to first unread message

syzbot

unread,
Jun 21, 2018, 8:49:03 AM6/21/18
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 81e97f01371f Merge branch 'for-linus' of git://git.kernel...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=124d8ae4400000
kernel config: https://syzkaller.appspot.com/x/.config?x=befbcd7305e41bb0
dashboard link: https://syzkaller.appspot.com/bug?extid=f1259968f33a1416e59d
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+f12599...@syzkaller.appspotmail.com

device ifb0 entered promiscuous mode
INFO: task rs:main Q:Reg:4382 blocked for more than 120 seconds.
Not tainted 4.18.0-rc1+ #110
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
rs:main Q:Reg D17768 4382 1 0x00000000
Call Trace:
context_switch kernel/sched/core.c:2862 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3504
schedule+0xfb/0x450 kernel/sched/core.c:3548
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_complete_transaction+0x188/0x1f0 fs/jbd2/journal.c:781
ext4_sync_file+0x11f6/0x1490 fs/ext4/fsync.c:154
vfs_fsync_range+0x140/0x220 fs/sync.c:197
generic_write_sync include/linux/fs.h:2710 [inline]
ext4_file_write_iter+0x6a3/0x1430 fs/ext4/file.c:270
call_write_iter include/linux/fs.h:1795 [inline]
new_sync_write fs/read_write.c:474 [inline]
__vfs_write+0x6c6/0x9f0 fs/read_write.c:487
vfs_write+0x1f8/0x560 fs/read_write.c:549
ksys_write+0x101/0x260 fs/read_write.c:598
__do_sys_write fs/read_write.c:610 [inline]
__se_sys_write fs/read_write.c:607 [inline]
__x64_sys_write+0x73/0xb0 fs/read_write.c:607
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f091221719d
Code: Bad RIP value.
RSP: 002b:00007f09107b8000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000056 RCX: 00007f091221719d
RDX: 0000000000000056 RSI: 00000000006b7a90 RDI: 0000000000000005
RBP: 00000000006b7a90 R08: 00000000006b7a90 R09: 2065636976656420
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007f09107b8480 R14: 0000000000000001 R15: 00000000006b7890
INFO: task syz-executor2:4522 blocked for more than 120 seconds.
Not tainted 4.18.0-rc1+ #110
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor2 D21224 4522 1 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2862 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3504
schedule+0xfb/0x450 kernel/sched/core.c:3548
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1770
__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:0x455877
Code: 84 24 60 01 00 00 00 48 8b ac 24 38 01 00 00 48 81 c4 40 01 00 00 c3
c6 84 24 60 01 00 00 00 48 8b ac 24 38 01 00 00 48 81 c4 <40> 01 00 00 c3
c6 84 24 60 01 00 00 00 48 8b ac 24 38 01 00 00 48
RSP: 002b:00007ffcfef51e18 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000455877
RDX: 0000000000ea099b RSI: 00007ffcfef51eb0 RDI: 00007ffcfef51eb0
RBP: 00007ffcfef53bc0 R08: 0000000000000000 R09: 000000000000000f
R10: 000000000000000a R11: 0000000000000206 R12: 0000000000ea0940
R13: 0000000000000000 R14: 000000000000021c R15: 000000000001dc39
INFO: task syz-executor4:10179 blocked for more than 120 seconds.
Not tainted 4.18.0-rc1+ #110
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor4 D26296 10179 4527 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2862 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3504
schedule+0xfb/0x450 kernel/sched/core.c:3548
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1770
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_symlink+0x8ab/0x1170 fs/ext4/namei.c:3166
vfs_symlink+0x37a/0x5d0 fs/namei.c:4137
do_symlinkat+0x242/0x2d0 fs/namei.c:4164
__do_sys_symlink fs/namei.c:4183 [inline]
__se_sys_symlink fs/namei.c:4181 [inline]
__x64_sys_symlink+0x59/0x80 fs/namei.c:4181
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455857
Code: c1 0f 84 74 fd ff ff c6 84 24 60 01 00 00 00 48 8b ac 24 38 01 00 00
48 81 c4 40 01 00 00 c3 c6 84 24 60 01 00 00 00 48 8b ac <24> 38 01 00 00
48 81 c4 40 01 00 00 c3 c6 84 24 60 01 00 00 00 48
RSP: 002b:00007fff55579328 EFLAGS: 00000217 ORIG_RAX: 0000000000000058
RAX: ffffffffffffffda RBX: 0000000000000051 RCX: 0000000000455857
RDX: 0000000000000000 RSI: 00000000004bafe2 RDI: 00007fff5557a020
RBP: 0000000000000013 R08: 0000000000000000 R09: 0000000002065940
R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000000013
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000001380
INFO: task syz-executor3:10180 blocked for more than 120 seconds.
Not tainted 4.18.0-rc1+ #110
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor3 D26296 10180 4524 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2862 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3504
schedule+0xfb/0x450 kernel/sched/core.c:3548
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1770
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_symlink+0x8ab/0x1170 fs/ext4/namei.c:3166
vfs_symlink+0x37a/0x5d0 fs/namei.c:4137
do_symlinkat+0x242/0x2d0 fs/namei.c:4164
__do_sys_symlink fs/namei.c:4183 [inline]
__se_sys_symlink fs/namei.c:4181 [inline]
__x64_sys_symlink+0x59/0x80 fs/namei.c:4181
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455857
Code: c1 0f 84 74 fd ff ff c6 84 24 60 01 00 00 00 48 8b ac 24 38 01 00 00
48 81 c4 40 01 00 00 c3 c6 84 24 60 01 00 00 00 48 8b ac <24> 38 01 00 00
48 81 c4 40 01 00 00 c3 c6 84 24 60 01 00 00 00 48
RSP: 002b:00007ffc70ad3c48 EFLAGS: 00000217 ORIG_RAX: 0000000000000058
RAX: ffffffffffffffda RBX: 0000000000000057 RCX: 0000000000455857
RDX: 0000000000000000 RSI: 00000000004bafe2 RDI: 00007ffc70ad4940
RBP: 0000000000000013 R08: 0000000000000000 R09: 0000000001d01940
R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000000013
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000001380
INFO: task syz-executor5:10181 blocked for more than 120 seconds.
Not tainted 4.18.0-rc1+ #110
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor5 D26296 10181 4525 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2862 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3504
schedule+0xfb/0x450 kernel/sched/core.c:3548
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1770
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_symlink+0x8ab/0x1170 fs/ext4/namei.c:3166
vfs_symlink+0x37a/0x5d0 fs/namei.c:4137
do_symlinkat+0x242/0x2d0 fs/namei.c:4164
__do_sys_symlink fs/namei.c:4183 [inline]
__se_sys_symlink fs/namei.c:4181 [inline]
__x64_sys_symlink+0x59/0x80 fs/namei.c:4181
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455857
Code: c1 0f 84 74 fd ff ff c6 84 24 60 01 00 00 00 48 8b ac 24 38 01 00 00
48 81 c4 40 01 00 00 c3 c6 84 24 60 01 00 00 00 48 8b ac <24> 38 01 00 00
48 81 c4 40 01 00 00 c3 c6 84 24 60 01 00 00 00 48
RSP: 002b:00007ffc5b9917e8 EFLAGS: 00000217 ORIG_RAX: 0000000000000058
RAX: ffffffffffffffda RBX: 000000000000005b RCX: 0000000000455857
RDX: 0000000000000000 RSI: 00000000004bafe2 RDI: 00007ffc5b9924e0
RBP: 0000000000000013 R08: 0000000000000000 R09: 0000000000cde940
R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000000013
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000001380
INFO: task syz-executor1:10182 blocked for more than 120 seconds.
Not tainted 4.18.0-rc1+ #110
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor1 D26296 10182 4521 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2862 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3504
schedule+0xfb/0x450 kernel/sched/core.c:3548
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1770
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_symlink+0x8ab/0x1170 fs/ext4/namei.c:3166
vfs_symlink+0x37a/0x5d0 fs/namei.c:4137
do_symlinkat+0x242/0x2d0 fs/namei.c:4164
__do_sys_symlink fs/namei.c:4183 [inline]
__se_sys_symlink fs/namei.c:4181 [inline]
__x64_sys_symlink+0x59/0x80 fs/namei.c:4181
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455857
Code: c1 0f 84 74 fd ff ff c6 84 24 60 01 00 00 00 48 8b ac 24 38 01 00 00
48 81 c4 40 01 00 00 c3 c6 84 24 60 01 00 00 00 48 8b ac <24> 38 01 00 00
48 81 c4 40 01 00 00 c3 c6 84 24 60 01 00 00 00 48
RSP: 002b:00007ffcdff67c68 EFLAGS: 00000217 ORIG_RAX: 0000000000000058
RAX: ffffffffffffffda RBX: 0000000000000058 RCX: 0000000000455857
RDX: 0000000000000000 RSI: 00000000004bafe2 RDI: 00007ffcdff68960
RBP: 0000000000000013 R08: 0000000000000000 R09: 00000000013b0940
R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000000013
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000001380
INFO: task syz-executor7:10183 blocked for more than 120 seconds.
Not tainted 4.18.0-rc1+ #110
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor7 D26296 10183 4523 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2862 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3504
schedule+0xfb/0x450 kernel/sched/core.c:3548
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1770
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_symlink+0x8ab/0x1170 fs/ext4/namei.c:3166
vfs_symlink+0x37a/0x5d0 fs/namei.c:4137
do_symlinkat+0x242/0x2d0 fs/namei.c:4164
__do_sys_symlink fs/namei.c:4183 [inline]
__se_sys_symlink fs/namei.c:4181 [inline]
__x64_sys_symlink+0x59/0x80 fs/namei.c:4181
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455857
Code: c1 0f 84 74 fd ff ff c6 84 24 60 01 00 00 00 48 8b ac 24 38 01 00 00
48 81 c4 40 01 00 00 c3 c6 84 24 60 01 00 00 00 48 8b ac <24> 38 01 00 00
48 81 c4 40 01 00 00 c3 c6 84 24 60 01 00 00 00 48
RSP: 002b:00007ffecffefbb8 EFLAGS: 00000217 ORIG_RAX: 0000000000000058
RAX: ffffffffffffffda RBX: 0000000000000060 RCX: 0000000000455857
RDX: 0000000000000000 RSI: 00000000004bafe2 RDI: 00007ffecfff08b0
RBP: 0000000000000013 R08: 0000000000000000 R09: 0000000001283940
R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000000013
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000001380
INFO: task syz-executor0:10184 blocked for more than 120 seconds.
Not tainted 4.18.0-rc1+ #110
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor0 D26296 10184 4520 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2862 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3504
schedule+0xfb/0x450 kernel/sched/core.c:3548
jbd2_log_wait_commit+0x329/0x4b0 fs/jbd2/journal.c:726
jbd2_journal_stop+0xb54/0x15c0 fs/jbd2/transaction.c:1770
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:103
ext4_symlink+0x8ab/0x1170 fs/ext4/namei.c:3166
vfs_symlink+0x37a/0x5d0 fs/namei.c:4137
do_symlinkat+0x242/0x2d0 fs/namei.c:4164
__do_sys_symlink fs/namei.c:4183 [inline]
__se_sys_symlink fs/namei.c:4181 [inline]
__x64_sys_symlink+0x59/0x80 fs/namei.c:4181
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455857
Code: c1 0f 84 74 fd ff ff c6 84 24 60 01 00 00 00 48 8b ac 24 38 01 00 00
48 81 c4 40 01 00 00 c3 c6 84 24 60 01 00 00 00 48 8b ac <24> 38 01 00 00
48 81 c4 40 01 00 00 c3 c6 84 24 60 01 00 00 00 48
RSP: 002b:00007ffe03484c28 EFLAGS: 00000217 ORIG_RAX: 0000000000000058
RAX: ffffffffffffffda RBX: 0000000000000053 RCX: 0000000000455857
RDX: 0000000000000000 RSI: 00000000004bafe2 RDI: 00007ffe03485920
RBP: 0000000000000013 R08: 0000000000000000 R09: 0000000000b3d940
R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000000013
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000001380

Showing all locks held in the system:
1 lock held by khungtaskd/899:
#0: 000000002f382cdc (rcu_read_lock){....}, at:
debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4461
2 locks held by rs:main Q:Reg/4382:
#0: 0000000022009760 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200
fs/file.c:766
#1: 0000000060c19123 (sb_writers#6){.+.+}, at: file_start_write
include/linux/fs.h:2739 [inline]
#1: 0000000060c19123 (sb_writers#6){.+.+}, at: vfs_write+0x452/0x560
fs/read_write.c:548
1 lock held by rsyslogd/4384:
2 locks held by getty/4475:
#0: 00000000afbd94e0 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 000000009ecff205 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131
2 locks held by getty/4476:
#0: 00000000e94d80d0 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 0000000054cdfb5f (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131
2 locks held by getty/4477:
#0: 0000000001be9091 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 000000001b1d5bd5 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131
2 locks held by getty/4478:
#0: 0000000074afcedc (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 00000000ce6e1538 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131
2 locks held by getty/4479:
#0: 000000003ac9d4eb (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 00000000b5e33c2a (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131
2 locks held by getty/4480:
#0: 000000003fa6b007 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 00000000808d37d2 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131
2 locks held by getty/4481:
#0: 00000000b019803d (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 0000000063de2d2e (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131
3 locks held by syz-executor2/4522:
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 0000000082e24c49 (&type->i_mutex_dir_key/1){+.+.}, at:
inode_lock_nested include/linux/fs.h:750 [inline]
#1: 0000000082e24c49 (&type->i_mutex_dir_key/1){+.+.}, at:
do_unlinkat+0x3d8/0xa30 fs/namei.c:4059
#2: 00000000caaee147 (&sb->s_type->i_mutex_key#12){++++}, at: inode_lock
include/linux/fs.h:715 [inline]
#2: 00000000caaee147 (&sb->s_type->i_mutex_key#12){++++}, at:
vfs_unlink+0xd1/0x510 fs/namei.c:4001
1 lock held by syz-executor6/10177:
2 locks held by syz-executor4/10179:
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 00000000a5acd8da (&type->i_mutex_dir_key/1){+.+.}, at:
inode_lock_nested include/linux/fs.h:750 [inline]
#1: 00000000a5acd8da (&type->i_mutex_dir_key/1){+.+.}, at:
filename_create+0x1b2/0x5b0 fs/namei.c:3645
2 locks held by syz-executor3/10180:
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 000000002e3e4efd (&type->i_mutex_dir_key/1){+.+.}, at:
inode_lock_nested include/linux/fs.h:750 [inline]
#1: 000000002e3e4efd (&type->i_mutex_dir_key/1){+.+.}, at:
filename_create+0x1b2/0x5b0 fs/namei.c:3645
2 locks held by syz-executor5/10181:
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 0000000033b8dc98 (&type->i_mutex_dir_key/1){+.+.}, at:
inode_lock_nested include/linux/fs.h:750 [inline]
#1: 0000000033b8dc98 (&type->i_mutex_dir_key/1){+.+.}, at:
filename_create+0x1b2/0x5b0 fs/namei.c:3645
2 locks held by syz-executor1/10182:
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 00000000494f27aa (&type->i_mutex_dir_key/1){+.+.}, at:
inode_lock_nested include/linux/fs.h:750 [inline]
#1: 00000000494f27aa (&type->i_mutex_dir_key/1){+.+.}, at:
filename_create+0x1b2/0x5b0 fs/namei.c:3645
2 locks held by syz-executor7/10183:
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 0000000024935440 (&type->i_mutex_dir_key/1){+.+.}, at:
inode_lock_nested include/linux/fs.h:750 [inline]
#1: 0000000024935440 (&type->i_mutex_dir_key/1){+.+.}, at:
filename_create+0x1b2/0x5b0 fs/namei.c:3645
2 locks held by syz-executor0/10184:
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: sb_start_write
include/linux/fs.h:1554 [inline]
#0: 0000000060c19123 (sb_writers#6){.+.+}, at: mnt_want_write+0x3f/0xc0
fs/namespace.c:386
#1: 0000000037e4bbf3 (&type->i_mutex_dir_key/1){+.+.}, at:
inode_lock_nested include/linux/fs.h:750 [inline]
#1: 0000000037e4bbf3 (&type->i_mutex_dir_key/1){+.+.}, at:
filename_create+0x1b2/0x5b0 fs/namei.c:3645

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

NMI backtrace for cpu 1
CPU: 1 PID: 899 Comm: khungtaskd Not tainted 4.18.0-rc1+ #110
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:240
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: 10177 Comm: syz-executor6 Not tainted 4.18.0-rc1+ #110
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:lock_is_held_type+0x197/0x210 kernel/locking/lockdep.c:3967
Code: 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 75 63 48 83 3d e4 8c 93 07 00
74 30 48 89 df 57 9d 0f 1f 44 00 00 48 83 c4 08 44 89 e8 <5b> 41 5c 41 5d
5d c3 48 83 c4 08 41 bd 01 00 00 00 5b 44 89 e8 41
RSP: 0018:ffff8801c3217420 EFLAGS: 00000092
RAX: 0000000000000001 RBX: 0000000000000082 RCX: 1ffffffff11e35fd
RDX: 1ffffffff11e35fd RSI: 0000000000000000 RDI: 0000000000000082
RBP: ffff8801c3217438 R08: ffffed003b5c5939 R09: ffffed003b5c5938
R10: ffffed003b5c5938 R11: ffff8801dae2c9c3 R12: ffff8801cafb2240
R13: 0000000000000001 R14: 000000000002c9c0 R15: ffff8801dae2c9c0
FS: 00007f17dada2700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e224000 CR3: 00000001d794c000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_is_held include/linux/lockdep.h:344 [inline]
update_rq_clock+0x134/0x180 kernel/sched/core.c:197
__schedule+0x2df/0x1ed0 kernel/sched/core.c:3447
schedule+0xfb/0x450 kernel/sched/core.c:3548
tun_ring_recv drivers/net/tun.c:2175 [inline]
tun_do_read+0x1bd7/0x2630 drivers/net/tun.c:2202
tun_chr_read_iter+0xe5/0x1e0 drivers/net/tun.c:2234
call_read_iter include/linux/fs.h:1789 [inline]
new_sync_read fs/read_write.c:406 [inline]
__vfs_read+0x6d8/0xa80 fs/read_write.c:418
vfs_read+0x17f/0x3d0 fs/read_write.c:452
ksys_pread64+0x181/0x1b0 fs/read_write.c:626
__do_sys_pread64 fs/read_write.c:636 [inline]
__se_sys_pread64 fs/read_write.c:633 [inline]
__x64_sys_pread64+0x97/0xf0 fs/read_write.c:633
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455b29
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:00007f17dada1c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000011
RAX: ffffffffffffffda RBX: 00007f17dada26d4 RCX: 0000000000455b29
RDX: 00000000000002ae RSI: 0000000020000240 RDI: 0000000000000014
RBP: 000000000072bf50 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004c075a R14: 00000000004d0150 R15: 0000000000000001


---
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:22:12 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