INFO: task kworker/0:4:4186 blocked for more than 143 seconds. Not tainted 5.15.171-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:4 state:D stack:23296 pid: 4186 ppid: 2 flags:0x00004000 Workqueue: events_long flush_old_commits Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6515 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 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+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 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: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3923: #0: ffff88814d198098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002ccb2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 4 locks held by kworker/0:4/4186: #0: ffff888017071138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003087d20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff88807c83e0e0 (&type->s_umount_key#50){++++}-{3:3}, at: flush_old_commits+0xc7/0x2e0 fs/reiserfs/super.c:97 #3: ffff88801dc51090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x76/0xd0 fs/reiserfs/lock.c:27 3 locks held by syz-executor.0/4565: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.171-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/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 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: 4565 Comm: syz-executor.0 Not tainted 5.15.171-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:check_wait_context kernel/locking/lockdep.c:4709 [inline] RIP: 0010:__lock_acquire+0x718/0x1ff0 kernel/locking/lockdep.c:4962 Code: 75 1f 48 8b 44 24 68 0f b6 04 10 84 c0 0f 85 e2 14 00 00 83 3f 00 41 0f 94 c7 45 00 ff 41 80 c7 02 48 8b 44 24 40 0f b6 04 10 <84> c0 0f 85 19 13 00 00 48 8b 44 24 30 44 3b 20 0f 8d 6c 02 00 00 RSP: 0018:ffffc90000007a80 EFLAGS: 00000002 RAX: 0000000000000000 RBX: 00000000000849be RCX: ffff888026eae430 RDX: dffffc0000000000 RSI: 0000000000000002 RDI: ffff888026eae414 RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff20ec622 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000003 R13: ffff888026eae428 R14: 1ffff11004dd5c99 R15: ffff888026eae402 FS: 00007f7d582e56c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f26c4b80000 CR3: 0000000024d46000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x662/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/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+0x36b/0x3f0 kernel/printk/printk.c:1909 Code: 0f 84 75 ff ff ff e8 24 15 1a 00 fb 31 db eb 48 e8 1a 15 1a 00 e8 45 e0 cd 08 4d 85 ed 74 cd e8 0b 15 1a 00 fb bb 01 00 00 00 <48> c7 c7 20 c5 7f 8c 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 RSP: 0018:ffffc90003286a40 EFLAGS: 00000293 RAX: ffffffff81665ea5 RBX: 0000000000000001 RCX: ffff888026ead940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003286b10 R08: ffffffff81665e5e R09: fffffbfff20ec648 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000650d48 R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000 vprintk_emit+0xa6/0x150 kernel/printk/printk.c:2273 _printk+0xd1/0x120 kernel/printk/printk.c:2299 __reiserfs_warning+0x14f/0x1a0 fs/reiserfs/prints.c:290 reiserfs_read_bitmap_block+0x209/0x670 fs/reiserfs/bitmap.c:1434 scan_bitmap_block+0x1a7/0x1060 fs/reiserfs/bitmap.c:164 scan_bitmap fs/reiserfs/bitmap.c:402 [inline] allocate_without_wrapping_disk fs/reiserfs/bitmap.c:1161 [inline] blocknrs_and_prealloc_arrays_from_search_start fs/reiserfs/bitmap.c:1274 [inline] reiserfs_allocate_blocknrs+0x2cf5/0x5070 fs/reiserfs/bitmap.c:1375 reiserfs_get_block+0x32b4/0x5390 fs/reiserfs/inode.c:764 __block_write_begin_int+0x60b/0x1650 fs/buffer.c:2012 reiserfs_write_begin+0x346/0x810 fs/reiserfs/inode.c:2790 generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3785 __generic_file_write_iter+0x243/0x4f0 mm/filemap.c:3912 generic_file_write_iter+0xa7/0x1b0 mm/filemap.c:3944 do_iter_readv_writev+0x594/0x7a0 do_iter_write+0x1e6/0x760 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_pwritev+0x219/0x360 fs/read_write.c:1025 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f7d58f63b29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7d582e50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f7d59082f80 RCX: 00007f7d58f63b29 RDX: 0000000000000001 RSI: 0000000020000480 RDI: 0000000000000005 RBP: 00007f7d58faf47a R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000f000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7d59082f80 R15: 00007ffc5ac52e08