INFO: task syz-executor.0:10252 blocked for more than 143 seconds.
Not tainted 6.5.0-rc7-syzkaller-g706a74159504 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:24040 pid:10252 ppid:5045 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1873/0x48f0 kernel/sched/core.c:6710
schedule+0xc3/0x180 kernel/sched/core.c:6786
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
__down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
inode_lock include/linux/fs.h:771 [inline]
f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2160 [inline]
__f2fs_ioctl+0x3597/0xb770 fs/f2fs/file.c:4199
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xf8/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f09b807cae9
RSP: 002b:00007f09b8dc10c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f09b819bf80 RCX: 00007f09b807cae9
RDX: 0000000000000000 RSI: 000000000000f502 RDI: 0000000000000005
RBP: 00007f09b80c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f09b819bf80 R15: 00007ffd343a2bd8
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8d3295f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8d3299b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/28:
#0: ffffffff8d329420 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
4 locks held by kworker/u4:3/47:
#0: ffff888019a46938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2572
#1: ffffc90000b87d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2574
#2: ffff8880162840e0 (&type->s_umount_key#75){++++}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:413
#3: ffff888019ad12a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2133 [inline]
#3: ffff888019ad12a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x51a/0x6f0 fs/f2fs/segment.c:435
2 locks held by kworker/u4:5/1193:
2 locks held by getty/4768:
#0:
ffff88802d1ea098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2187
1 lock held by syz-executor.5/5057:
#0: ffff8880576960e0 (&type->s_umount_key#65){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:360
2 locks held by syz-executor.4/5059:
#0: ffff8880548fa0e0 (&type->s_umount_key#65){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:360
#1: ffffffff8d32eab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#1: ffffffff8d32eab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992
2 locks held by kworker/1:3/5102:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2572
#1: ffffc90005217d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2574
2 locks held by kworker/0:5/5106:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2572
#1: ffffc9000528fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2574
2 locks held by kworker/1:6/5107:
#0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2572
#1: ffffc9000529fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2574
2 locks held by kworker/1:13/5287:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2572
#1: ffffc90005b5fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2574
2 locks held by syz-executor.0/10252:
#0: ffff888016284410 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write_file+0x61/0x200 fs/namespace.c:447
#1: ffff88804e36bf38 (&sb->s_type->i_mutex_key#31){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#1: ffff88804e36bf38 (&sb->s_type->i_mutex_key#31){+.+.}-{3:3}, at: f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2160 [inline]
#1: ffff88804e36bf38 (&sb->s_type->i_mutex_key#31){+.+.}-{3:3}, at: __f2fs_ioctl+0x3597/0xb770 fs/f2fs/file.c:4199
6 locks held by syz-executor.0/10301:
3 locks held by kworker/1:17/10552:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2572
#1: ffffc9000608fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2574
#2: ffffffff8d32eab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#2: ffffffff8d32eab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992
1 lock held by syz-executor.0/12278:
1 lock held by dhcpcd/12280:
#0: ffff88802ca06130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1714 [inline]
#0: ffff88802ca06130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xc10 net/packet/af_packet.c:3206
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc7-syzkaller-g706a74159504 #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+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x187/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+0xec2/0xf00 kernel/hung_task.c:379
kthread+0x2b8/0x350 kernel/kthread.c:389
ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 2854 Comm: kworker/u4:7 Not tainted 6.5.0-rc7-syzkaller-g706a74159504 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:lockdep_hardirqs_off+0x53/0x100 kernel/locking/lockdep.c:4458
Code: 65 8b 05 b8 e1 46 75 a9 00 00 f0 00 74 65 83 3d c2 ee 3d 07 00 75 15 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 <75> 76 65 8b 05 0c b2 45 75 85 c0 74 53 65 48 8b 1d 78 e1 46 75 48
RSP: 0018:ffffc9000ca7fa28 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffffff81545af6 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8b0a9880 RDI: ffffffff8b58ade0
RBP: ffffc9000ca7fb10 R08: ffff8880197c5643 R09: 1ffff110032f8ac8
R10: dffffc0000000000 R11: ffffed10032f8ac9 R12: dffffc0000000000
R13: 1ffff9200194ff54 R14: ffffffff81545af6 R15: 0000000000000201
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000559df23d8680 CR3: 000000000d130000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_hardirqs_off+0x12/0x40 kernel/trace/trace_preemptirq.c:87
__local_bh_enable_ip+0x106/0x1f0 kernel/softirq.c:363
spin_unlock_bh include/linux/spinlock.h:396 [inline]
batadv_nc_purge_paths+0x309/0x3a0 net/batman-adv/network-coding.c:471
batadv_nc_worker+0x30f/0x5c0 net/batman-adv/network-coding.c:722
process_one_work+0x92c/0x12c0 kernel/workqueue.c:2600
worker_thread+0xa63/0x1210 kernel/workqueue.c:2751
kthread+0x2b8/0x350 kernel/kthread.c:389
ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304