INFO: task kworker/0:0:7 blocked for more than 143 seconds. Not tainted 6.1.114-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:24608 pid:7 ppid:2 flags:0x00004000 Workqueue: events_long flush_old_commits Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747 reiserfs_write_lock+0x76/0xd0 fs/reiserfs/lock.c:27 reiserfs_sync_fs fs/reiserfs/super.c:76 [inline] flush_old_commits+0x1df/0x2e0 fs/reiserfs/super.c:111 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:295 Showing all locks held in the system: 4 locks held by kworker/0:0/7: #0: ffff888017c71138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900000c7d20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff8880207240e0 (&type->s_umount_key#65){++++}-{3:3}, at: flush_old_commits+0xc7/0x2e0 fs/reiserfs/super.c:97 #3: ffff88805d184090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x76/0xd0 fs/reiserfs/lock.c:27 3 locks held by kworker/u4:0/9: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32b1d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d32b9d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/27: #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6510 2 locks held by getty/3396: #0: ffff88802e73b098 (&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:2198 4 locks held by syz.2.83/4171: 2 locks held by syz.1.195/4604: #0: ffff8880207240e0 (&type->s_umount_key#65){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:755 #1: ffff88805d184090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x76/0xd0 fs/reiserfs/lock.c:27 2 locks held by kworker/1:11/4787: #0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000340fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 2 locks held by syz.0.254/5184: #0: ffff8880207240e0 (&type->s_umount_key#65){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:755 #1: ffff88805d184090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x76/0xd0 fs/reiserfs/lock.c:27 2 locks held by syz.4.432/5558: #0: ffff8880207240e0 (&type->s_umount_key#65){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:755 #1: ffff88805d184090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x76/0xd0 fs/reiserfs/lock.c:27 1 lock held by syz-executor/6354: #0: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962 1 lock held by syz.3.721/6671: #0: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x930 kernel/rcu/tree_exp.h:962 2 locks held by syz.2.725/6682: 2 locks held by syz.1.727/6686: 1 lock held by udevadm/6687: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.1.114-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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+0x1ae/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:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6686 Comm: syz.1.727 Not tainted 6.1.114-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:lock_acquire+0x199/0x5a0 kernel/locking/lockdep.c:5658 Code: eb 03 42 80 3c 2b 00 74 08 4c 89 ff e8 a0 7b 77 00 48 c7 84 24 80 00 00 00 00 00 00 00 9c 8f 84 24 80 00 00 00 42 80 3c 2b 00 <74> 08 4c 89 ff e8 fd 7a 77 00 48 8d 5c 24 60 4c 8b bc 24 80 00 00 RSP: 0018:ffffc900053174e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff92000a62eac RCX: ffffffff816a995b RDX: 0000000000000000 RSI: ffffffff8b5d7520 RDI: ffffffff8b5d74e0 RBP: ffffc90005317630 R08: dffffc0000000000 R09: fffffbfff1d34036 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000a62ea4 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffc90005317560 FS: 00007f0e9a9ff6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055eb9922ec08 CR3: 000000005d093000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] get_mem_cgroup_from_mm+0x51/0x290 mm/memcontrol.c:1036 __mem_cgroup_charge+0x12/0x80 mm/memcontrol.c:6940 mem_cgroup_charge include/linux/memcontrol.h:672 [inline] shmem_add_to_page_cache+0xaa6/0x1e60 mm/shmem.c:708 shmem_get_folio_gfp+0x164e/0x3470 mm/shmem.c:1971 shmem_get_folio mm/shmem.c:2072 [inline] shmem_write_begin+0x16e/0x4e0 mm/shmem.c:2559 generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3845 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3973 generic_file_write_iter+0xab/0x310 mm/filemap.c:4005 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x857/0xbc0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 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:0x7f0e9ab7cadf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 c9 8d 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 1c 8e 02 00 48 RSP: 002b:00007f0e9a9fedf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f0e9ab7cadf RDX: 0000000001000000 RSI: 00007f0e909f7000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000062c7 R10: 000000000000079a R11: 0000000000000293 R12: 0000000000000003 R13: 00007f0e9a9feef0 R14: 00007f0e9a9feeb0 R15: 00007f0e909f7000