syzbot


INFO: task hung in f2fs_fallocate

Status: auto-obsoleted due to no activity on 2023/07/12 13:35
Subsystems: f2fs
[Documentation on labels]
First crash: 558d, last: 558d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in f2fs_fallocate (3) f2fs 3 227d 243d 0/28 auto-obsoleted due to no activity on 2024/06/07 18:19
upstream INFO: task hung in f2fs_fallocate (2) f2fs 3 340d 342d 0/28 auto-obsoleted due to no activity on 2024/02/15 04:04
linux-5.15 INFO: task hung in f2fs_fallocate 2 2d16h 2d16h 0/3 upstream: reported on 2024/10/20 06:59

Sample crash report:
INFO: task syz-executor.4:8127 blocked for more than 143 seconds.
      Not tainted 6.3.0-rc6-syzkaller-00046-gde4664485abb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:24616 pid:8127  ppid:5101   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5307 [inline]
 __schedule+0x173b/0x4630 kernel/sched/core.c:6625
 schedule+0xc3/0x180 kernel/sched/core.c:6701
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760
 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
 inode_lock include/linux/fs.h:758 [inline]
 f2fs_fallocate+0x33d/0x6d0 fs/f2fs/file.c:1822
 vfs_fallocate+0x54b/0x6b0 fs/open.c:324
 ksys_fallocate fs/open.c:347 [inline]
 __do_sys_fallocate fs/open.c:355 [inline]
 __se_sys_fallocate fs/open.c:353 [inline]
 __x64_sys_fallocate+0xbd/0x100 fs/open.c:353
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f98b568c169
RSP: 002b:00007f98b63a4168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f98b57abf80 RCX: 00007f98b568c169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00007f98b56e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000280404 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffca3accdff R14: 00007f98b63a4300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:8138 blocked for more than 143 seconds.
      Not tainted 6.3.0-rc6-syzkaller-00046-gde4664485abb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:28504 pid:8138  ppid:5101   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5307 [inline]
 __schedule+0x173b/0x4630 kernel/sched/core.c:6625
 schedule+0xc3/0x180 kernel/sched/core.c:6701
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760
 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
 f2fs_down_write fs/f2fs/f2fs.h:2207 [inline]
 f2fs_balance_fs+0x51a/0x6f0 fs/f2fs/segment.c:427
 f2fs_expand_inode_data+0x1ca/0xaf0 fs/f2fs/file.c:1710
 f2fs_fallocate+0x400/0x6d0 fs/f2fs/file.c:1840
 vfs_fallocate+0x54b/0x6b0 fs/open.c:324
 ksys_fallocate fs/open.c:347 [inline]
 __do_sys_fallocate fs/open.c:355 [inline]
 __se_sys_fallocate fs/open.c:353 [inline]
 __x64_sys_fallocate+0xbd/0x100 fs/open.c:353
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f98b568c169
RSP: 002b:00007f98b6362168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f98b57ac120 RCX: 00007f98b568c169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007f98b56e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000110001 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffca3accdff R14: 00007f98b6362300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:8139 blocked for more than 143 seconds.
      Not tainted 6.3.0-rc6-syzkaller-00046-gde4664485abb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:26184 pid:8139  ppid:5101   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5307 [inline]
 __schedule+0x173b/0x4630 kernel/sched/core.c:6625
 schedule+0xc3/0x180 kernel/sched/core.c:6701
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760
 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
 f2fs_down_write fs/f2fs/f2fs.h:2207 [inline]
 f2fs_balance_fs+0x51a/0x6f0 fs/f2fs/segment.c:427
 f2fs_convert_inline_inode+0x741/0x810 fs/f2fs/inline.c:238
 f2fs_setattr+0xb0c/0x1270 fs/f2fs/file.c:995
 notify_change+0xc8b/0xf40 fs/attr.c:482
 do_truncate+0x220/0x300 fs/open.c:66
 do_sys_ftruncate+0x2e4/0x380 fs/open.c:194
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f98b568c169
RSP: 002b:00007f98b6341168 EFLAGS: 00000246 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 00007f98b57ac1f0 RCX: 00007f98b568c169
RDX: 0000000000000000 RSI: 0000000000004f4a RDI: 000000000000000a
RBP: 00007f98b56e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffca3accdff R14: 00007f98b6341300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:8140 blocked for more than 144 seconds.
      Not tainted 6.3.0-rc6-syzkaller-00046-gde4664485abb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:26968 pid:8140  ppid:5101   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5307 [inline]
 __schedule+0x173b/0x4630 kernel/sched/core.c:6625
 schedule+0xc3/0x180 kernel/sched/core.c:6701
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760
 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
 inode_lock include/linux/fs.h:758 [inline]
 process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243
 ima_file_check+0xf1/0x170 security/integrity/ima/ima_main.c:539
 do_open fs/namei.c:3562 [inline]
 path_openat+0x280a/0x3170 fs/namei.c:3715
 do_filp_open+0x234/0x490 fs/namei.c:3742
 do_sys_openat2+0x13f/0x500 fs/open.c:1348
 do_sys_open fs/open.c:1364 [inline]
 __do_sys_open fs/open.c:1372 [inline]
 __se_sys_open fs/open.c:1368 [inline]
 __x64_sys_open+0x225/0x270 fs/open.c:1368
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f98b568c169
RSP: 002b:00007f98b6320168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f98b57ac2c0 RCX: 00007f98b568c169
RDX: 0000000000000000 RSI: 0000000000060142 RDI: 0000000020000000
RBP: 00007f98b56e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffca3accdff R14: 00007f98b6320300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:8141 blocked for more than 144 seconds.
      Not tainted 6.3.0-rc6-syzkaller-00046-gde4664485abb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:26968 pid:8141  ppid:5101   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5307 [inline]
 __schedule+0x173b/0x4630 kernel/sched/core.c:6625
 schedule+0xc3/0x180 kernel/sched/core.c:6701
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760
 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
 inode_lock include/linux/fs.h:758 [inline]
 process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243
 ima_file_check+0xf1/0x170 security/integrity/ima/ima_main.c:539
 do_open fs/namei.c:3562 [inline]
 path_openat+0x280a/0x3170 fs/namei.c:3715
 do_filp_open+0x234/0x490 fs/namei.c:3742
 do_sys_openat2+0x13f/0x500 fs/open.c:1348
 do_sys_open fs/open.c:1364 [inline]
 __do_sys_open fs/open.c:1372 [inline]
 __se_sys_open fs/open.c:1368 [inline]
 __x64_sys_open+0x225/0x270 fs/open.c:1368
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f98b568c169
RSP: 002b:00007f98b62ff168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f98b57ac390 RCX: 00007f98b568c169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020007f80
RBP: 00007f98b56e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffca3accdff R14: 00007f98b62ff300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:8142 blocked for more than 145 seconds.
      Not tainted 6.3.0-rc6-syzkaller-00046-gde4664485abb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:24696 pid:8142  ppid:5101   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5307 [inline]
 __schedule+0x173b/0x4630 kernel/sched/core.c:6625
 schedule+0xc3/0x180 kernel/sched/core.c:6701
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760
 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
 inode_lock include/linux/fs.h:758 [inline]
 process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243
 ima_file_check+0xf1/0x170 security/integrity/ima/ima_main.c:539
 do_open fs/namei.c:3562 [inline]
 path_openat+0x280a/0x3170 fs/namei.c:3715
 do_filp_open+0x234/0x490 fs/namei.c:3742
 do_sys_openat2+0x13f/0x500 fs/open.c:1348
 do_sys_open fs/open.c:1364 [inline]
 __do_sys_creat fs/open.c:1440 [inline]
 __se_sys_creat fs/open.c:1434 [inline]
 __x64_sys_creat+0x123/0x160 fs/open.c:1434
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f98b568c169
RSP: 002b:00007f98ad4e3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f98b57ac460 RCX: 00007f98b568c169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000480
RBP: 00007f98b56e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffca3accdff R14: 00007f98ad4e3300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:8143 blocked for more than 145 seconds.
      Not tainted 6.3.0-rc6-syzkaller-00046-gde4664485abb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:27000 pid:8143  ppid:5101   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5307 [inline]
 __schedule+0x173b/0x4630 kernel/sched/core.c:6625
 schedule+0xc3/0x180 kernel/sched/core.c:6701
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760
 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
 inode_lock include/linux/fs.h:758 [inline]
 process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243
 ima_file_check+0xf1/0x170 security/integrity/ima/ima_main.c:539
 do_open fs/namei.c:3562 [inline]
 path_openat+0x280a/0x3170 fs/namei.c:3715
 do_filp_open+0x234/0x490 fs/namei.c:3742
 do_sys_openat2+0x13f/0x500 fs/open.c:1348
 do_sys_open fs/open.c:1364 [inline]
 __do_sys_creat fs/open.c:1440 [inline]
 __se_sys_creat fs/open.c:1434 [inline]
 __x64_sys_creat+0x123/0x160 fs/open.c:1434
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f98b568c169
RSP: 002b:00007f98ad2c2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f98b57ac530 RCX: 00007f98b568c169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020008040
RBP: 00007f98b56e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffca3accdff R14: 00007f98ad2c2300 R15: 0000000000022000
 </TASK>

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
 #0: ffffffff8cf25570 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
 #0: ffffffff8cf25d70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
 #0: ffffffff8cf253a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by syslogd/4411:
