INFO: task segctord:11714 blocked for more than 143 seconds.
Tainted: G L syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:segctord state:D stack:28680 pid:11714 tgid:11714 ppid:2 task_flags:0x200040 flags:0x00080000
Call Trace:
context_switch kernel/sched/core.c:5298 [inline]
__schedule+0x15dd/0x52d0 kernel/sched/core.c:6911
__schedule_loop kernel/sched/core.c:6993 [inline]
schedule+0x164/0x360 kernel/sched/core.c:7008
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7065
rwsem_down_write_slowpath+0x899/0x1040 kernel/locking/rwsem.c:1185
__down_write_common kernel/locking/rwsem.c:1317 [inline]
__down_write kernel/locking/rwsem.c:1326 [inline]
down_write+0x1bc/0x200 kernel/locking/rwsem.c:1591
nilfs_transaction_lock+0x252/0x4c0 fs/nilfs2/segment.c:357
nilfs_segctor_thread_construct fs/nilfs2/segment.c:2569 [inline]
nilfs_segctor_thread+0x6b5/0xdc0 fs/nilfs2/segment.c:2684
kthread+0x388/0x470 kernel/kthread.c:436
ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Showing all locks held in the system:
3 locks held by kworker/1:0/24:
1 lock held by khungtaskd/32:
#0: ffffffff8e75e520 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
#0: ffffffff8e75e520 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline]
#0: ffffffff8e75e520 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
1 lock held by dhcpcd/5483:
#0: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
#0: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_newaddr+0x65f/0xe30 net/ipv6/addrconf.c:5031
2 locks held by getty/5577:
#0: ffff8880364e30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000331e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0 drivers/tty/n_tty.c:2211
3 locks held by kworker/1:4/5903:
3 locks held by syz.7.1240/11713:
1 lock held by segctord/11714:
#0: ffff8880532d42a0 (&nilfs->ns_segctor_sem){++++}-{4:4}, at: nilfs_transaction_lock+0x252/0x4c0 fs/nilfs2/segment.c:357
2 locks held by kworker/u8:7/13152:
#0: ffff88813fe4c948 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3251 [inline]
#0: ffff88813fe4c948 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0 kernel/workqueue.c:3359
#1: ffffc90004807c40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3252 [inline]
#1: ffffc90004807c40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0 kernel/workqueue.c:3359
4 locks held by kworker/u8:16/13157:
#0: ffff88801b6d6948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3251 [inline]
#0: ffff88801b6d6948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0 kernel/workqueue.c:3359
#1: ffffc9000490fc40 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3252 [inline]
#1: ffffc9000490fc40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0 kernel/workqueue.c:3359
#2: ffffffff8fbbf1f0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x800 net/core/net_namespace.c:675
#3: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: ipmr_net_exit_batch+0x20/0x90 net/ipv4/ipmr.c:3276
3 locks held by kworker/u8:18/13161:
#0: ffff8880319a0148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3251 [inline]
#0: ffff8880319a0148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0 kernel/workqueue.c:3359
#1: ffffc900047d7c40 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3252 [inline]
#1: ffffc900047d7c40 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0 kernel/workqueue.c:3359
#2: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
#2: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x11e/0x14c0 net/ipv6/addrconf.c:4198
3 locks held by kworker/u8:19/13166:
#0: ffff88813fe4c148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3251 [inline]
#0: ffff88813fe4c148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0 kernel/workqueue.c:3359
#1: ffffc90004a67c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3252 [inline]
#1: ffffc90004a67c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0 kernel/workqueue.c:3359
#2: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:313
3 locks held by kworker/0:1/13966:
#0: ffff88813fe0f148 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3251 [inline]
#0: ffff88813fe0f148 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0 kernel/workqueue.c:3359
#1: ffffc90004857c40 ((fqdir_free_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3252 [inline]
#1: ffffc90004857c40 ((fqdir_free_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0 kernel/workqueue.c:3359
#2: ffffffff8e764680 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x580 kernel/rcu/tree.c:3828
1 lock held by syz.3.1403/14123:
5 locks held by syz-executor/15628:
#0: ffffffff8fc3b730 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1217
#1: ffffffff8fc3b548 (genl_mutex){+.+.}-{4:4}, at: genl_lock net/netlink/genetlink.c:35 [inline]
#1: ffffffff8fc3b548 (genl_mutex){+.+.}-{4:4}, at: genl_op_lock net/netlink/genetlink.c:60 [inline]
#1: ffffffff8fc3b548 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0 net/netlink/genetlink.c:1208
#2: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: wg_set_device_doit+0x170/0x2070 drivers/net/wireguard/netlink.c:484
#3: ffff888051741528 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_set_device_doit+0x18b/0x2070 drivers/net/wireguard/netlink.c:485
#4: ffff888051740d40 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2784 [inline]
#4: ffff888051740d40 (&dev->lock){+.+.}-{4:4}, at: netif_napi_add_weight include/linux/netdevice.h:2816 [inline]
#4: ffff888051740d40 (&dev->lock){+.+.}-{4:4}, at: netif_napi_add include/linux/netdevice.h:2834 [inline]
#4: ffff888051740d40 (&dev->lock){+.+.}-{4:4}, at: wg_peer_create+0x532/0x8c0 drivers/net/wireguard/peer.c:57
1 lock held by syz-executor/15634:
#0: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
#0: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0 net/ipv4/devinet.c:978
1 lock held by syz-executor/15673:
#0: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
#0: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_newaddr+0x65f/0xe30 net/ipv6/addrconf.c:5031
2 locks held by syz-executor/15700:
#0: ffffffff9013a0d8 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
#0: ffffffff9013a0d8 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline]
#0: ffffffff9013a0d8 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570
#1: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline]
#1: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline]
#1: ffffffff8fbcd988 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8a1/0x1be0 net/core/rtnetlink.c:4071
3 locks held by modprobe/15819:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 32 Comm: khungtaskd Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:161 [inline]
__sys_info lib/sys_info.c:157 [inline]
sys_info+0x135/0x170 lib/sys_info.c:165
check_hung_uninterruptible_tasks kernel/hung_task.c:346 [inline]
watchdog+0xfd9/0x1030 kernel/hung_task.c:515
kthread+0x388/0x470 kernel/kthread.c:436
ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 11713 Comm: syz.7.1240 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:__ref_is_percpu include/linux/percpu-refcount.h:174 [inline]
RIP: 0010:percpu_ref_put_many include/linux/percpu-refcount.h:332 [inline]
RIP: 0010:percpu_ref_put+0x86/0x180 include/linux/percpu-refcount.h:351
Code: 1f c6 05 a0 f3 c1 0d 01 48 c7 c7 80 af dc 8b be 54 03 00 00 48 c7 c2 c0 af dc 8b e8 c4 58 68 ff 49 bd 00 00 00 00 00 fc ff df <4c> 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 74 62 f6 ff
RSP: 0018:ffffc90003e6d968 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffffff82397ad9 RCX: 0000000080000001
RDX: 00000000e09b0e3f RSI: ffffffff8c27bde0 RDI: ffffffff8c27bda0
RBP: 0000000000000000 R08: ffffffff82397ad9 R09: ffffffff8e75e520
R10: dffffc0000000000 R11: fffffbfff2023357 R12: ffff88802add8c80
R13: dffffc0000000000 R14: ffff88802add8c80 R15: ffffea000268bb40
FS: 00007f918d6276c0(0000) GS:ffff888125560000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5008c23fe8 CR3: 0000000057731000 CR4: 0000000000350ef0
Call Trace:
obj_cgroup_put include/linux/memcontrol.h:794 [inline]
__memcg_slab_free_hook+0x155/0x470 mm/memcontrol.c:3284
memcg_slab_free_hook mm/slub.c:2484 [inline]
slab_free mm/slub.c:6162 [inline]
kmem_cache_free+0x377/0x630 mm/slub.c:6295
free_buffer_head+0x55/0x220 fs/buffer.c:3042
try_to_free_buffers+0x25b/0x300 fs/buffer.c:2983
shrink_folio_list+0x2226/0x5290 mm/vmscan.c:1491
evict_folios+0x4795/0x5880 mm/vmscan.c:4718
try_to_shrink_lruvec+0xb62/0xfa0 mm/vmscan.c:4881
lru_gen_shrink_lruvec mm/vmscan.c:5030 [inline]
shrink_lruvec+0x509/0x2b60 mm/vmscan.c:5784
shrink_node_memcgs mm/vmscan.c:6020 [inline]
shrink_node+0xa41/0x3a90 mm/vmscan.c:6061
shrink_zones mm/vmscan.c:6300 [inline]
do_try_to_free_pages+0x6a2/0x1980 mm/vmscan.c:6362
try_to_free_mem_cgroup_pages+0x2dd/0x820 mm/vmscan.c:6683
try_charge_memcg+0x827/0x1560 mm/memcontrol.c:2414
try_charge mm/memcontrol.c:2556 [inline]
charge_memcg mm/memcontrol.c:4744 [inline]
__mem_cgroup_charge+0xab/0x1e0 mm/memcontrol.c:4761
mem_cgroup_charge include/linux/memcontrol.h:664 [inline]
filemap_add_folio+0x152/0x530 mm/filemap.c:959
__filemap_get_folio_mpol+0x500/0xb00 mm/filemap.c:2021
__filemap_get_folio include/linux/pagemap.h:774 [inline]
filemap_grab_folio include/linux/pagemap.h:854 [inline]
nilfs_grab_buffer+0xae/0x490 fs/nilfs2/page.c:56
nilfs_mdt_submit_block+0xb5/0x870 fs/nilfs2/mdt.c:123
nilfs_mdt_read_block+0x46/0x320 fs/nilfs2/mdt.c:178
nilfs_mdt_get_block+0x15f/0xb80 fs/nilfs2/mdt.c:254
nilfs_cpfile_get_checkpoint_block fs/nilfs2/cpfile.c:181 [inline]
nilfs_cpfile_delete_checkpoints+0x2b2/0xce0 fs/nilfs2/cpfile.c:487
nilfs_ioctl_delete_checkpoints fs/nilfs2/ioctl.c:680 [inline]
nilfs_ioctl_prepare_clean_segments+0x158/0x800 fs/nilfs2/ioctl.c:781
nilfs_clean_segments+0x18c/0xa50 fs/nilfs2/segment.c:2525
nilfs_ioctl_clean_segments fs/nilfs2/ioctl.c:916 [inline]
nilfs_ioctl+0x261f/0x2780 fs/nilfs2/ioctl.c:1346
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f918c79c799
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:00007f918d627028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f918ca16090 RCX: 00007f918c79c799
RDX: 0000200000000440 RSI: 0000000040786e88 RDI: 0000000000000007
RBP: 00007f918c832c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f918ca16128 R14: 00007f918ca16090 R15: 00007ffd262403b8