INFO: task syz-executor.5:10363 blocked for more than 145 seconds.
Not tainted 6.6.0-syzkaller-15365-g305230142ae0 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:24688 pid:10363 tgid:10362 ppid:5098 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5376 [inline]
__schedule+0xee2/0x59a0 kernel/sched/core.c:6688
__schedule_loop kernel/sched/core.c:6763 [inline]
schedule+0xe7/0x270 kernel/sched/core.c:6778
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835
rwsem_down_write_slowpath+0x53d/0x12a0 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:1580
inode_lock include/linux/fs.h:802 [inline]
f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2172 [inline]
__f2fs_ioctl+0x1e1c/0x9cc0 fs/f2fs/file.c:4234
f2fs_ioctl+0x192/0x220 fs/f2fs/file.c:4322
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:51 [inline]
do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7ff4f5a7cae9
RSP: 002b:00007ff4f67060c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ff4f5b9bf80 RCX: 00007ff4f5a7cae9
RDX: 0000000000008301 RSI: 000000000000f502 RDI: 0000000000000005
RBP: 00007ff4f5ac847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007ff4f5b9bf80 R15: 00007ffef132ad28
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8cfacfe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
#0: ffffffff8cfacfe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
#0: ffffffff8cfacfe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613
4 locks held by kworker/u4:2/42:
#0: ffff888015654d38 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605
#1: ffffc90000b2fd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606
#2: ffffffff8eaa2490 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb20 net/core/net_namespace.c:576
#3: ffffffff8cfb89f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#3: ffffffff8cfb89f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x69e/0x7e0 kernel/rcu/tree_exp.h:996
4 locks held by kworker/u4:3/48:
#0: ffff888015674938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605
#1: ffffc90000b8fd80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606
#2: ffff88804333c0e0 (&type->s_umount_key#60){++++}-{3:3}, at: super_trylock_shared+0x1e/0xf0 fs/super.c:610
#3: ffff8880460112a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2133 [inline]
#3: ffff8880460112a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x553/0x750 fs/f2fs/segment.c:437
1 lock held by udevd/4518:
2 locks held by getty/4828:
#0: ffff88802aa820a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201
1 lock held by syz-fuzzer/5242:
2 locks held by kworker/u4:11/5527:
2 locks held by syz-executor.5/10363:
#0: ffff88804333c418 (sb_writers#15){.+.+}-{0:0}, at: f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2166 [inline]
#0: ffff88804333c418 (sb_writers#15){.+.+}-{0:0}, at: __f2fs_ioctl+0x1d95/0x9cc0 fs/f2fs/file.c:4234
#1: ffff888035b98a28 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
#1: ffff888035b98a28 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2172 [inline]
#1: ffff888035b98a28 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: __f2fs_ioctl+0x1e1c/0x9cc0 fs/f2fs/file.c:4234
7 locks held by syz-executor.5/10383:
1 lock held by syz-executor.0/11307:
4 locks held by syz-executor.5/11310:
3 locks held by kworker/0:4/11419:
6 locks held by syz-executor.1/11801:
1 lock held by syz-executor.3/11808:
1 lock held by syz-executor.0/11830:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-syzkaller-15365-g305230142ae0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/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+0xf87/0x1210 kernel/hung_task.c:379
kthread+0x33c/0x440 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:242
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 11830 Comm: syz-executor.0 Not tainted 6.6.0-syzkaller-15365-g305230142ae0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:__sanitizer_cov_trace_pc+0x59/0x60 kernel/kcov.c:225
Code: 82 d8 15 00 00 83 f8 02 75 20 48 8b 8a e0 15 00 00 8b 92 dc 15 00 00 48 8b 01 48 83 c0 01 48 39 d0 73 07 48 89 01 48 89 34 c1 66 0f 1f 44 00 00 f3 0f 1e fa 41 57 41 56 41 55 41 54 55 53 48
RSP: 0018:ffffc900048c7a80 EFLAGS: 00000246
RAX: 0000000000040000 RBX: 1ffff92000918f51 RCX: ffffc90014b3a000
RDX: 0000000000040000 RSI: ffffffff8868310b RDI: ffffc900048c7de0
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffc900048c7db0
R13: ffffc900048c7bb0 R14: ffffc900048c7b90 R15: ffffc900048c7aa8
FS: 00007f2e2e3546c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000203b9030 CR3: 000000001cac7000 CR4: 0000000000350ef0
Call Trace:
copy_msghdr_from_user+0x10b/0x160 net/socket.c:2528
recvmsg_copy_msghdr net/socket.c:2773 [inline]
___sys_recvmsg+0xdc/0x1a0 net/socket.c:2845
do_recvmmsg+0x2af/0x740 net/socket.c:2943
__sys_recvmmsg net/socket.c:3022 [inline]
__do_sys_recvmmsg net/socket.c:3045 [inline]
__se_sys_recvmmsg net/socket.c:3038 [inline]
__x64_sys_recvmmsg+0x235/0x290 net/socket.c:3038
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f2e2d67cae9
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:00007f2e2e3540c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f2e2d79c050 RCX: 00007f2e2d67cae9
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007f2e2d6c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f2e2d79c050 R15: 00007fff059419a8