INFO: task segctord:5079 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:segctord state:D stack:28464 pid: 5079 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5049 [inline]
__schedule+0x11c3/0x4350 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
rwsem_down_write_slowpath+0xe63/0x13a0 kernel/locking/rwsem.c:1165
nilfs_transaction_lock+0x24a/0x4b0 fs/nilfs2/segment.c:355
nilfs_segctor_thread_construct fs/nilfs2/segment.c:2576 [inline]
nilfs_segctor_thread+0x528/0x1100 fs/nilfs2/segment.c:2661
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0:
ffffffff8d11f2a0
(
rcu_read_lock
){....}-{1:2}
, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3952:
#0:
ffff88814c40e098
(
&tty->ldisc_sem
){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1:
ffffc900026562e8
(
&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0x594/0x1a50 drivers/tty/n_tty.c:2158
3 locks held by kworker/0:11/4273:
#0:
ffff88802c1ac138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1: ffffc900034bfd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2:
ffffffff8e26f548
(rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xc4/0x1530 net/ipv6/addrconf.c:4138
3 locks held by kworker/0:13/4275:
#0: ffff888017870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1: ffffc900034efd00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2: ffffffff8e26f548 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74
2 locks held by kworker/u4:5/4292:
2 locks held by syz.0.17/5078:
1 lock held by segctord/5079:
#0: ffff8880252bd2a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x24a/0x4b0 fs/nilfs2/segment.c:355
2 locks held by syz.1.18/5099:
1 lock held by segctord/5100:
#0: ffff88805c30b2a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x24a/0x4b0 fs/nilfs2/segment.c:355
2 locks held by syz.2.19/5118:
1 lock held by segctord/5119:
#0: ffff88807a9002a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x24a/0x4b0 fs/nilfs2/segment.c:355
2 locks held by syz.3.20/5136:
1 lock held by segctord/5137:
#0: ffff88802d1082a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x24a/0x4b0 fs/nilfs2/segment.c:355
2 locks held by syz.4.21/5166:
1 lock held by segctord/5167:
#0: ffff88802a9d72a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x24a/0x4b0 fs/nilfs2/segment.c:355
2 locks held by syz.5.22/5192:
1 lock held by segctord/5193:
#0: ffff88802d0f02a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x24a/0x4b0 fs/nilfs2/segment.c:355
2 locks held by syz.6.23/5219:
1 lock held by segctord/5220:
#0: ffff8880658552a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x24a/0x4b0 fs/nilfs2/segment.c:355
3 locks held by syz-executor/5227:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
nmi_cpu_backtrace+0x3a2/0x3d0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xe1b/0xe60 kernel/hung_task.c:369
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5166 Comm: syz.4.21 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3753 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3773 [inline]
RIP: 0010:validate_chain kernel/locking/lockdep.c:3828 [inline]
RIP: 0010:__lock_acquire+0x1475/0x7e20 kernel/locking/lockdep.c:5134
Code: b8 eb 83 b5 80 46 86 c8 61 49 0f af c4 48 c1 e8 2d 48 8d 1c c5 00 00 bc 90 48 89 d8 48 c1 e8 03 48 89 44 24 20 42 80 3c 00 00 <74> 12 48 89 df e8 91 8b 61 00 49 b8 00 00 00 00 00 fc ff df 48 89
RSP: 0018:ffffc90000007800 EFLAGS: 00000046
RAX: 1ffffffff219253a RBX: ffffffff90c929d0 RCX: ffffffff815d3091
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff91050100
RBP: ffffc90000007a48 R08: dffffc0000000000 R09: 1ffffffff220a020
R10: dffffc0000000000 R11: fffffbfff220a021 R12: dd6df12b0986c1f8
R13: ffff88801e96bb80 R14: 000000000986c1f8 R15: ffff88801e96c6e0
FS: 00007f69e52d16c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f922172beb8 CR3: 0000000074b96000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x19f/0x400 kernel/locking/lockdep.c:5751
call_timer_fn+0xe6/0x540 kernel/time/timer.c:1669
expire_timers kernel/time/timer.c:1723 [inline]
__run_timers+0x56c/0x810 kernel/time/timer.c:1994
handle_softirqs+0x336/0x830 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:console_trylock_spinning+0x301/0x370 kernel/printk/printk.c:1909
Code: 85 db 74 89 e8 60 fc 18 00 fb 31 c0 eb 48 e8 56 fc 18 00 e8 21 3c 6b 08 48 85 db 74 d1 e8 47 fc 18 00 fb 48 c7 c7 a0 3d 11 8d <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 68 2a 5b 60
RSP: 0018:ffffc9000337f4e0 EFLAGS: 00000293
RAX: ffffffff81605b29 RBX: 0000000000000200 RCX: ffff88801e96bb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8d113da0
RBP: ffffc9000337f5b0 R08: ffffffff91050207 R09: 1ffffffff220a040
R10: dffffc0000000000 R11: fffffbfff220a041 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 1ffff9200066fe9c
vprintk_emit+0xa7/0x150 kernel/printk/printk.c:2273
_printk+0xda/0x130 kernel/printk/printk.c:2299
__nilfs_msg+0x2d8/0x3b0 fs/nilfs2/super.c:78
nilfs_clean_segments+0x6ef/0xbb0 fs/nilfs2/segment.c:2544
nilfs_ioctl_clean_segments fs/nilfs2/ioctl.c:933 [inline]
nilfs_ioctl+0x2068/0x21b0 fs/nilfs2/ioctl.c:1285
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f69e5c6f819
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f69e52d1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f69e5ee8fa0 RCX: 00007f69e5c6f819
RDX: 0000200000000640 RSI: 0000000040786e88 RDI: 0000000000000004
RBP: 00007f69e5d05c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f69e5ee9038 R14: 00007f69e5ee8fa0 R15: 00007fff59805228