INFO: task syz-executor.3:15717 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller-01224-g1ef6663a587b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24576 pid:15717 ppid:5052 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 reiserfs_get_block+0x280/0x5130 fs/reiserfs/inode.c:680 do_mpage_readpage+0x911/0x1fa0 fs/mpage.c:234 mpage_readahead+0x454/0x930 fs/mpage.c:382 read_pages+0x183/0x830 mm/readahead.c:161 page_cache_ra_unbounded+0x697/0x7c0 mm/readahead.c:270 do_sync_mmap_readahead+0x7b6/0x9a0 mm/filemap.c:3210 filemap_fault+0x81b/0x1810 mm/filemap.c:3302 __do_fault+0x136/0x500 mm/memory.c:4176 do_shared_fault mm/memory.c:4585 [inline] do_fault mm/memory.c:4663 [inline] do_pte_missing mm/memory.c:3647 [inline] handle_pte_fault mm/memory.c:4947 [inline] __handle_mm_fault mm/memory.c:5089 [inline] handle_mm_fault+0x2098/0x5860 mm/memory.c:5243 do_user_addr_fault arch/x86/mm/fault.c:1440 [inline] handle_page_fault arch/x86/mm/fault.c:1534 [inline] exc_page_fault+0x7d2/0x910 arch/x86/mm/fault.c:1590 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7fdaafa86cdf RSP: 002b:00007fffeca00b88 EFLAGS: 00010283 RAX: 00000000200000c0 RBX: 0000000000000000 RCX: 00007fdaaf600000 RDX: 0000000000000011 RSI: 00007fdaaf601660 RDI: 00000000200000c0 RBP: 00007fffeca00c48 R08: 00007fdaafa00000 R09: 00007fdaaf600000 R10: 00007fdaaf601648 R11: 0000000000020036 R12: 00000000000adfed R13: 00007fffeca00c70 R14: 00007fffeca00c90 R15: 0000000000000032 INFO: task syz-executor.3:15719 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller-01224-g1ef6663a587b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24064 pid:15719 ppid:5052 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 io_schedule+0x8c/0x100 kernel/sched/core.c:8979 folio_wait_bit_common+0x86c/0x12b0 mm/filemap.c:1301 __filemap_get_folio+0x90/0xa00 mm/filemap.c:1937 pagecache_get_page+0x2e/0x220 mm/folio-compat.c:99 find_or_create_page include/linux/pagemap.h:635 [inline] grab_cache_page include/linux/pagemap.h:757 [inline] grab_tail_page fs/reiserfs/inode.c:2199 [inline] reiserfs_truncate_file+0x21b/0x820 fs/reiserfs/inode.c:2267 reiserfs_vfs_truncate_file+0x2d/0x40 fs/reiserfs/file.c:133 reiserfs_direct_IO+0x1e2/0x210 fs/reiserfs/inode.c:3256 generic_file_direct_write+0x208/0x460 mm/filemap.c:3870 __generic_file_write_iter+0x1c8/0x400 mm/filemap.c:4030 generic_file_write_iter+0xaf/0x310 mm/filemap.c:4106 call_write_iter include/linux/fs.h:1872 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x782/0xaf0 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdaafa8c389 RSP: 002b:00007fdab0862168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fdaafbabf80 RCX: 00007fdaafa8c389 RDX: 0000000000000012 RSI: 00000000200002c0 RDI: 0000000000000004 RBP: 00007fdaafad7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffeca00b0f R14: 00007fdab0862300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf27530 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf278f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf27360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4754: #0: ffff88814a962098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1db0 drivers/tty/n_tty.c:2176 4 locks held by kworker/1:12/5427: #0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381 #1: ffffc90006077d20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383 #2: ffff8880395dc0e0 (&type->s_umount_key#64){++++}-{3:3}, at: flush_old_commits+0xcb/0x2f0 fs/reiserfs/super.c:97 #3: ffff888039fc4090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 2 locks held by syz-executor.3/15717: #0: ffff888080156e80 (mapping.invalidate_lock#12){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:826 [inline] #0: ffff888080156e80 (mapping.invalidate_lock#12){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xf1/0x7c0 mm/readahead.c:226 #1: ffff888039fc4090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 5 locks held by syz-executor.3/15719: #0: ffff88807bfb6848 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1047 #1: ffff8880395dc460 (sb_writers#19){.+.+}-{0:0}, at: vfs_write+0x216/0xaf0 fs/read_write.c:580 #2: ffff888080156ce0 (&sb->s_type->i_mutex_key#25){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline] #2: ffff888080156ce0 (&sb->s_type->i_mutex_key#25){+.+.}-{3:3}, at: generic_file_write_iter+0x83/0x310 mm/filemap.c:4103 #3: ffff888080156ab8 (&ei->tailpack){+.+.}-{3:3}, at: reiserfs_vfs_truncate_file+0x20/0x40 fs/reiserfs/file.c:132 #4: ffff888039fc4090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 2 locks held by syz-executor.3/17396: #0: ffff8880395dc0e0 (&type->s_umount_key#64){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 #1: ffff888039fc4090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-syzkaller-01224-g1ef6663a587b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 SeaBIOS (version 1.8.2-google) audit: type=2000 audit(1687890170.416:1): state=initialized audit_enabled=0 res=1