INFO: task syz-executor.1:5887 blocked for more than 143 seconds. Not tainted 6.1.90-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25048 pid:5887 ppid:5204 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 rwsem_down_write_slowpath+0xea1/0x14b0 kernel/locking/rwsem.c:1189 user_get_super+0xd3/0x250 fs/super.c:876 quotactl_block fs/quota/quota.c:890 [inline] __do_sys_quotactl fs/quota/quota.c:954 [inline] __se_sys_quotactl+0x490/0x770 fs/quota/quota.c:916 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f39a4c7dca9 RSP: 002b:00007f39a37f60c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007f39a4dabf80 RCX: 00007f39a4c7dca9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: ffffffff80000300 RBP: 00007f39a4cc947e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f39a4dabf80 R15: 00007ffca6d4b988 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d12ae50 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d12b650 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8d12ac80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d12ac80 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d12ac80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494 2 locks held by getty/3301: #0: ffff88814165f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188 3 locks held by kworker/u4:6/3864: #0: ffff8880b993aa18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 #1: ffffc9000563fd20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff88801faf10d8 (&lo->lo_work_lock){..-.}-{2:2}, at: spin_lock_irq include/linux/spinlock.h:376 [inline] #2: ffff88801faf10d8 (&lo->lo_work_lock){..-.}-{2:2}, at: loop_process_work+0x1d4d/0x2200 drivers/block/loop.c:1947 5 locks held by syz-executor.1/5073: #0: ffff8880229aa0e0 (&type->s_umount_key#25/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 #1: ffff8880509502e0 (&type->i_mutex_dir_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff8880509502e0 (&type->i_mutex_dir_key#20){+.+.}-{3:3}, at: reiserfs_xattr_init+0x1f3/0x730 fs/reiserfs/xattr.c:1004 #2: ffffc900056800f0 (&journal->j_mutex){+.+.}-{3:3}, at: reiserfs_mutex_lock_safe fs/reiserfs/reiserfs.h:814 [inline] #2: ffffc900056800f0 (&journal->j_mutex){+.+.}-{3:3}, at: lock_journal fs/reiserfs/journal.c:534 [inline] #2: ffffc900056800f0 (&journal->j_mutex){+.+.}-{3:3}, at: do_journal_end+0x377/0x4870 fs/reiserfs/journal.c:4029 #3: ffff8880618e9c90 (&jl->j_commit_mutex){+.+.}-{3:3}, at: reiserfs_mutex_lock_safe fs/reiserfs/reiserfs.h:814 [inline] #3: ffff8880618e9c90 (&jl->j_commit_mutex){+.+.}-{3:3}, at: flush_commit_list+0x66a/0x1bf0 fs/reiserfs/journal.c:1007 #4: ffff8880b983aa18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 1 lock held by syz-executor.1/5887: #0: ffff8880229aa0e0 (&type->s_umount_key#107){++++}-{3:3}, at: user_get_super+0xd3/0x250 fs/super.c:876 1 lock held by syz-executor.1/7869: #0: ffff8880229aa0e0 (&type->s_umount_key#107){++++}-{3:3}, at: user_get_super+0xd3/0x250 fs/super.c:876 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.90-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5064 Comm: kworker/0:13 Not tainted 6.1.90-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events nsim_dev_trap_report_work RIP: 0010:chacha_permute+0x413/0x1050 lib/crypto/chacha.c:46 Code: fa 41 31 d7 41 c1 c7 07 44 01 e8 31 c3 c1 c3 07 41 01 ca 45 31 d5 41 c1 c5 10 45 01 f8 45 31 c1 41 c1 c1 10 8b 6c 24 14 01 dd <89> 6c 24 14 41 31 ee 41 c1 c6 10 8b 74 24 24 44 01 de 89 74 24 24 RSP: 0018:ffffc90004d175e8 EFLAGS: 00000003 RAX: 00000000a8bcb478 RBX: 00000000df1af4f3 RCX: 00000000e0495e7a RDX: 00000000e89f6bdb RSI: 0000000032f2ec09 RDI: 00000000bb34ff29 RBP: 0000000032fd0cb6 R08: 0000000048a0a799 R09: 0000000021447b93 R10: 000000009ac2b15f R11: 0000000021f7746e R12: 000000004803f51b R13: 00000000b641f646 R14: 00000000e2ff71a5 R15: 00000000f2a2e315 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000fbe558 CR3: 000000000ce8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: chacha_block_generic+0x9b/0x1340 lib/crypto/chacha.c:83 chacha20_block include/crypto/chacha.h:36 [inline] crng_fast_key_erasure drivers/char/random.c:259 [inline] crng_make_state+0x3f2/0xb50 drivers/char/random.c:352 _get_random_bytes+0xd3/0x2b0 drivers/char/random.c:366 eth_random_addr include/linux/etherdevice.h:232 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:755 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x2f9/0xa90 drivers/net/netdevsim/dev.c:850 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308