syzbot


INFO: task hung in jbd2_write_superblock

Status: closed as invalid on 2022/02/08 09:50
Subsystems: ext4
[Documentation on labels]
First crash: 846d, last: 846d

Sample crash report:
INFO: task jbd2/sda1-8:2937 blocked for more than 143 seconds.
      Not tainted 5.16.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:jbd2/sda1-8     state:D stack:26160 pid: 2937 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4972 [inline]
 __schedule+0xa9a/0x4940 kernel/sched/core.c:6253
 schedule+0xd2/0x260 kernel/sched/core.c:6326
 io_schedule+0xee/0x170 kernel/sched/core.c:8371
 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:209
 __wait_on_bit+0x60/0x190 kernel/sched/wait_bit.c:49
 out_of_line_wait_on_bit+0xd5/0x110 kernel/sched/wait_bit.c:64
 wait_on_bit_io include/linux/wait_bit.h:101 [inline]
 __wait_on_buffer+0x7a/0x90 fs/buffer.c:122
 wait_on_buffer include/linux/buffer_head.h:356 [inline]
 jbd2_write_superblock+0x69a/0x910 fs/jbd2/journal.c:1634
 jbd2_journal_update_sb_log_tail+0x1d7/0x330 fs/jbd2/journal.c:1682
 __jbd2_update_log_tail+0x55/0x460 fs/jbd2/journal.c:1107
 jbd2_update_log_tail+0x74/0x90 fs/jbd2/journal.c:1141
 jbd2_journal_commit_transaction+0x4b86/0x6be0 fs/jbd2/commit.c:950
 kjournald2+0x1d0/0x930 fs/jbd2/journal.c:213
 kthread+0x405/0x4f0 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
INFO: task syz-executor.1:3631 blocked for more than 143 seconds.
      Not tainted 5.16.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:22352 pid: 3631 ppid:     1 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4972 [inline]
 __schedule+0xa9a/0x4940 kernel/sched/core.c:6253
 schedule+0xd2/0x260 kernel/sched/core.c:6326
 jbd2_log_wait_commit+0x2d2/0x430 fs/jbd2/journal.c:712
 jbd2_journal_stop+0x5bc/0xf10 fs/jbd2/transaction.c:1932
 __ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:127
 ext4_unlink+0x3cb/0x9e0 fs/ext4/namei.c:3245
 vfs_unlink+0x348/0x750 fs/namei.c:4100
 do_unlinkat+0x3c9/0x650 fs/namei.c:4167
 __do_sys_unlink fs/namei.c:4215 [inline]
 __se_sys_unlink fs/namei.c:4213 [inline]
 __x64_sys_unlink+0xc6/0x110 fs/namei.c:4213
 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:0x7ff147ec87d7
RSP: 002b:00007fff81056028 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff147ec87d7
RDX: 00007fff81056060 RSI: 00007fff81056060 RDI: 00007fff810560f0
RBP: 00007fff810560f0 R08: 0000000000000001 R09: 00007fff81055ec0
R10: 0000555556933853 R11: 0000000000000206 R12: 00007ff147f22172
R13: 00007fff810571b0 R14: 0000555556933810 R15: 00007fff810571f0
 </TASK>
INFO: task syz-executor.3:3635 blocked for more than 143 seconds.
      Not tainted 5.16.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:23984 pid: 3635 ppid:     1 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4972 [inline]
 __schedule+0xa9a/0x4940 kernel/sched/core.c:6253
 schedule+0xd2/0x260 kernel/sched/core.c:6326
 jbd2_log_wait_commit+0x2d2/0x430 fs/jbd2/journal.c:712
 jbd2_journal_stop+0x5bc/0xf10 fs/jbd2/transaction.c:1932
 __ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:127
 ext4_unlink+0x3cb/0x9e0 fs/ext4/namei.c:3245
 vfs_unlink+0x348/0x750 fs/namei.c:4100
 do_unlinkat+0x3c9/0x650 fs/namei.c:4167
 __do_sys_unlink fs/namei.c:4215 [inline]
 __se_sys_unlink fs/namei.c:4213 [inline]
 __x64_sys_unlink+0xc6/0x110 fs/namei.c:4213
 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:0x7fe36a4a47d7
