INFO: task kworker/u4:4:59 blocked for more than 143 seconds. Not tainted 6.7.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:4 state:D stack:19440 pid:59 tgid:59 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:4) 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 io_schedule+0x8c/0x100 kernel/sched/core.c:8998 folio_wait_bit_common+0x881/0x12b0 mm/filemap.c:1273 folio_lock include/linux/pagemap.h:1031 [inline] write_cache_pages+0x517/0x1400 mm/page-writeback.c:2441 do_writepages+0x412/0x670 mm/page-writeback.c:2558 __writeback_single_inode+0x155/0xfc0 fs/fs-writeback.c:1625 writeback_sb_inodes+0x8e3/0x1220 fs/fs-writeback.c:1916 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:1987 wb_writeback+0x461/0xc70 fs/fs-writeback.c:2094 wb_check_background_flush fs/fs-writeback.c:2164 [inline] wb_do_writeback fs/fs-writeback.c:2252 [inline] wb_workfn+0xc33/0xfb0 fs/fs-writeback.c:2279 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 INFO: task syz-executor.4:5758 blocked for more than 144 seconds. Not tainted 6.7.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:23024 pid:5758 tgid:5756 ppid:5104 flags:0x00004006 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 map_block_for_writepage fs/reiserfs/inode.c:2380 [inline] reiserfs_write_full_folio fs/reiserfs/inode.c:2576 [inline] reiserfs_writepage+0xa21/0x38b0 fs/reiserfs/inode.c:2729 writepage_cb+0x64/0x130 mm/page-writeback.c:2537 write_cache_pages+0x827/0x1400 mm/page-writeback.c:2474 do_writepages+0x412/0x670 mm/page-writeback.c:2558 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:387 __filemap_fdatawrite_range mm/filemap.c:420 [inline] file_write_and_wait_range+0x20f/0x300 mm/filemap.c:778 reiserfs_sync_file+0x70/0x270 fs/reiserfs/file.c:151 generic_write_sync include/linux/fs.h:2653 [inline] generic_file_write_iter+0x2a1/0x310 mm/filemap.c:4043 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x792/0xb20 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 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:0x7f48e967cae9 RSP: 002b:00007f48ea3e50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f48e979bf80 RCX: 00007f48e967cae9 RDX: 00000000fffffdef RSI: 0000000020000140 RDI: 0000000000000005 RBP: 00007f48e96c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f48e979bf80 R15: 00007ffd7a706f98 INFO: task syz-executor.4:5776 blocked for more than 144 seconds. Not tainted 6.7.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:25936 pid:5776 tgid:5756 ppid:5104 flags:0x00004006 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 io_schedule+0x8c/0x100 kernel/sched/core.c:8998 folio_wait_bit_common+0x881/0x12b0 mm/filemap.c:1273 __filemap_get_folio+0xa3/0xbb0 mm/filemap.c:1864 pagecache_get_page+0x2c/0x1f0 mm/folio-compat.c:99 find_or_create_page include/linux/pagemap.h:740 [inline] grab_cache_page include/linux/pagemap.h:856 [inline] convert_tail_for_hole fs/reiserfs/inode.c:592 [inline] reiserfs_get_block+0x3a26/0x5130 fs/reiserfs/inode.c:921 __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:0x7f48e967cae9 RSP: 002b:00007f48ea3c40c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f48e979c050 RCX: 00007f48e967cae9 RDX: 0000000000000000 RSI: 0000000007000000 RDI: 0000000000000006 RBP: 00007f48e96c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f48e979c050 R15: 00007ffd7a706f98 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 1 lock held by khugepaged/35: 3 locks held by kworker/u4:3/48: 3 locks held by kworker/u4:4/59: #0: ffff888142641d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888142641d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #1: ffffc900015a7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc900015a7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #2: ffff888061a0e0e0 (&type->s_umount_key#24){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:610 2 locks held by getty/4814: #0: ffff888029bf20a0 (&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 syz-executor.5/5110: 2 locks held by kworker/1:2/17577: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #1: ffffc900146ffd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc900146ffd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 4 locks held by kworker/0:2/3212: #0: ffff888012c71538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] ffff888012c71538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #1: ffffc9000ac4fd20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc9000ac4fd20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #2: ffff888061a0e0e0 (&type->s_umount_key#24){++++}-{3:3}, at: flush_old_commits+0xcb/0x2f0 fs/reiserfs/super.c:97 #3: ffff88807b633090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 3 locks held by syz-executor.4/5758: #0: ffff888030c5cfc8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2b0/0x340 fs/file.c:1177 #1: ffff888061a0e418 (sb_writers#26){.+.+}-{0:0}, at: vfs_write+0x223/0xb20 fs/read_write.c:580 #2: ffff88807b633090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 3 locks held by syz-executor.4/5776: #0: ffff888061a0e418 (sb_writers#26){.+.+}-{0:0}, at: do_sys_ftruncate+0x258/0x390 fs/open.c:191 #1: ffff88803bab8980 (&sb->s_type->i_mutex_key#31){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff88803bab8980 (&sb->s_type->i_mutex_key#31){+.+.}-{3:3}, at: do_truncate+0x20c/0x300 fs/open.c:64 #2: ffff88807b633090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock_nested+0x5f/0xd0 fs/reiserfs/lock.c:78 2 locks held by syz-executor.4/7767: 4 locks held by syz-executor.2/7769: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc4-syzkaller #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: 4500 Comm: klogd Not tainted 6.7.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:vsnprintf+0x1ca3/0x1da0 Code: c1 0f 8c c8 f5 ff ff 48 8b 7c 24 10 e8 26 eb d9 f6 48 8b 54 24 10 e9 b4 f5 ff ff e8 b7 e2 7d f6 4c 8b 64 24 48 48 8b 5c 24 50 14 e8 a6 e2 7d f6 4c 89 74 24 28 4c 8b 7c 24 18 4c 8b 64 24 48 RSP: 0018:ffffc900030ef820 EFLAGS: 00000293 RAX: ffffffff8b109789 RBX: 000000007fffffff RCX: ffff88807cd23b80 RDX: 0000000000000000 RSI: ffffffff8b6b6cc3 RDI: ffffc900030efba2 RBP: ffffc900030ef910 R08: ffffc900030efba2 R09: 1ffff9200061df74 R10: dffffc0000000000 R11: fffff5200061df75 R12: 1ffff9200061df10 R13: dffffc0000000000 R14: ffffc900030efba3 R15: ffffc900830efb9f FS: 00007f584be15380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc1bf004d58 CR3: 000000002636e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sprintf+0xda/0x120 lib/vsprintf.c:3023 print_syslog kernel/printk/printk.c:1317 [inline] info_print_prefix+0xde/0x300 kernel/printk/printk.c:1347 record_print_text kernel/printk/printk.c:1399 [inline] syslog_print+0x4b7/0x9b0 kernel/printk/printk.c:1610 do_syslog+0x505/0x890 kernel/printk/printk.c:1728 __do_sys_syslog kernel/printk/printk.c:1820 [inline] __se_sys_syslog kernel/printk/printk.c:1818 [inline] __x64_sys_syslog+0x7c/0x90 kernel/printk/printk.c:1818 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:0x7f584bf76fa7 Code: 73 01 c3 48 8b 0d 81 ce 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 67 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 51 ce 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007fff8f1e8328 EFLAGS: 00000206 ORIG_RAX: 0000000000000067 RAX: ffffffffffffffda RBX: 00007f584c1154a0 RCX: 00007f584bf76fa7 RDX: 00000000000003ff RSI: 00007f584c1154a0 RDI: 0000000000000002 RBP: 0000000000000000 R08: 0000000000000007 R09: eab8fcb415648c52 R10: 0000000000004000 R11: 0000000000000206 R12: 00007f584c1154a0 R13: 00007f584c105212 R14: 00007f584c11551e R15: 00007f584c11551e