INFO: task kworker/1:7:5134 blocked for more than 143 seconds. Not tainted 6.6.0-rc7-syzkaller-00039-g4f82870119a4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:7 state:D stack:23880 pid:5134 ppid:2 flags:0x00004000 Workqueue: events_long flush_old_commits Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __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/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 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:304 INFO: task syz-executor.0:9797 blocked for more than 144 seconds. Not tainted 6.6.0-rc7-syzkaller-00039-g4f82870119a4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24008 pid:9797 ppid:5063 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __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_get_block+0x280/0x5130 fs/reiserfs/inode.c:680 do_mpage_readpage+0x90c/0x1f80 fs/mpage.c:234 mpage_readahead+0x44f/0x920 fs/mpage.c:382 read_pages+0x183/0x830 mm/readahead.c:160 page_cache_ra_unbounded+0x68e/0x7c0 mm/readahead.c:269 page_cache_sync_readahead include/linux/pagemap.h:1293 [inline] filemap_get_pages+0x49c/0x2080 mm/filemap.c:2556 filemap_splice_read+0x4ce/0xcd0 mm/filemap.c:2919 splice_direct_to_actor+0x2c4/0x9e0 fs/splice.c:1069 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1194 do_sendfile+0x623/0x1070 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 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:0x7f9f4807cae9 RSP: 002b:00007f9f48d9a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f9f4819bf80 RCX: 00007f9f4807cae9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f9f480c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9f4819bf80 R15: 00007ffd843dee08 INFO: task syz-executor.0:9814 blocked for more than 145 seconds. Not tainted 6.6.0-rc7-syzkaller-00039-g4f82870119a4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25464 pid:9814 ppid:5063 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 io_schedule+0x8c/0x100 kernel/sched/core.c:9026 folio_wait_bit_common+0x881/0x12a0 mm/filemap.c:1301 __filemap_get_folio+0xa3/0xbb0 mm/filemap.c:1882 pagecache_get_page+0x2f/0x590 mm/folio-compat.c:99 find_or_create_page include/linux/pagemap.h:723 [inline] grab_cache_page include/linux/pagemap.h:845 [inline] grab_tail_page fs/reiserfs/inode.c:2197 [inline] reiserfs_truncate_file+0x21b/0x820 fs/reiserfs/inode.c:2265 reiserfs_vfs_truncate_file+0x2d/0x40 fs/reiserfs/file.c:133 reiserfs_direct_IO+0x1e2/0x210 fs/reiserfs/inode.c:3255 generic_file_direct_write+0x1e3/0x3f0 mm/filemap.c:3894 __generic_file_write_iter+0x125/0x230 mm/filemap.c:4050 generic_file_write_iter+0xaf/0x310 mm/filemap.c:4090 do_iter_write+0x84f/0xde0 fs/read_write.c:860 iter_file_splice_write+0x86d/0x1010 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0xea/0x1c0 fs/splice.c:1142 splice_direct_to_actor+0x376/0x9e0 fs/splice.c:1088 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1194 do_sendfile+0x623/0x1070 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 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:0x7f9f4807cae9 RSP: 002b:00007f9f48d790c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f9f4819c050 RCX: 00007f9f4807cae9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f9f480c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9f4819c050 R15: 00007ffd843dee08 INFO: task syz-executor.0:9815 blocked for more than 147 seconds. Not tainted 6.6.0-rc7-syzkaller-00039-g4f82870119a4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28872 pid:9815 ppid:5063 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __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_lookup+0x162/0x580 fs/reiserfs/namei.c:364 lookup_one_qstr_excl+0x11b/0x250 fs/namei.c:1609 filename_create+0x297/0x530 fs/namei.c:3891 do_mkdirat+0xbe/0x360 fs/namei.c:4136 __do_sys_mkdirat fs/namei.c:4159 [inline] __se_sys_mkdirat fs/namei.c:4157 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4157 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:0x7f9f4807cae9 RSP: 002b:00007f9f48d580c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f9f4819c120 RCX: 00007f9f4807cae9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 00007f9f480c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f9f4819c120 R15: 00007ffd843dee08 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8d331df8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8d331df8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992 2 locks held by kworker/0:0/8: #0: ffff888012872938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012872938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc900000d7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc900000d7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 1 lock held by khungtaskd/29: #0: ffffffff8d32c460 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8d32c460 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8d32c460 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 2 locks held by getty/4787: #0: ffff88802a39a0a0 (&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+0x6b1/0x1dc0 drivers/tty/n_tty.c:2206 4 locks held by kworker/1:7/5134: #0: ffff888012871538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012871538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc900045b7d20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc900045b7d20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #2: ffff88801eef20e0 (&type->s_umount_key#24){++++}-{3:3}, at: flush_old_commits+0xcb/0x2f0 fs/reiserfs/super.c:97 #3: ffff888063422090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 3 locks held by syz-executor.0/9797: #0: ffff88801eef2410 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x600/0x1070 fs/read_write.c:1253 #1: ffff8880301f5400 (mapping.invalidate_lock#8){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:857 [inline] #1: ffff8880301f5400 (mapping.invalidate_lock#8){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xf1/0x7c0 mm/readahead.c:225 #2: ffff888063422090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 4 locks held by syz-executor.0/9814: #0: ffff88801eef2410 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x600/0x1070 fs/read_write.c:1253 #1: ffff8880301f5260 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff8880301f5260 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: generic_file_write_iter+0x83/0x310 mm/filemap.c:4087 #2: ffff8880301f5038 (&ei->tailpack){+.+.}-{3:3}, at: reiserfs_vfs_truncate_file+0x20/0x40 fs/reiserfs/file.c:132 #3: ffff888063422090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 3 locks held by syz-executor.0/9815: #0: ffff88801eef2410 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:403 #1: ffff8880301f6640 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline] #1: ffff8880301f6640 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x260/0x530 fs/namei.c:3890 #2: ffff888063422090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 2 locks held by syz-executor.0/11841: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc7-syzkaller-00039-g4f82870119a4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/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+0xfa9/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:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11841 Comm: syz-executor.0 Not tainted 6.6.0-rc7-syzkaller-00039-g4f82870119a4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:check_wait_context kernel/locking/lockdep.c:4772 [inline] RIP: 0010:__lock_acquire+0x5fd/0x7f70 kernel/locking/lockdep.c:5086 Code: 84 c0 4c 8b 3c 24 4c 8b 6c 24 50 0f 85 66 16 00 00 83 3d 15 b2 80 10 00 0f 84 10 06 00 00 31 db 48 81 c3 c8 00 00 00 48 89 d8 <48> c1 e8 03 0f b6 04 10 84 c0 0f 85 94 14 00 00 44 0f b6 33 48 8b RSP: 0018:ffffc900182aecc0 EFLAGS: 00000086 RAX: ffffffff903bbd48 RBX: ffffffff903bbd48 RCX: ffffffff816d10ad RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff906e4380 RBP: ffffc900182aef88 R08: ffffffff906e4387 R09: 1ffffffff20dc870 R10: dffffc0000000000 R11: fffffbfff20dc871 R12: ffff88801ab25940 R13: ffff88801ab26400 R14: 0000000000020020 R15: ffff88801ab26478 FS: 00007f5f4966f6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110f30ef17 CR3: 00000000204ab000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5753 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:749 [inline] page_ext_get+0x3d/0x2a0 mm/page_ext.c:508 __page_table_check_zero+0x13d/0x4a0 mm/page_table_check.c:140 prep_new_page mm/page_alloc.c:1543 [inline] get_page_from_freelist+0x31db/0x3360 mm/page_alloc.c:3170 __alloc_pages+0x255/0x670 mm/page_alloc.c:4426 __folio_alloc+0x13/0x30 mm/page_alloc.c:4458 vma_alloc_folio+0x48a/0x9a0 mm/mempolicy.c:2260 shmem_alloc_folio mm/shmem.c:1658 [inline] shmem_alloc_and_acct_folio+0x438/0x9b0 mm/shmem.c:1683 shmem_get_folio_gfp+0xca4/0x2b60 mm/shmem.c:2020 shmem_get_folio mm/shmem.c:2143 [inline] shmem_write_begin+0x170/0x300 mm/shmem.c:2688 generic_perform_write+0x31b/0x630 mm/filemap.c:3969 shmem_file_write_iter+0xfc/0x120 mm/shmem.c:2865 call_write_iter include/linux/fs.h:1956 [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:0x7f5f4887b82f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007f5f4966ee70 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f5f4887b82f RDX: 0000000001000000 RSI: 00007f5f3efff000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000005597 R10: 0000000000000002 R11: 0000000000000293 R12: 0000000000000003 R13: 00007f5f4966ef3c R14: 00007f5f4966ef40 R15: 00007f5f3efff000