INFO: task kworker/0:1:14 blocked for more than 143 seconds. Not tainted 6.1.53-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1 state:D stack:24256 pid:14 ppid:2 flags:0x00004000 Workqueue: events_long flush_old_commits Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6689 __mutex_lock_common+0xe2b/0x2520 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 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+0x8aa/0x11f0 kernel/workqueue.c:2292 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d12a1b0 ( rcu_tasks.tasks_gp_mutex ){+.+.}-{3:3} , at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d12a9b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:516 4 locks held by kworker/0:1/14: #0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0} , at: process_one_work+0x77a/0x11f0 #1: ffffc90000137d20 ( (work_completion)(&(&sbi->old_work)->work) ){+.+.}-{0:0} , at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2267 #2: ffff88807acce0e0 ( &type->s_umount_key #41 ){++++}-{3:3} , at: flush_old_commits+0xc7/0x2e0 fs/reiserfs/super.c:97 #3: ffff8880182b3090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x76/0xd0 fs/reiserfs/lock.c:27 1 lock held by khungtaskd/28: #0: ffffffff8d129fe0 ( rcu_read_lock){....}-{1:2} , at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3303: #0: ffff8880288f7098 (&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:2188 6 locks held by syz-executor284/3568: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.53-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 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+0x1b0/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+0xf18/0xf60 kernel/hung_task.c:377 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3568 Comm: syz-executor284 Not tainted 6.1.53-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:check_region_inline mm/kasan/generic.c:172 [inline] RIP: 0010:kasan_check_range+0x14/0x290 mm/kasan/generic.c:189 Code: ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 41 57 41 56 53 b0 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd <48> 01 f5 0f 82 5a 02 00 00 48 89 fd 48 c1 ed 2f 81 fd ff ff 01 00 RSP: 0018:ffffc900001e0b18 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 0000000000000047 RCX: ffffffff816a018a RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9049f228 RBP: ffffffff9049f228 R08: dffffc0000000000 R09: fffffbfff2093e46 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807d460ad8 R13: ffff88807d460000 R14: ffff88807d460b78 R15: 1ffff1100fa8c16f FS: 0000555556421380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563b5cc699b8 CR3: 0000000070d07000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] check_wait_context kernel/locking/lockdep.c:4723 [inline] __lock_acquire+0x54a/0x1f80 kernel/locking/lockdep.c:4998 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5661 seqcount_lockdep_reader_access+0xf8/0x220 include/linux/seqlock.h:102 timekeeping_get_delta kernel/time/timekeeping.c:254 [inline] timekeeping_get_ns kernel/time/timekeeping.c:388 [inline] ktime_get+0x7f/0x270 kernel/time/timekeeping.c:848 clockevents_program_event+0xe1/0x310 kernel/time/clockevents.c:326 hrtimer_interrupt+0x546/0x980 kernel/time/hrtimer.c:1824 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:console_trylock_spinning+0x3ad/0x450 kernel/printk/printk.c:1919 Code: 0f 84 4c ff ff ff e8 62 87 1c 00 fb 31 db eb 41 e8 58 87 1c 00 e8 63 75 18 09 4d 85 ed 74 cd e8 49 87 1c 00 fb bb 01 00 00 00 <48> c7 c7 a0 61 00 8d 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 RSP: 0018:ffffc90003c9eba0 EFLAGS: 00000293 RAX: ffffffff816d8ce7 RBX: 0000000000000001 RCX: ffff88807d460000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003c9ec68 R08: ffffffff816d8ca0 R09: fffffbfff2093e5e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000793d74 R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000 vprintk_emit+0xb8/0x1f0 kernel/printk/printk.c:2267 _printk+0xd1/0x111 kernel/printk/printk.c:2289 __reiserfs_warning+0x14f/0x1a0 fs/reiserfs/prints.c:290 reiserfs_read_bitmap_block+0x232/0x6c0 fs/reiserfs/bitmap.c:1434 scan_bitmap_block+0x19d/0xfe0 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+0x3296/0x5150 fs/reiserfs/inode.c:756 __block_write_begin_int+0x544/0x1a30 fs/buffer.c:1991 reiserfs_write_begin+0x249/0x510 fs/reiserfs/inode.c:2775 generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3754 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3882 generic_file_write_iter+0xab/0x310 mm/filemap.c:3914 call_write_iter include/linux/fs.h:2205 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7ae/0xba0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7feae1946f99 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff1204e6a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007feae1990095 RCX: 00007feae1946f99 RDX: 000000000208e24b RSI: 0000000020000280 RDI: 0000000000000005 RBP: 00007feae19bc5f0 R08: 0000000020000000 R09: 00005555564224c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff1204e6d0 R13: 00007fff1204e8f8 R14: 431bde82d7b634db R15: 00007feae199001d INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.147 msecs