INFO: task syz-executor.4:14434 blocked for more than 143 seconds.
Not tainted 6.5.0-rc4-syzkaller-00051-g7bafbd4027ae #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:24736 pid:14434 ppid:5055 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0xee1/0x59f0 kernel/sched/core.c:6710
schedule+0xe7/0x1b0 kernel/sched/core.c:6786
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
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:771 [inline]
f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2160 [inline]
__f2fs_ioctl+0x223f/0xa0f0 fs/f2fs/file.c:4199
f2fs_ioctl+0x192/0x220 fs/f2fs/file.c:4287
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:856
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:0x7efdb9e7cae9
RSP: 002b:00007efdbac940c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007efdb9f9bf80 RCX: 00007efdb9e7cae9
RDX: 0000000000000000 RSI: 000000000000f502 RDI: 0000000000000005
RBP: 00007efdb9ec847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007efdb9f9bf80 R15: 00007ffd2e414678
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c9a5970 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c9a5670 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/28:
#0: ffffffff8c9a6580 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615
2 locks held by getty/4774:
#0: ffff888028ede098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015d02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187
4 locks held by kworker/u4:9/6389:
#0: ffff88801329d138 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff88801329d138 ((wq_completion)writeback){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff88801329d138 ((wq_completion)writeback){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff88801329d138 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff88801329d138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff88801329d138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff88801329d138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567
#1: ffffc90015b6fd80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571
#2: ffff88803dca80e0 (&type->s_umount_key#77){++++}-{3:3}, at: trylock_super+0x1c/0x100 fs/super.c:413
#3: ffff8880829fd2a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2133 [inline]
#3: ffff8880829fd2a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x553/0x6e0 fs/f2fs/segment.c:435
2 locks held by kworker/u4:10/6535:
#0: ffff8880b993c3d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558
#1: ffffc9001647fd80 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571
2 locks held by syz-executor.4/14434:
#0: ffff88803dca8410 (sb_writers#18){.+.+}-{0:0}, at: f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2154 [inline]
#0: ffff88803dca8410 (sb_writers#18){.+.+}-{0:0}, at: __f2fs_ioctl+0x21b4/0xa0f0 fs/f2fs/file.c:4199
#1: ffff8880897f0a28 (&sb->s_type->i_mutex_key#25){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#1: ffff8880897f0a28 (&sb->s_type->i_mutex_key#25){+.+.}-{3:3}, at: f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2160 [inline]
#1: ffff8880897f0a28 (&sb->s_type->i_mutex_key#25){+.+.}-{3:3}, at: __f2fs_ioctl+0x223f/0xa0f0 fs/f2fs/file.c:4199
6 locks held by syz-executor.4/14439:
2 locks held by syz-executor.5/15359:
#0: ffff88803dca80e0 (&type->s_umount_key#77){++++}-{3:3}, at: iterate_supers+0xdf/0x290 fs/super.c:742
#1: ffff88801f6d67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff88801f6d67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x19d/0xa50 fs/fs-writeback.c:2734
2 locks held by syz-executor.1/15392:
#0: ffff88803dca80e0 (&type->s_umount_key#77){++++}-{3:3}, at: iterate_supers+0xdf/0x290 fs/super.c:742
#1: ffff88801f6d67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff88801f6d67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x19d/0xa50 fs/fs-writeback.c:2734
2 locks held by syz-executor.0/15401:
#0: ffff88803dca80e0 (&type->s_umount_key#77){++++}-{3:3}, at: iterate_supers+0xdf/0x290 fs/super.c:742
#1: ffff88801f6d67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff88801f6d67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x19d/0xa50 fs/fs-writeback.c:2734
2 locks held by syz-executor.2/15409:
#0: ffff88803dca80e0 (&type->s_umount_key#77){++++}-{3:3}, at: iterate_supers+0xdf/0x290 fs/super.c:742
#1: ffff88801f6d67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff88801f6d67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x19d/0xa50 fs/fs-writeback.c:2734
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc4-syzkaller-00051-g7bafbd4027ae #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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+0x2ac/0x310 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+0xf29/0x11b0 kernel/hung_task.c:379
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 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: 6535 Comm: kworker/u4:10 Not tainted 6.5.0-rc4-syzkaller-00051-g7bafbd4027ae #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:kasan_check_range+0x1a/0x190 mm/kasan/generic.c:186
Code: 5d 41 5c c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 48 85 f6 0f 84 48 01 00 00 48 89 f8 41 54 44 0f b6 c2 48 01 f0 55 <53> 0f 82 c6 00 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 f8 0f 83
RSP: 0018:ffffc9001647fad8 EFLAGS: 00000282
RAX: ffffffff8eab8998 RBX: 0000000000000001 RCX: ffffffff81670a35
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8eab8990
RBP: 1ffff92002c8ff60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8c9a6580
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001c3ec80 CR3: 0000000079a08000 CR4: 0000000000350ee0
Call Trace:
instrument_atomic_read include/linux/instrumented.h:68 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
cpumask_test_cpu include/linux/cpumask.h:504 [inline]
cpu_online include/linux/cpumask.h:1082 [inline]
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0xa5/0x680 kernel/locking/lockdep.c:5772
rcu_lock_release include/linux/rcupdate.h:308 [inline]
rcu_read_unlock include/linux/rcupdate.h:782 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0x8ff/0x10f0 net/batman-adv/network-coding.c:719
process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597
worker_thread+0x687/0x1110 kernel/workqueue.c:2748
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304