INFO: task segctord:9850 blocked for more than 143 seconds.
Not tainted 6.10.0-next-20240726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:segctord state:D stack:28272 pid:9850 tgid:9850 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5239 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6603
__schedule_loop kernel/sched/core.c:6680 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6695
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752
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:144
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Showing all locks held in the system:
5 locks held by kworker/u8:0/11:
1 lock held by khungtaskd/30:
#0: ffffffff8e937a60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff8e937a60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff8e937a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6695
2 locks held by getty/4981:
#0: ffff88802fda10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
2 locks held by syz.4.947/9846:
1 lock held by segctord/9850:
#0: ffff88801249c2a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x25d/0x4f0 fs/nilfs2/segment.c:357
1 lock held by syz.3.1506/12191:
#0: ffffffff8e93cd00 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:4486
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-next-20240726-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
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+0xff4/0x1040 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 5328 Comm: kworker/0:6 Not tainted 6.10.0-next-20240726-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:chacha_permute+0x381/0x1050 lib/crypto/chacha.c:30
Code: 24 01 da 89 54 24 24 41 31 d5 41 c1 c5 10 8b 54 24 54 44 01 ca 41 31 d3 41 89 d4 41 c1 c3 0c 44 01 f6 31 f1 c1 c1 0c 45 89 d0 <41> 89 ea 8b 54 24 50 01 fa 41 31 d7 41 c1 c7 0c 44 01 e8 31 c3 c1
RSP: 0018:ffffc90004447548 EFLAGS: 00000086
RAX: 00000000d69bac40 RBX: 0000000017a486d9 RCX: 000000004e2edd1e
RDX: 00000000970e3f2d RSI: 000000006365dc80 RDI: 00000000de911d00
RBP: 00000000c29ae74a R08: 000000001d4ca803 R09: 000000004f48c7a9
R10: 000000001d4ca803 R11: 000000008fa4aa9e R12: 00000000970e3f2d
R13: 000000006d287ae9 R14: 000000000fc4c8c2 R15: 0000000078db90cf
FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c3a60a2 CR3: 000000013fe84000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
chacha_block_generic+0x9f/0x1340 lib/crypto/chacha.c:83
chacha20_block include/crypto/chacha.h:36 [inline]
crng_fast_key_erasure drivers/char/random.c:318 [inline]
crng_make_state+0x38d/0xa80 drivers/char/random.c:384
_get_random_bytes+0xd7/0x2c0 drivers/char/random.c:398
eth_random_addr include/linux/etherdevice.h:238 [inline]
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:756 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline]
nsim_dev_trap_report_work+0x32f/0xaa0 drivers/net/netdevsim/dev.c:850
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:144
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244