INFO: task syz-executor.0:6816 blocked for more than 143 seconds.
Not tainted 5.19.0-rc8-syzkaller-00155-g6a010258447d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D
stack:29144 pid: 6816 ppid: 3776 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xd2/0x1f0 kernel/sched/core.c:6530
schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1911
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x378/0x530 kernel/sched/completion.c:106
f2fs_issue_checkpoint+0x363/0x460 fs/f2fs/checkpoint.c:1867
f2fs_sync_fs+0x20f/0x420 fs/f2fs/super.c:1622
sync_fs_one_sb fs/sync.c:84 [inline]
sync_fs_one_sb+0x107/0x140 fs/sync.c:80
iterate_supers+0x13c/0x290 fs/super.c:694
ksys_sync+0xa8/0x150 fs/sync.c:104
__do_sys_sync+0xa/0x10 fs/sync.c:113
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f50fe289209
RSP: 002b:00007f50ff3db168 EFLAGS: 00000246
ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f50fe39bf60 RCX: 00007f50fe289209
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f50fe2e3161 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe5f366aff R14: 00007f50ff3db300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0:
ffffffff8bd846e0
(
rcu_read_lock
){....}-{1:2}
, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
2 locks held by getty/3287:
#0: ffff88814a9cf098
(
&tty->ldisc_sem){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1:
ffffc90001c282e8
(&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124
5 locks held by f2fs_ckpt-7:5/5416:
1 lock held by syz-executor.0/6816:
#0:
ffff8880479b00e0
(
&type->s_umount_key
#75
){++++}-{3:3}
, at: iterate_supers+0xdb/0x290 fs/super.c:692
1 lock held by syz-executor.0/6888:
#0:
ffff8880479b00e0
(
&type->s_umount_key
#75
){++++}-{3:3}
, at: iterate_supers+0xdb/0x290 fs/super.c:692
1 lock held by syz-executor.0/6935:
#0:
ffff8880479b00e0
(
&type->s_umount_key
#75
){++++}-{3:3}
, at: iterate_supers+0xdb/0x290 fs/super.c:692
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc8-syzkaller-00155-g6a010258447d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:369
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5416 Comm: f2fs_ckpt-7:5 Not tainted 5.19.0-rc8-syzkaller-00155-g6a010258447d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:io_serial_in+0x83/0xa0 drivers/tty/serial/8250/8250_port.c:461
Code: c3 19 fd 48 8d 7d 40 44 89 e1 48 b8 00 00 00 00 00 fc ff df 48 89 fa d3 e3 48 c1 ea 03 80 3c 02 00 75 16 66 03 5d 40 89 da ec <5b> 0f b6 c0 5d 41 5c c3 e8 d0 ff 65 fd eb a6 e8 f9 ff 65 fd eb e3
RSP: 0018:ffffc90004bceaa8 EFLAGS: 00000002
RAX: dffffc0000000060 RBX: 00000000000003fd RCX: 0000000000000000
RDX: 00000000000003fd RSI: ffffffff845fd8dc RDI: ffffffff9122ab00
RBP: ffffffff9122aac0 R08: 0000000000000001 R09: 000000000000001f
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: fffffbfff22455ac R14: fffffbfff2245562 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4a0ab6385e CR3: 0000000074209000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
serial_in drivers/tty/serial/8250/8250.h:118 [inline]
wait_for_lsr+0x96/0xf0 drivers/tty/serial/8250/8250_port.c:2087
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3358 [inline]
serial8250_console_write+0xc87/0xfe0 drivers/tty/serial/8250/8250_port.c:3440
call_console_driver kernel/printk/printk.c:1945 [inline]
console_emit_next_record.constprop.0+0x3de/0x840 kernel/printk/printk.c:2732
console_flush_all kernel/printk/printk.c:2794 [inline]
console_unlock+0x37a/0x5a0 kernel/printk/printk.c:2861
vprintk_emit+0x1b9/0x5f0 kernel/printk/printk.c:2271
vprintk+0x80/0x90 kernel/printk/printk_safe.c:50
_printk+0xba/0xed kernel/printk/printk.c:2292
printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline]
show_trace_log_lvl+0x221/0x2ba arch/x86/kernel/dumpstack.c:276
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
__is_bitmap_valid fs/f2fs/checkpoint.c:155 [inline]
f2fs_is_valid_blkaddr.cold+0x37/0x168 fs/f2fs/checkpoint.c:196
f2fs_do_write_data_page+0x653/0x1d90 fs/f2fs/data.c:2631
f2fs_write_single_data_page+0x8ed/0x1780 fs/f2fs/data.c:2785
f2fs_write_cache_pages+0xae2/0x2100 fs/f2fs/data.c:3058
__f2fs_write_data_pages fs/f2fs/data.c:3208 [inline]
f2fs_write_data_pages+0x4d5/0x1260 fs/f2fs/data.c:3235
do_writepages+0x1ab/0x690 mm/page-writeback.c:2443
filemap_fdatawrite_wbc mm/filemap.c:388 [inline]
filemap_fdatawrite_wbc+0x143/0x1b0 mm/filemap.c:378
__filemap_fdatawrite_range+0xb4/0xf0 mm/filemap.c:421
f2fs_sync_dirty_inodes+0x26e/0xdb0 fs/f2fs/checkpoint.c:1095
block_operations+0x28f/0xc40 fs/f2fs/checkpoint.c:1226
f2fs_write_checkpoint+0x607/0x4c70 fs/f2fs/checkpoint.c:1635
__write_checkpoint_sync fs/f2fs/checkpoint.c:1752 [inline]
__checkpoint_and_complete_reqs+0xea/0x350 fs/f2fs/checkpoint.c:1771
issue_checkpoint_thread+0xdf/0x250 fs/f2fs/checkpoint.c:1802
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306