INFO: task kworker/u4:4:76 blocked for more than 143 seconds.
Not tainted 6.5.0-syzkaller-12764-gca9c7abf9502 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:4 state:D stack:23448 pid:76 ppid:2 flags:0x00004000
Workqueue: writeback wb_workfn (flush-7:0)
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0xee1/0x59f0 kernel/sched/core.c:6695
schedule+0xe7/0x1b0 kernel/sched/core.c:6771
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830
rwsem_down_write_slowpath+0x53e/0x1290 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d3/0x200 kernel/locking/rwsem.c:1574
f2fs_down_write fs/f2fs/f2fs.h:2132 [inline]
f2fs_issue_checkpoint+0x186/0x4a0 fs/f2fs/checkpoint.c:1854
f2fs_sync_fs+0x317/0x3c0 fs/f2fs/super.c:1713
f2fs_balance_fs_bg+0xce6/0xf60 fs/f2fs/segment.c:517
f2fs_write_node_pages+0x176/0x7b0 fs/f2fs/node.c:2117
do_writepages+0x1b4/0x690 mm/page-writeback.c:2553
__writeback_single_inode+0x158/0xe70 fs/fs-writeback.c:1603
writeback_sb_inodes+0x599/0x1010 fs/fs-writeback.c:1894
__writeback_inodes_wb+0xff/0x2d0 fs/fs-writeback.c:1965
wb_writeback+0x7f8/0xa90 fs/fs-writeback.c:2072
wb_check_old_data_flush fs/fs-writeback.c:2176 [inline]
wb_do_writeback fs/fs-writeback.c:2229 [inline]
wb_workfn+0xa02/0xfd0 fs/fs-writeback.c:2257
process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
kthread+0x33a/0x430 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
INFO: lockdep is turned off.
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.5.0-syzkaller-12764-gca9c7abf9502 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xfac/0x1230 kernel/hung_task.c:379
kthread+0x33a/0x430 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5034 Comm: syz-executor405 Not tainted 6.5.0-syzkaller-12764-gca9c7abf9502 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:__might_sleep+0x34/0x170 kernel/sched/core.c:10104
Code: 00 fc ff df 41 54 65 4c 8b 24 25 c0 bc 03 00 55 89 f5 53 48 89 fb 49 8d 7c 24 18 48 83 ec 10 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 d7 00 00 00 41
RSP: 0018:ffffc900043deb60 EFLAGS: 00000216
RAX: dffffc0000000000 RBX: ffffffff8a8ca0c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 00000000000005ef RDI: ffff888024f91dd8
RBP: 00000000000005ef R08: 0000000000000004 R09: 0000000000000200
R10: 0000000000000001 R11: 0000000000000000 R12: ffff888024f91dc0
R13: dffffc0000000000 R14: ffff88806dcb518f R15: dffffc0000000000
FS: 0000555557304380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e8a8a49780 CR3: 0000000078fd5000 CR4: 0000000000350ef0
Call Trace:
down_read+0x75/0x470 kernel/locking/rwsem.c:1519
check_valid_map fs/f2fs/gc.c:985 [inline]
gc_data_segment fs/f2fs/gc.c:1537 [inline]
do_garbage_collect+0x19fa/0x3fa0 fs/f2fs/gc.c:1766
f2fs_gc+0x9f8/0x2140 fs/f2fs/gc.c:1869
f2fs_balance_fs+0x5c4/0x750 fs/f2fs/segment.c:439
f2fs_write_single_data_page+0x141b/0x1aa0 fs/f2fs/data.c:2965
f2fs_write_cache_pages+0xcca/0x2030 fs/f2fs/data.c:3210
__f2fs_write_data_pages fs/f2fs/data.c:3360 [inline]
f2fs_write_data_pages+0x9e4/0xe20 fs/f2fs/data.c:3387
do_writepages+0x1b4/0x690 mm/page-writeback.c:2553
filemap_fdatawrite_wbc mm/filemap.c:390 [inline]
filemap_fdatawrite_wbc+0x144/0x1b0 mm/filemap.c:380
__filemap_fdatawrite_range+0xba/0x100 mm/filemap.c:423
file_write_and_wait_range+0xcc/0x140 mm/filemap.c:781
f2fs_do_sync_file+0x2d2/0x1ff0 fs/f2fs/file.c:271
f2fs_sync_file+0x140/0x1a0 fs/f2fs/file.c:389
vfs_fsync_range+0x141/0x220 fs/sync.c:188
generic_write_sync include/linux/fs.h:2625 [inline]
f2fs_file_write_iter+0x133c/0x2410 fs/f2fs/file.c:4816
call_write_iter include/linux/fs.h:1985 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x650/0xe40 fs/read_write.c:584
ksys_write+0x12f/0x250 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fad2a727fd9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdc65c7438 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 6c5f657669746361 RCX: 00007fad2a727fd9
RDX: 00000000175d9003 RSI: 0000000020000200 RDI: 0000000000000005
RBP: 656e696c6e696f6e R08: 0000000000000003 R09: 00005555573054c0
R10: 0000000000000003 R11: 0000000000000246 R12: 00007fad2a771082
R13: 00007ffdc65c7688 R14: 431bde82d7b634db R15: 00007fad2a77103b
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.673 msecs