RSP: 002b:00007ffe9008ccb8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe36a4a47d7
RDX: 00007ffe9008ccf0 RSI: 00007ffe9008ccf0 RDI: 00007ffe9008cd80
RBP: 00007ffe9008cd80 R08: 0000000000000001 R09: 00007ffe9008cb50
R10: 0000555556f77853 R11: 0000000000000206 R12: 00007fe36a4fe172
R13: 00007ffe9008de40 R14: 0000555556f77810 R15: 00007ffe9008de80
 </TASK>
INFO: task syz-executor.0:13814 blocked for more than 144 seconds.
      Not tainted 5.16.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:23968 pid:13814 ppid:     1 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4972 [inline]
 __schedule+0xa9a/0x4940 kernel/sched/core.c:6253
 schedule+0xd2/0x260 kernel/sched/core.c:6326
 jbd2_log_wait_commit+0x2d2/0x430 fs/jbd2/journal.c:712
 jbd2_journal_stop+0x5bc/0xf10 fs/jbd2/transaction.c:1932
 __ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:127
 ext4_unlink+0x3cb/0x9e0 fs/ext4/namei.c:3245
 vfs_unlink+0x348/0x750 fs/namei.c:4100
 do_unlinkat+0x3c9/0x650 fs/namei.c:4167
 __do_sys_unlink fs/namei.c:4215 [inline]
 __se_sys_unlink fs/namei.c:4213 [inline]
 __x64_sys_unlink+0xc6/0x110 fs/namei.c:4213
 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:0x7f33fe1c47d7
RSP: 002b:00007ffdd6e4e1d8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f33fe1c47d7
RDX: 00007ffdd6e4e210 RSI: 00007ffdd6e4e210 RDI: 00007ffdd6e4e2a0
RBP: 00007ffdd6e4e2a0 R08: 0000000000000001 R09: 00007ffdd6e4e070
R10: 0000555555998893 R11: 0000000000000206 R12: 00007f33fe21e172
R13: 00007ffdd6e4f360 R14: 0000555555998810 R15: 00007ffdd6e4f3a0
 </TASK>
INFO: task syz-executor.4:31086 blocked for more than 144 seconds.
      Not tainted 5.16.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:28344 pid:31086 ppid:  3634 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4972 [inline]
 __schedule+0xa9a/0x4940 kernel/sched/core.c:6253
 schedule+0xd2/0x260 kernel/sched/core.c:6326
 jbd2_log_wait_commit+0x2d2/0x430 fs/jbd2/journal.c:712
 jbd2_journal_stop+0x5bc/0xf10 fs/jbd2/transaction.c:1932
 __ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:127
 ext4_symlink+0x894/0xd40 fs/ext4/namei.c:3365
 vfs_symlink fs/namei.c:4248 [inline]
 vfs_symlink+0x45d/0x6c0 fs/namei.c:4233
 do_symlinkat+0x261/0x2e0 fs/namei.c:4277
 __do_sys_symlink fs/namei.c:4299 [inline]
 __se_sys_symlink fs/namei.c:4297 [inline]
 __x64_sys_symlink+0x75/0x90 fs/namei.c:4297
 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:0x7f204b18e7a7
RSP: 002b:00007ffd94440898 EFLAGS: 00000206 ORIG_RAX: 0000000000000058
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f204b18e7a7
RDX: ffffffffffffffbc RSI: 00007f204b1e9092 RDI: 00007f204b1e824a
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffd94440310
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffd94440960
 </TASK>
INFO: task syz-executor.2:31091 blocked for more than 144 seconds.
      Not tainted 5.16.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:29728 pid:31091 ppid:  3725 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4972 [inline]
 __schedule+0xa9a/0x4940 kernel/sched/core.c:6253
 schedule+0xd2/0x260 kernel/sched/core.c:6326
 jbd2_log_wait_commit+0x2d2/0x430 fs/jbd2/journal.c:712
 ext4_sync_fs+0x62a/0x8a0 fs/ext4/super.c:5635
 sync_fs_one_sb fs/sync.c:78 [inline]
 sync_fs_one_sb+0x107/0x140 fs/sync.c:74
 iterate_supers+0x13c/0x290 fs/super.c:697
 ksys_sync+0xa8/0x150 fs/sync.c:98
 __do_sys_sync+0xa/0x10 fs/sync.c:107
 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:0x7f59efef9e99
