INFO: task kworker/1:2:1784 blocked for more than 143 seconds. Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:23224 pid:1784 tgid:1784 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:2630 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2703 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2784 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: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/u4:5/60: #0: ffff8880b983c358 (&rq->__lock){-.-.}-{2:2}, at: process_one_work kernel/workqueue.c:2605 [inline] ffff8880b983c358 (&rq->__lock){-.-.}-{2:2}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #1: ffffc900015b7d20 ((work_completion)(&(&bat_priv->mcast.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc900015b7d20 ((work_completion)(&(&bat_priv->mcast.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #2: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #2: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #2: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] #2: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: batadv_nc_worker+0xcb/0x610 net/batman-adv/network-coding.c:719 4 locks held by kworker/1:2/1784: #0: ffff888012c71538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012c71538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #1: ffffc90004da7d20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc90004da7d20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #2: ffff88807bdbe0e0 (&type->s_umount_key#24){++++}-{3:3}, at: flush_old_commits+0xcb/0x2f0 fs/reiserfs/super.c:97 #3: ffff88807e21b090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 2 locks held by getty/4817: #0: ffff888026c2e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 5 locks held by syz-executor.4/7540: 2 locks held by syz-executor.4/9342: #0: ffff88807bdbe0e0 (&type->s_umount_key#24){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807bdbe0e0 (&type->s_umount_key#24){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117 #1: ffff88807e21b090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 2 locks held by syz-executor.4/9346: #0: ffff88807bdbe0e0 (&type->s_umount_key#24){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807bdbe0e0 (&type->s_umount_key#24){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117 #1: ffff88807e21b090 ( &sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7540 Comm: syz-executor.4 Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:number+0xd36/0xf90 lib/vsprintf.c:520 Code: 84 24 c0 00 00 00 0f 85 65 02 00 00 4c 89 f8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 21 94 7d f6 48 8b 1c 24 41 89 de 03 00 00 00 89 de e8 be 97 7d f6 83 fb 03 49 bd 00 00 00 00 00 RSP: 0018:ffffc900166559e0 EFLAGS: 00000282 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff88801c6c0000 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffffc90016655af0 R08: ffffffff8b10de02 R09: 0000000000000000 R10: ffffc90016655a60 R11: fffff52002ccab4f R12: 0000000000000003 R13: 0000000000000001 R14: 00000000ffffffff R15: ffffc90016655e43 FS: 00007f2c476946c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f047f716866 CR3: 000000001ec09000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vsnprintf+0x1542/0x1da0 lib/vsprintf.c:2885 sprintf+0xda/0x120 lib/vsprintf.c:3023 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_new_form_blocknrs fs/reiserfs/reiserfs.h:3345 [inline] get_empty_nodes+0x5b4/0xd90 fs/reiserfs/fix_node.c:879 fix_nodes+0x261b/0x8ce0 fs/reiserfs/fix_node.c:2663 reiserfs_paste_into_item+0x656/0x880 fs/reiserfs/stree.c:2129 reiserfs_get_block+0x2250/0x5130 fs/reiserfs/inode.c:1069 __block_write_begin_int+0x54d/0x1ad0 fs/buffer.c:2119 reiserfs_write_begin+0x24d/0x520 fs/reiserfs/inode.c:2767 generic_cont_expand_simple+0x18b/0x2a0 fs/buffer.c:2473 reiserfs_setattr+0x57d/0x1140 fs/reiserfs/inode.c:3298 notify_change+0xb99/0xe60 fs/attr.c:499 do_truncate+0x220/0x300 fs/open.c:66 do_sys_ftruncate+0x2f3/0x390 fs/open.c:194 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f2c4687cae9 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:00007f2c476940c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f2c4699c050 RCX: 00007f2c4687cae9 RDX: 0000000000000000 RSI: 0000000002007ffb RDI: 0000000000000008 RBP: 00007f2c468c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c4699c050 R15: 00007fffc0c921e8