INFO: task syz-executor.1:8556 blocked for more than 143 seconds.
Not tainted 6.5.0-rc7-next-20230825-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:25448 pid:8556 ppid:5076 flags:0x00000006
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
inode_lock include/linux/fs.h:802 [inline]
f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2172 [inline]
__f2fs_ioctl+0x1de2/0x9a90 fs/f2fs/file.c:4224
f2fs_ioctl+0x192/0x220 fs/f2fs/file.c:4312
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl fs/ioctl.c:857 [inline]
__x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857
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:0x7f0bffc7cae9
RSP: 002b:00007f0c009a90c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0bffd9bf80 RCX: 00007f0bffc7cae9
RDX: 0000000000000000 RSI: 000000000000f502 RDI: 0000000000000005
RBP: 00007f0bffcc847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f0bffd9bf80 R15: 00007ffe91e92858
INFO: lockdep is turned off.
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.5.0-rc7-next-20230825-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/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: 8574 Comm: syz-executor.1 Not tainted 6.5.0-rc7-next-20230825-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:__sanitizer_cov_trace_pc+0x3b/0x70 kernel/kcov.c:207
Code: 81 e1 00 01 00 00 65 48 8b 14 25 c0 bc 03 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 04 16 00 00 85 c0 74 2b 8b 82 e0 15 00 00 <83> f8 02 75 20 48 8b 8a e8 15 00 00 8b 92 e4 15 00 00 48 8b 01 48
RSP: 0018:ffffc9000350e5d8 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffffc9000350e6b8 RCX: 0000000000000000
RDX: ffff88801fcd5940 RSI: ffffffff813a5947 RDI: ffffc9000350e6c0
RBP: ffffc9000350e6b0 R08: 0000000000000004 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000001 R12: ffffc90003508000
R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000001
FS: 00007f0c009886c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fae74178038 CR3: 000000001f26f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
on_stack arch/x86/include/asm/stacktrace.h:56 [inline]
unwind_next_frame+0x11d7/0x2390 arch/x86/kernel/unwind_orc.c:665
__unwind_start+0x5a4/0x880 arch/x86/kernel/unwind_orc.c:760
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0xaf/0x170 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x50 mm/kasan/common.c:45
kasan_set_track+0x25/0x30 mm/kasan/common.c:52
__kasan_slab_alloc+0x81/0x90 mm/kasan/common.c:328
kasan_slab_alloc include/linux/kasan.h:188 [inline]
slab_post_alloc_hook mm/slab.h:762 [inline]
slab_alloc_node mm/slub.c:3478 [inline]
slab_alloc mm/slub.c:3486 [inline]
__kmem_cache_alloc_lru mm/slub.c:3493 [inline]
kmem_cache_alloc+0x172/0x3b0 mm/slub.c:3502
mempool_alloc+0x176/0x390 mm/mempool.c:398
bio_alloc_bioset+0x47d/0x8b0 block/bio.c:543
f2fs_grab_read_bio+0x268/0x7d0 fs/f2fs/data.c:1116
f2fs_submit_page_read+0xaa/0x190 fs/f2fs/data.c:1161
f2fs_get_read_data_page+0x55e/0x9f0 fs/f2fs/data.c:1345
gc_data_segment fs/f2fs/gc.c:1598 [inline]
do_garbage_collect+0x35c5/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:2962
f2fs_write_cache_pages+0xcca/0x2030 fs/f2fs/data.c:3207
__f2fs_write_data_pages fs/f2fs/data.c:3357 [inline]
f2fs_write_data_pages+0x9e4/0xe20 fs/f2fs/data.c:3384
do_writepages+0x1b4/0x690 mm/page-writeback.c:2553
filemap_fdatawrite_wbc mm/filemap.c:393 [inline]
filemap_fdatawrite_wbc+0x144/0x1b0 mm/filemap.c:383
__filemap_fdatawrite_range+0xba/0x100 mm/filemap.c:426
filemap_write_and_wait_range mm/filemap.c:681 [inline]
filemap_write_and_wait_range+0x9f/0x120 mm/filemap.c:672
f2fs_flush_buffered_write fs/f2fs/file.c:4621 [inline]
f2fs_dio_write_iter fs/f2fs/file.c:4728 [inline]
f2fs_file_write_iter+0x1e0f/0x2410 fs/f2fs/file.c:4790
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:0x7f0bffc7cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0c009880c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f0bffd9c050 RCX: 00007f0bffc7cae9
RDX: 00000000fffffdef RSI: 0000000020000000 RDI: 0000000000000007
RBP: 00007f0bffcc847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f0bffd9c050 R15: 00007ffe91e92858