INFO: task syz-executor.0:20022 blocked for more than 143 seconds.
Not tainted 6.4.0-rc6-next-20230616-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:26984 pid:20022 ppid:5060 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5380 [inline]
__schedule+0x1d15/0x5790 kernel/sched/core.c:6709
schedule+0xde/0x1a0 kernel/sched/core.c:6785
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6844
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
__pipe_lock fs/pipe.c:103 [inline]
pipe_release+0x4d/0x310 fs/pipe.c:721
__fput+0x289/0xac0 fs/file_table.c:378
task_work_run+0x16f/0x270 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9601e3e12b
RSP: 002b:00007fff2d68b4a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f9601e3e12b
RDX: 0000001b2f620000 RSI: 0000000000010214 RDI: 0000000000000006
RBP: 00007f9601fad980 R08: 0000000000000000 R09: 0000000088d4c851
R10: 00007fff2d710090 R11: 0000000000000293 R12: 00000000001c1dd7
R13: 00007fff2d68b5a0 R14: 00007fff2d68b5c0 R15: 0000000000000032
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c9a1ab0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xe60 kernel/rcu/tasks.h:568
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c9a1770 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xe60 kernel/rcu/tasks.h:568
1 lock held by khungtaskd/28:
#0: ffffffff8c9a26c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6615
2 locks held by getty/4783:
#0: ffff88814aaff098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf02/0x13f0 drivers/tty/n_tty.c:2176
2 locks held by kworker/u4:4/19049:
1 lock held by syz-executor.0/20022:
#0: ffff88802cb25468 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline]
#0: ffff88802cb25468 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_release+0x4d/0x310 fs/pipe.c:721
2 locks held by syz-executor.0/20028:
1 lock held by syz-executor.0/20087:
#0: ffff88808661f868 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline]
#0: ffff88808661f868 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_release+0x4d/0x310 fs/pipe.c:721
2 locks held by syz-executor.0/20088:
1 lock held by syz-executor.3/20859:
#0: ffff88808ee640e0 (&type->s_umount_key#66/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb40 fs/super.c:228
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc6-next-20230616-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:154 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 20859 Comm: syz-executor.3 Not tainted 6.4.0-rc6-next-20230616-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:101 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:127 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:158 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:177 [inline]
RIP: 0010:kasan_check_range+0x64/0x190 mm/kasan/generic.c:186
Code: 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 d1 48 c1 ed 03 49 c1 e9 03 48 01 c5 49 01 c1 48 89 e8 49 8d 59 01 48 89 da 48 29 ea <48> 83 fa 10 0f 8e 8e 00 00 00 41 89 eb 41 83 e3 07 0f 85 9b 00 00
RSP: 0018:ffffc90006db79f8 EFLAGS: 00000202
RAX: ffffed1004ece175 RBX: ffffed1004ece176 RCX: ffffffff83ad3bea
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff888027670ba8
RBP: ffffed1004ece175 R08: 0000000000000001 R09: ffffed1004ece175
R10: ffff888027670baf R11: 0000000000000001 R12: ffff88803b49d000
R13: ffff888027670b80 R14: ffff888027670b80 R15: ffff888027670ba8
FS: 00007fd939627700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555568b0708 CR3: 000000002b8c0000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_write include/linux/instrumented.h:40 [inline]
___set_bit include/asm-generic/bitops/instrumented-non-atomic.h:28 [inline]
__set_bit_le include/asm-generic/bitops/le.h:36 [inline]
update_free_nid_bitmap.isra.0+0x2fa/0x3e0 fs/f2fs/node.c:2256
load_free_nid_bitmap fs/f2fs/node.c:3186 [inline]
f2fs_build_node_manager+0x2408/0x2fa0 fs/f2fs/node.c:3308
f2fs_fill_super+0x3aab/0x9490 fs/f2fs/super.c:4565
mount_bdev+0x315/0x3e0 fs/super.c:1396
legacy_get_tree+0x109/0x220 fs/fs_context.c:611
vfs_get_tree+0x8d/0x350 fs/super.c:1524
do_new_mount fs/namespace.c:3328 [inline]
path_mount+0x136e/0x1e70 fs/namespace.c:3655
do_mount fs/namespace.c:3668 [inline]
__do_sys_mount fs/namespace.c:3877 [inline]
__se_sys_mount fs/namespace.c:3854 [inline]
__x64_sys_mount+0x283/0x300 fs/namespace.c:3854
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd93888d8ba
Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007fd939626f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000007e84 RCX: 00007fd93888d8ba
RDX: 00000000200000c0 RSI: 0000000020010280 RDI: 00007fd939626fe0
RBP: 00007fd939627020 R08: 00007fd939627020 R09: 0000000000200414
R10: 0000000000200414 R11: 0000000000000202 R12: 00000000200000c0
R13: 0000000020010280 R14: 00007fd939626fe0 R15: 0000000020007f80