INFO: task kworker/0:7:5000 blocked for more than 143 seconds. Not tainted 5.15.189-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:7 state:D stack:25536 pid: 5000 ppid: 2 flags:0x00004000 Workqueue: events_long flush_old_commits Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518 __mutex_lock_common+0xc71/0x2390 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+0x75/0xd0 fs/reiserfs/lock.c:27 reiserfs_sync_fs fs/reiserfs/super.c:76 [inline] flush_old_commits+0x1de/0x2f0 fs/reiserfs/super.c:111 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Showing all locks held in the system: 4 locks held by kworker/0:0/7: #0: ffff888016871138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90000cc7d00 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff8880609e20e0 (&type->s_umount_key#53){++++}-{3:3}, at: flush_old_commits+0xc8/0x2f0 fs/reiserfs/super.c:97 #3: ffff8880753a0090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 1 lock held by khungtaskd/27: #0: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 4 locks held by kworker/1:2/1108: #0: ffff888016871138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000462fd00 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff888068e9e0e0 (&type->s_umount_key#53){++++}-{3:3}, at: flush_old_commits+0xc8/0x2f0 fs/reiserfs/super.c:97 #3: ffff88807d89b090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 2 locks held by getty/3944: #0: ffff88807f470098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002cf62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 4 locks held by kworker/1:3/4200: #0: ffff888016871138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002eefd00 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff888068ba00e0 (&type->s_umount_key#53){++++}-{3:3}, at: flush_old_commits+0xc8/0x2f0 fs/reiserfs/super.c:97 #3: ffff8880601c4090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 4 locks held by kworker/0:4/4206: #0: ffff888016871138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002f4fd00 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff888079f260e0 (&type->s_umount_key#53){++++}-{3:3}, at: flush_old_commits+0xc8/0x2f0 fs/reiserfs/super.c:97 #3: ffff88801afe9090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 4 locks held by kworker/1:4/4253: #0: ffff888016871138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002fdfd00 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff88807afd40e0 (&type->s_umount_key#53){++++}-{3:3}, at: flush_old_commits+0xc8/0x2f0 fs/reiserfs/super.c:97 #3: ffff8880203d4090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 4 locks held by kworker/0:7/5000: #0: ffff888016871138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000321fd00 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff88807531e0e0 (&type->s_umount_key#53){++++}-{3:3}, at: flush_old_commits+0xc8/0x2f0 fs/reiserfs/super.c:97 #3: ffff888079a4f090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 3 locks held by syz.0.20/5069: 3 locks held by syz.1.40/5171: 3 locks held by syz.2.71/5321: 3 locks held by syz.3.87/5404: 3 locks held by syz.4.93/5463: 3 locks held by syz.5.97/5505: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 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: 5505 Comm: syz.5.97 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:direntry_part_size+0x14f/0x1a0 fs/reiserfs/item_ops.c:596 Code: ff df eb b5 89 f9 80 e1 07 38 c1 7c c0 be 02 00 00 00 e8 14 89 bc ff eb b4 e8 0d 25 78 ff 44 89 f0 5b 41 5c 41 5d 41 5e 41 5f <5d> c3 89 d9 80 e1 07 38 c1 0f 8c 19 ff ff ff be 02 00 00 00 48 89 RSP: 0018:ffffc90005936ad0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000001018 RCX: ffff88802c241dc0 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: 00000000ffffffff R08: 0000000000000000 R09: 00000000ffffffff R10: 00000000ffffffff R11: 0000000000000000 R12: ffff888057ba0080 R13: dffffc0000000000 R14: ffffffff8c27bf40 R15: 1ffff1100af74010 FS: 00007fdaff1196c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdaffea5160 CR3: 000000005e2a5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: get_num_ver+0x40d/0xfd0 fs/reiserfs/fix_node.c:471 ip_check_balance fs/reiserfs/fix_node.c:1523 [inline] check_balance fs/reiserfs/fix_node.c:2083 [inline] fix_nodes+0x2867/0x82d0 fs/reiserfs/fix_node.c:2635 reiserfs_paste_into_item+0x5c8/0x7e0 fs/reiserfs/stree.c:2130 reiserfs_get_block+0x1bde/0x4100 fs/reiserfs/inode.c:1077 __block_write_begin_int+0x54e/0x15a0 fs/buffer.c:2012 reiserfs_write_begin+0x34b/0x810 fs/reiserfs/inode.c:2790 generic_cont_expand_simple+0xe9/0x190 fs/buffer.c:2362 reiserfs_setattr+0x42f/0x1010 fs/reiserfs/inode.c:3319 notify_change+0xbcd/0xee0 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 do_sys_ftruncate+0x31b/0x3d0 fs/open.c:193 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fdaffec1d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdaff119038 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007fdb000b2080 RCX: 00007fdaffec1d29 RDX: 0000000000000000 RSI: 0000000000000f88 RDI: 0000000000000004 RBP: 00007fdafff3db08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdb000b2080 R15: 00007fff9adc85b8