INFO: task segctord:5618 blocked for more than 143 seconds.
Not tainted 6.10.0-syzkaller-12710-g3a7e02c040b1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:segctord state:D stack:27280 pid:5618 tgid:5618 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d7/0x220 kernel/locking/rwsem.c:1580
nilfs_transaction_lock+0x25d/0x4f0 fs/nilfs2/segment.c:357
nilfs_segctor_thread_construct fs/nilfs2/segment.c:2536 [inline]
nilfs_segctor_thread+0x551/0x11b0 fs/nilfs2/segment.c:2622
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e737660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff8e737660 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff8e737660 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6620
2 locks held by getty/4968:
#0: ffff88802b1120a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
2 locks held by syz.4.34/5616:
1 lock held by segctord/5618:
#0: ffff888022a352a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x25d/0x4f0 fs/nilfs2/segment.c:357
2 locks held by syz-executor/6193:
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffffffff8eb45008 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444
1 lock held by syz.4.118/6484:
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.0.142/6857:
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.3.134/6863:
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.1.168/7030:
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.2.170/7268:
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88802ab460e0 (&type->s_umount_key#72){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.0.212/7337:
#0: ffffffff8e73ca38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:296 [inline]
#0: ffffffff8e73ca38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:958
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-syzkaller-12710-g3a7e02c040b1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xfee/0x1030 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 2511 Comm: kworker/u8:7 Not tainted 6.10.0-syzkaller-12710-g3a7e02c040b1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:check_preemption_disabled+0x67/0x120 lib/smp_processor_id.c:19
Code: 85 ce 00 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5e 41 5f c3 cc cc cc cc 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 <74> c5 49 89 f6 49 89 ff 65 4c 8b 24 25 00 d7 03 00 41 f6 44 24 2f
RSP: 0018:ffffc900091e7968 EFLAGS: 00000046
RAX: 0000000080000000 RBX: 0000000000000001 RCX: ffffc900091e7a03
RDX: 0000000000000002 RSI: ffffffff8beae720 RDI: ffffffff8c3f9560
RBP: ffffc900091e7ad8 R08: ffffffff8ff65cef R09: 1ffffffff1fecb9d
R10: dffffc0000000000 R11: fffffbfff1fecb9e R12: 1ffff9200123cf40
R13: 0000000000000246 R14: ffffc900091e7a30 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6c988d2178 CR3: 000000001b388000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lockdep_recursion_finish kernel/locking/lockdep.c:466 [inline]
lock_release+0x5ec/0xa30 kernel/locking/lockdep.c:5782
rcu_lock_release include/linux/rcupdate.h:336 [inline]
rcu_read_unlock include/linux/rcupdate.h:869 [inline]
batadv_nc_process_nc_paths+0x2f0/0x3a0 net/batman-adv/network-coding.c:699
batadv_nc_worker+0x42a/0x610 net/batman-adv/network-coding.c:728
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244