INFO: task syz-executor.2:30994 blocked for more than 143 seconds.
Not tainted 6.4.0-rc1-syzkaller-00001-gba0ad6ed89fd #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:27768 pid:30994 ppid:5020 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
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:775 [inline]
f2fs_fiemap+0x205/0x1ee0 fs/f2fs/data.c:1940
ioctl_fiemap fs/ioctl.c:219 [inline]
do_vfs_ioctl+0x19ba/0x2b10 fs/ioctl.c:810
__do_sys_ioctl fs/ioctl.c:868 [inline]
__se_sys_ioctl+0x81/0x160 fs/ioctl.c:856
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:0x7f0173c8c169
RSP: 002b:00007f016b77a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0173dac120 RCX: 00007f0173c8c169
RDX: 00000000200005c0 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007f0173ce7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd56126daf R14: 00007f016b77a300 R15: 0000000000022000
</TASK>
Showing all locks held in the system:
4 locks held by kworker/u4:0/10:
#0: ffff88814527d138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc900000f7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffff88807eae60e0 (&type->s_umount_key#58){++++}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:414
#3: ffff8880799192a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2112 [inline]
#3: ffff8880799192a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x51a/0x6f0 fs/f2fs/segment.c:435
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8cf27670 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8cf27a30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/28:
#0: ffffffff8cf274a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4744:
#0: ffff88802ccba098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176
1 lock held by syz-executor.3/5023:
#0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992
2 locks held by kworker/1:2/27353:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc900033afd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
6 locks held by syz-executor.2/30954:
1 lock held by syz-executor.2/30994:
#0: ffff88803056d9c0 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline]
#0: ffff88803056d9c0 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: f2fs_fiemap+0x205/0x1ee0 fs/f2fs/data.c:1940
2 locks held by kworker/u4:6/31259:
#0: ffff8880b983c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#1: ffff8880b98287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:996
2 locks held by syz-executor.2/32450:
1 lock held by syz-executor.5/32449:
2 locks held by syz-executor.0/32459:
1 lock held by syz-executor.4/32465:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc1-syzkaller-00001-gba0ad6ed89fd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/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+0x2b8/0x350 kernel/kthread.c:379
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: 32467 Comm: syz-executor.1 Not tainted 6.4.0-rc1-syzkaller-00001-gba0ad6ed89fd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:lock_is_held_type+0x5/0x190 kernel/locking/lockdep.c:5747
Code: 75 d6 48 c7 c7 40 8b ea 8a 48 c7 c6 80 8b ea 8a e8 70 3c a4 f6 0f 0b eb bf e8 77 fc ff ff 0f 1f 80 00 00 00 00 f3 0f 1e fa 55 <41> 57 41 56 41 55 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00
RSP: 0000:ffffc90005387890 EFLAGS: 00000002
RAX: 0000000000000000 RBX: 000000000004d91d RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 00000000ffffffff RDI: ffffffff8cf2c418
RBP: ffffc900053879f0 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888020fd9dc0
R13: ffffffff8cf2c400 R14: ffffffff8cf2c450 R15: dffffc0000000000
FS: 00007f9e59d60700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9e502a7000 CR3: 000000001e887000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
lock_is_held include/linux/lockdep.h:288 [inline]
sync_rcu_exp_done kernel/rcu/tree_exp.h:155 [inline]
rcu_preempt_deferred_qs_irqrestore+0x416/0xc50 kernel/rcu/tree_plugin.h:522
rcu_read_unlock_special+0x46b/0x550 kernel/rcu/tree_plugin.h:679
__rcu_read_unlock+0x96/0x100 kernel/rcu/tree_plugin.h:424
rcu_read_unlock include/linux/rcupdate.h:805 [inline]
count_memcg_event_mm+0x384/0x3e0 include/linux/memcontrol.h:1112
mm_account_fault mm/memory.c:5123 [inline]
handle_mm_fault+0x43a4/0x5860 mm/memory.c:5259
do_user_addr_fault arch/x86/mm/fault.c:1349 [inline]
handle_page_fault arch/x86/mm/fault.c:1534 [inline]
exc_page_fault+0x274/0x910 arch/x86/mm/fault.c:1590
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7f9e59029237
Code: 78 48 63 d5 48 01 c2 49 3b 55 08 77 56 8d 55 ff 85 ed 74 35 0f 1f 80 00 00 00 00 48 39 c1 77 1c 49 8b 75 00 49 89 c1 49 29 c9 <46> 0f b6 0c 0e 45 84 c9 74 08 44 88 0c 06 49 8b 45 10 48 83 c0 01
RSP: 002b:00007f9e59d5f600 EFLAGS: 00010206
RAX: 0000000000aa8001 RBX: 00007f9e59d5f660 RCX: 0000000000000001
RDX: 00000000000000ac RSI: 00007f9e4f7ff000 RDI: 00007f9e59d5f700
RBP: 0000000000000102 R08: 0000000000000000 R09: 0000000000aa8000
R10: 0000000000000000 R11: 00007f9e59d5f670 R12: 00007f9e59d5f670
R13: 00007f9e59d5f700 R14: 0000000000000001 R15: 0000000000000000
</TASK>