RSP: 002b:00007f59ee86f168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f59f000cf60 RCX: 00007f59efef9e99
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f59eff53ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdb780b4df R14: 00007f59ee86f300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.5:31089 blocked for more than 144 seconds.
      Not tainted 5.16.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5  state:D stack:29032 pid:31089 ppid:  3633 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4972 [inline]
 __schedule+0xa9a/0x4940 kernel/sched/core.c:6253
 schedule+0xd2/0x260 kernel/sched/core.c:6326
 jbd2_log_wait_commit+0x2d2/0x430 fs/jbd2/journal.c:712
 jbd2_journal_stop+0x5bc/0xf10 fs/jbd2/transaction.c:1932
 __ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:127
 ext4_symlink+0x894/0xd40 fs/ext4/namei.c:3365
 vfs_symlink fs/namei.c:4248 [inline]
 vfs_symlink+0x45d/0x6c0 fs/namei.c:4233
 do_symlinkat+0x261/0x2e0 fs/namei.c:4277
 __do_sys_symlink fs/namei.c:4299 [inline]
 __se_sys_symlink fs/namei.c:4297 [inline]
 __x64_sys_symlink+0x75/0x90 fs/namei.c:4297
 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:0x7f682982e7a7
RSP: 002b:00007ffce0672f68 EFLAGS: 00000202 ORIG_RAX: 0000000000000058
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f682982e7a7
RDX: 00007ffce0673043 RSI: 00007f68298890a6 RDI: 00007ffce0673030
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffce0672e00
R10: 00007ffce0672cb7 R11: 0000000000000202 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffce0673030
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8bb81320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by jbd2/sda1-8/2937:
 #0: ffff88807f3343f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: jbd2_update_log_tail+0x27/0x90 fs/jbd2/journal.c:1139
2 locks held by getty/3285:
 #0: ffff88807f2f5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
 #1: ffffc90002b8e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
3 locks held by syz-executor.1/3631:
 #0: ffff88807f330460 (sb_writers#6){.+.+}-{0:0}, at: do_unlinkat+0x17f/0x650 fs/namei.c:4146
 #1: ffff88808a8ce7f0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline]
 #1: ffff88808a8ce7f0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: do_unlinkat+0x269/0x650 fs/namei.c:4150
 #2: ffff888091c2a4b0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
 #2: ffff888091c2a4b0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: vfs_unlink+0xd0/0x750 fs/namei.c:4089
3 locks held by syz-executor.3/3635:
 #0: ffff88807f330460 (sb_writers#6){.+.+}-{0:0}, at: do_unlinkat+0x17f/0x650 fs/namei.c:4146
 #1: ffff88808aa95530 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline]
 #1: ffff88808aa95530 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: do_unlinkat+0x269/0x650 fs/namei.c:4150
 #2: ffff888091cf47f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
 #2: ffff888091cf47f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: vfs_unlink+0xd0/0x750 fs/namei.c:4089
1 lock held by syz-executor.4/4068:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/4102:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/5174:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/6347:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7030:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/7035:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7074:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7106:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/7135:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7139:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7165:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7205:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7238:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7262:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7277:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7299:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7331:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7357:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7376:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7452:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7489:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7510:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7540:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7567:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7601:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7635:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7649:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7683:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7704:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7715:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7763:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7812:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.2/7838:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/12253:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
3 locks held by syz-executor.0/13814:
 #0: ffff88807f330460 (sb_writers#6){.+.+}-{0:0}, at: do_unlinkat+0x17f/0x650 fs/namei.c:4146
 #1: ffff888037092970 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline]
 #1: ffff888037092970 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: do_unlinkat+0x269/0x650 fs/namei.c:4150
 #2: ffff88803724d570 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
 #2: ffff88803724d570 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: vfs_unlink+0xd0/0x750 fs/namei.c:4089
1 lock held by syz-executor.5/14337:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/14449:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/14494:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/14554:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/14813:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/14925:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/15053:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/15192:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/15281:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/15622:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/8171:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/11973:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/15112:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/18249:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/18377:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/18599:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/18795:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/30749:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/30774:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/30876:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/30888:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/8921:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/27597:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/28327:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/28336:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/28351:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/28361:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/28365:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/28714:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/9929:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/10305:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/10474:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/10485:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.5/10510:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/10611:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
2 locks held by kworker/u4:2/10615:
 #0: ffff8880b9c39b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478
 #1: ffff8880b9c279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x173/0x490 kernel/sched/psi.c:871
