INFO: task syz-executor.2:4213 blocked for more than 143 seconds.
Not tainted 6.2.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:22024 pid:4213 ppid:5109 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x995/0xe20 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
__wait_on_freeing_inode fs/inode.c:2196 [inline]
find_inode_fast+0x35a/0x4c0 fs/inode.c:950
iget_locked+0xb1/0x830 fs/inode.c:1273
__ext4_iget+0x22e/0x3ed0 fs/ext4/inode.c:4861
ext4_xattr_inode_iget+0x68/0x4e0 fs/ext4/xattr.c:389
ext4_xattr_inode_dec_ref_all+0x1a7/0xe50 fs/ext4/xattr.c:1148
ext4_xattr_delete_inode+0xb04/0xcd0 fs/ext4/xattr.c:2880
ext4_evict_inode+0xd7c/0x10b0 fs/ext4/inode.c:296
evict+0x2a4/0x620 fs/inode.c:664
ext4_orphan_cleanup+0xb60/0x1340 fs/ext4/orphan.c:474
__ext4_fill_super fs/ext4/super.c:5516 [inline]
ext4_fill_super+0x81cd/0x8700 fs/ext4/super.c:5644
get_tree_bdev+0x400/0x620 fs/super.c:1282
vfs_get_tree+0x88/0x270 fs/super.c:1489
do_new_mount+0x289/0xad0 fs/namespace.c:3145
do_mount fs/namespace.c:3488 [inline]
__do_sys_mount fs/namespace.c:3697 [inline]
__se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3674
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f79c968d5da
RSP: 002b:00007f79ca313f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 000000000000043e RCX: 00007f79c968d5da
RDX: 0000000020000000 RSI: 00000000200000c0 RDI: 00007f79ca313fe0
RBP: 00007f79ca314020 R08: 00007f79ca314020 R09: 0000000000800003
R10: 0000000000800003 R11: 0000000000000202 R12: 0000000020000000
R13: 00000000200000c0 R14: 00007f79ca313fe0 R15: 00000000200005c0
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d326e90 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d327690 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8d326cc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
4 locks held by kworker/u4:5/68:
2 locks held by getty/4753:
#0: ffff88802c403098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177
2 locks held by kworker/0:4/19545:
#0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0
#1:
ffffc90005d7fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264
2 locks held by syz-executor.2/4213:
#0: ffff88802e8e00e0 (&type->s_umount_key#27/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228
#1:
ffff88802e8e0650
(sb_internal){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1811 [inline]
(sb_internal){.+.+}-{0:0}, at: sb_start_intwrite include/linux/fs.h:1933 [inline]
(sb_internal){.+.+}-{0:0}, at: ext4_evict_inode+0x4cd/0x10b0 fs/ext4/inode.c:240
1 lock held by syz-executor.4/5778:
#0: ffffffff8d32c338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
#0: ffffffff8d32c338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x384/0x860 kernel/rcu/tree_exp.h:946
1 lock held by syz-executor.0/5785:
#0: ffff8880b993a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537
1 lock held by syz-executor.0/5809:
#0: ffff8880b983a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537
1 lock held by syz-executor.3/5791:
#0: ffffffff8d32c338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#0: ffffffff8d32c338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1b1/0x290 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xcd5/0xd20 kernel/hung_task.c:377
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 22594 Comm: kworker/u4:4 Not tainted 6.2.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:kfence_alloc include/linux/kfence.h:126 [inline]
RIP: 0010:slab_alloc_node mm/slub.c:3438 [inline]
RIP: 0010:slab_alloc mm/slub.c:3460 [inline]
RIP: 0010:__kmem_cache_alloc_lru mm/slub.c:3467 [inline]
RIP: 0010:kmem_cache_alloc+0x2a4/0x350 mm/slub.c:3476
Code: 22 7e 85 c0 0f 85 d1 fe ff ff e8 77 e7 1f ff e9 c7 fe ff ff e8 2d 2e d0 08 48 c7 c7 30 69 41 8d 48 89 ee e8 be 95 9f 02 eb a1 <83> 3d 75 db 60 0b 00 74 73 48 c7 44 24 20 00 00 00 00 e9 33 fe ff
RSP: 0018:ffffc90005c86de8 EFLAGS: 00000286
RAX: 0000000000000000 RBX: 0000000000000c40 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000018 RDI: ffffffff8d419880
RBP: ffff888078ec3800 R08: dffffc0000000000 R09: fffffbfff1d2ccee
R10: fffffbfff1d2ccee R11: 1ffffffff1d2cced R12: 0000000000000018
R13: ffffffff83d56b99 R14: 0000000000000000 R15: ffff88814622d500
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb1c9985058 CR3: 0000000075778000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
f2fs_kmem_cache_alloc_nofail fs/f2fs/f2fs.h:2796 [inline]
f2fs_kmem_cache_alloc fs/f2fs/f2fs.h:2806 [inline]
add_free_nid+0xd9/0x9b0 fs/f2fs/node.c:2288
scan_free_nid_bits fs/f2fs/node.c:2439 [inline]
__f2fs_build_free_nids fs/f2fs/node.c:2473 [inline]
f2fs_build_free_nids+0x543/0x1190 fs/f2fs/node.c:2531
f2fs_balance_fs_bg+0x165/0x950 fs/f2fs/segment.c:468
f2fs_write_node_pages+0x134/0x6b0 fs/f2fs/node.c:2109
do_writepages+0x3c3/0x680 mm/page-writeback.c:2581
__writeback_single_inode+0xd1/0x670 fs/fs-writeback.c:1598
writeback_sb_inodes+0x812/0x1050 fs/fs-writeback.c:1889
wb_writeback+0x41f/0x7b0 fs/fs-writeback.c:2063
wb_do_writeback fs/fs-writeback.c:2206 [inline]
wb_workfn+0x3cb/0xef0 fs/fs-writeback.c:2246
process_one_work+0x877/0xdb0 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308