INFO: task kworker/0:0:26517 blocked for more than 143 seconds. Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:23096 pid:26517 tgid:26517 ppid:2 flags:0x00004000 Workqueue: events_long flush_old_commits Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6a3/0xd60 kernel/locking/mutex.c:747 reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 reiserfs_sync_fs fs/reiserfs/super.c:76 [inline] flush_old_commits+0x1e3/0x2f0 fs/reiserfs/super.c:111 process_one_work kernel/workqueue.c:2627 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2700 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2781 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4808: #0: ffff88802aef80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 4 locks held by kworker/0:0/26517: #0: ffff888012c71538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #0: ffff888012c71538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #1: ffffc90015a5fd20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #1: ffffc90015a5fd20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #2: ffff888077eb60e0 (&type->s_umount_key#24){++++}-{3:3}, at: flush_old_commits+0xcb/0x2f0 fs/reiserfs/super.c:97 #3: ffff888021d72090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 8 locks held by syz-executor.3/7341: 2 locks held by syz-executor.3/9025: #0: ffff888077eb60e0 (&type->s_umount_key#24){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888077eb60e0 (&type->s_umount_key#24){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117 #1: ffff888021d72090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7341 Comm: syz-executor.3 Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:format_decode+0x919/0x1bb0 lib/vsprintf.c:2620 Code: 00 e8 bb 68 7d f6 eb 13 e8 b4 68 7d f6 eb 0c e8 ad 68 7d f6 eb 05 e8 a6 68 7d f6 49 8d 5c 24 01 48 8b 44 24 30 42 80 3c 30 00 <74> 08 4c 89 ef e8 3d 6e d9 f6 48 89 9c 24 80 00 00 00 48 89 d8 48 RSP: 0018:ffffc90004d161a0 EFLAGS: 00000246 RAX: 1ffff920009a2c44 RBX: ffffffff8b6b6484 RCX: 0000000000040000 RDX: ffffc90009eb2000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90004d16290 R08: 0000000000000001 R09: ffffffff8b11116d R10: 0000000000000005 R11: ffff888026493b80 R12: ffffffff8b6b6483 R13: ffffc90004d16220 R14: dffffc0000000000 R15: 000000000000006c FS: 00007f4e861426c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556532681600 CR3: 0000000029b1f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vsnprintf+0x14f/0x1da0 lib/vsprintf.c:2776 sprintf+0xda/0x120 lib/vsprintf.c:3028 print_time kernel/printk/printk.c:1324 [inline] info_print_prefix+0x16b/0x300 kernel/printk/printk.c:1350 record_print_text kernel/printk/printk.c:1399 [inline] printk_get_next_message+0x408/0xce0 kernel/printk/printk.c:2828 console_emit_next_record kernel/printk/printk.c:2868 [inline] console_flush_all+0x42a/0xeb0 kernel/printk/printk.c:2967 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3036 vprintk_emit+0x508/0x720 kernel/printk/printk.c:2303 _printk+0xd5/0x120 kernel/printk/printk.c:2328 __reiserfs_warning+0x153/0x1a0 fs/reiserfs/prints.c:290 reiserfs_read_bitmap_block+0x236/0x6d0 fs/reiserfs/bitmap.c:1434 scan_bitmap_block+0x1a1/0xff0 fs/reiserfs/bitmap.c:164 scan_bitmap fs/reiserfs/bitmap.c:391 [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+0x2b0a/0x5070 fs/reiserfs/bitmap.c:1375 reiserfs_get_block+0x3280/0x5130 fs/reiserfs/inode.c:756 __block_write_begin_int+0x54d/0x1ad0 fs/buffer.c:2119 reiserfs_write_begin+0x24d/0x520 fs/reiserfs/inode.c:2767 generic_perform_write+0x31b/0x630 mm/filemap.c:3918 generic_file_write_iter+0xaf/0x310 mm/filemap.c:4039 do_iter_readv_writev+0x330/0x4a0 do_iter_write+0x1f6/0x8d0 fs/read_write.c:860 vfs_writev fs/read_write.c:933 [inline] do_writev+0x27f/0x470 fs/read_write.c:976 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f4e8547cce9 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:00007f4e861420c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f4e8559bf80 RCX: 00007f4e8547cce9 RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000004 RBP: 00007f4e854c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f4e8559bf80 R15: 00007fff274108a8