1 lock held by syz-executor.4/30875:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/30891:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/8867:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
1 lock held by syz-executor.4/8999:
 #0: ffff88807f330650 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6b0 fs/inode.c:590
2 locks held by syz-executor.4/31086:
 #0: ffff88807f330460 (sb_writers#6){.+.+}-{0:0}, at: filename_create+0xf3/0x480 fs/namei.c:3649
 #1: ffff8880795d98f0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline]
 #1: ffff8880795d98f0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: filename_create+0x158/0x480 fs/namei.c:3654
1 lock held by syz-executor.2/31091:
 #0: ffff88807f3300e0 (&type->s_umount_key#43){++++}-{3:3}, at: iterate_supers+0xdb/0x290 fs/super.c:695
2 locks held by syz-executor.5/31089:
 #0: ffff88807f330460 (sb_writers#6){.+.+}-{0:0}, at: filename_create+0xf3/0x480 fs/namei.c:3649
 #1: ffff88808aa23970 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline]
 #1: ffff88808aa23970 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: filename_create+0x158/0x480 fs/namei.c:3654

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

NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
 watchdog+0xc1d/0xf50 kernel/hung_task.c:295
 kthread+0x405/0x4f0 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10615 Comm: kworker/u4:2 Not tainted 5.16.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline]
RIP: 0010:lock_is_held_type+0xcb/0x140 kernel/locking/lockdep.c:5681
Code: ff e8 99 fe ff ff 85 c0 74 d8 41 83 fe ff 41 bd 01 00 00 00 74 14 31 c0 41 f6 47 22 03 0f 95 c0 45 31 ed 44 39 f0 41 0f 94 c5 <48> c7 c7 40 f9 ab 89 e8 a9 0d 00 00 b8 ff ff ff ff 65 0f c1 05 9c
RSP: 0018:ffffc90005a579a0 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8bb812c0 RDI: ffff88807c4f2b98
RBP: ffffffff8bb812c0 R08: ffffffff812a1908 R09: ffffffff904eaba3
R10: ffffffff819aba40 R11: 0000000000000000 R12: ffff88807c4f20c0
R13: 0000000000000000 R14: 00000000ffffffff R15: ffff88807c4f2b98
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c024f7b000 CR3: 000000000b88e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lock_is_held include/linux/lockdep.h:283 [inline]
 __might_resched+0x21/0x2c0 kernel/sched/core.c:9500
 __mutex_lock_common kernel/locking/mutex.c:584 [inline]
 __mutex_lock+0x9f/0x12f0 kernel/locking/mutex.c:740
 arch_jump_label_transform_queue+0x58/0x100 arch/x86/kernel/jump_label.c:136
 __jump_label_update+0x12e/0x400 kernel/jump_label.c:451
 jump_label_update+0x1d5/0x430 kernel/jump_label.c:830
 static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207
 static_key_disable+0x16/0x20 kernel/jump_label.c:215
 toggle_allocation_gate mm/kfence/core.c:746 [inline]
 toggle_allocation_gate+0x183/0x390 mm/kfence/core.c:724
 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
 kthread+0x405/0x4f0 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	e8 99 fe ff ff       	callq  0xfffffe9e
   5:	85 c0                	test   %eax,%eax
   7:	74 d8                	je     0xffffffe1
   9:	41 83 fe ff          	cmp    $0xffffffff,%r14d
   d:	41 bd 01 00 00 00    	mov    $0x1,%r13d
  13:	74 14                	je     0x29
  15:	31 c0                	xor    %eax,%eax
  17:	41 f6 47 22 03       	testb  $0x3,0x22(%r15)
  1c:	0f 95 c0             	setne  %al
  1f:	45 31 ed             	xor    %r13d,%r13d
  22:	44 39 f0             	cmp    %r14d,%eax
  25:	41 0f 94 c5          	sete   %r13b
* 29:	48 c7 c7 40 f9 ab 89 	mov    $0xffffffff89abf940,%rdi <-- trapping instruction
  30:	e8 a9 0d 00 00       	callq  0xdde
  35:	b8 ff ff ff ff       	mov    $0xffffffff,%eax
  3a:	65                   	gs
  3b:	0f                   	.byte 0xf
  3c:	c1                   	.byte 0xc1
  3d:	05                   	.byte 0x5
  3e:	9c                   	pushfq

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/22 04:39 upstream 2f47a9a4dfa3 6caa12e4 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in jbd2_write_superblock
* Struck through repros no longer work on HEAD.