2 locks held by getty/4747:
 #0: ffff888028103098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
4 locks held by kworker/u4:12/6108:
 #0: ffff888016615938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363
 #1: ffffc90015e67d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
 #2: ffff88802a9f40e0 (&type->s_umount_key#67){++++}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:414
 #3: ffff8880790d92a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2207 [inline]
 #3: ffff8880790d92a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x51a/0x6f0 fs/f2fs/segment.c:427
2 locks held by syz-executor.4/8127:
 #0: ffff88802a9f4460 (sb_writers#19){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2505 [inline]
 #0: ffff88802a9f4460 (sb_writers#19){.+.+}-{0:0}, at: vfs_fallocate+0x4be/0x6b0 fs/open.c:323
 #1: ffff88802fbd5178 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
 #1: ffff88802fbd5178 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: f2fs_fallocate+0x33d/0x6d0 fs/f2fs/file.c:1822
5 locks held by syz-executor.4/8137:
3 locks held by syz-executor.4/8138:
 #0: ffff88802a9f4460 (sb_writers#19){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2505 [inline]
 #0: ffff88802a9f4460 (sb_writers#19){.+.+}-{0:0}, at: vfs_fallocate+0x4be/0x6b0 fs/open.c:323
 #1: ffff88802fbd3fa8 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
 #1: ffff88802fbd3fa8 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: f2fs_fallocate+0x33d/0x6d0 fs/f2fs/file.c:1822
 #2: ffff8880790d92a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2207 [inline]
 #2: ffff8880790d92a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x51a/0x6f0 fs/f2fs/segment.c:427
3 locks held by syz-executor.4/8139:
 #0: ffff88802a9f4460 (sb_writers#19){.+.+}-{0:0}, at: do_sys_ftruncate+0x24c/0x380 fs/open.c:191
 #1: ffff88802fbd24f0 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
 #1: ffff88802fbd24f0 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: do_truncate+0x20c/0x300 fs/open.c:64
 #2: ffff8880790d92a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2207 [inline]
 #2: ffff8880790d92a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x51a/0x6f0 fs/f2fs/segment.c:427
1 lock held by syz-executor.4/8140:
 #0: ffff88802fbd24f0 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
 #0: ffff88802fbd24f0 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243
1 lock held by syz-executor.4/8141:
 #0: ffff88802fbd24f0 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
 #0: ffff88802fbd24f0 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243
2 locks held by syz-executor.4/8142:
 #0: ffff88802a9f4460 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
 #1: ffff88802fbd5178 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
 #1: ffff88802fbd5178 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243
2 locks held by syz-executor.4/8143:
 #0: ffff88802a9f4460 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
 #1: ffff88802fbd24f0 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
 #1: ffff88802fbd24f0 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243
2 locks held by syz-executor.3/10616:
 #0: ffff88802a9f40e0 (&type->s_umount_key#67){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743
 #1: ffff888146f1a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
 #1: ffff888146f1a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x278/0xab0 fs/fs-writeback.c:2725
2 locks held by syz-executor.3/10624:
 #0: ffff88802a9f40e0 (&type->s_umount_key#67){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743
 #1: ffff888146f1a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
 #1: ffff888146f1a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x278/0xab0 fs/fs-writeback.c:2725

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

NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc6-syzkaller-00046-gde4664485abb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xec2/0xf00 kernel/hung_task.c:379
 kthread+0x270/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5273 Comm: kworker/u4:8 Not tainted 6.3.0-rc6-syzkaller-00046-gde4664485abb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline]
RIP: 0010:check_preemption_disabled+0x59/0x110 lib/smp_processor_id.c:19
Code: 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 c7 00 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5e 41 5f c3 48 c7 04 24 00 00 00 00 9c <8f> 04 24 f7 04 24 00 02 00 00 74 c9 49 89 f6 49 89 ff 65 4c 8b 25
RSP: 0018:ffffc900045f7a80 EFLAGS: 00000046
RAX: 0000000080000000 RBX: 0000000000000000 RCX: ffffc900045f7b03
RDX: 0000000000000002 RSI: ffffffff8aea8f20 RDI: ffffffff8b37fec0
RBP: ffffc900045f7be8 R08: dffffc0000000000 R09: fffffbfff1ca68fe
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920008bef64
R13: 0000000000000246 R14: ffffc900045f7b50 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055ae5251ac48 CR3: 000000000cd30000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline]
 lock_release+0x5c8/0x9d0 kernel/locking/lockdep.c:5691
 rcu_read_unlock include/linux/rcupdate.h:806 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
 batadv_nc_worker+0x23d/0x5c0 net/batman-adv/network-coding.c:719
 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390
 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537
 kthread+0x270/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/13 13:32 upstream de4664485abb 3cfcaa1b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in f2fs_fallocate
* Struck through repros no longer work on HEAD.