INFO: task kworker/1:5:5155 blocked for more than 143 seconds. Not tainted 6.7.0-rc4-syzkaller-00358-gf2e8a57ee903 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:5 state:D stack:22672 pid:5155 tgid:5155 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:2627 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2700 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2781 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.3:17363 blocked for more than 143 seconds. Not tainted 6.7.0-rc4-syzkaller-00358-gf2e8a57ee903 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:25264 pid:17363 tgid:17326 ppid:5097 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 reiserfs_lookup+0x162/0x580 fs/reiserfs/namei.c:364 lookup_open fs/namei.c:3455 [inline] open_last_lookups fs/namei.c:3546 [inline] path_openat+0x1010/0x3290 fs/namei.c:3776 do_filp_open+0x234/0x490 fs/namei.c:3809 do_sys_openat2+0x13e/0x1d0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1466 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fbc6407cba9 RSP: 002b:00007fbc64e150c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fbc6419c050 RCX: 00007fbc6407cba9 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007fbc640c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fbc6419c050 R15: 00007ffeac8ce648 INFO: task syz-executor.3:17364 blocked for more than 144 seconds. Not tainted 6.7.0-rc4-syzkaller-00358-gf2e8a57ee903 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27952 pid:17364 tgid:17326 ppid:5097 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 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:802 [inline] open_last_lookups fs/namei.c:3543 [inline] path_openat+0x7bc/0x3290 fs/namei.c:3776 do_filp_open+0x234/0x490 fs/namei.c:3809 do_sys_openat2+0x13e/0x1d0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_creat fs/open.c:1531 [inline] __se_sys_creat fs/open.c:1525 [inline] __x64_sys_creat+0x123/0x160 fs/open.c:1525 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fbc6407cba9 RSP: 002b:00007fbc64df40c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fbc6419c120 RCX: 00007fbc6407cba9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200002c0 RBP: 00007fbc640c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fbc6419c120 R15: 00007ffeac8ce648 INFO: task syz-executor.0:17360 blocked for more than 144 seconds. Not tainted 6.7.0-rc4-syzkaller-00358-gf2e8a57ee903 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24208 pid:17360 tgid:17357 ppid:5088 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 reiserfs_sync_fs+0xa0/0x150 fs/reiserfs/super.c:76 dquot_quota_sync+0xdb/0x490 fs/quota/dquot.c:753 iterate_supers+0xc2/0x180 fs/super.c:971 quota_sync_all fs/quota/quota.c:69 [inline] __do_sys_quotactl fs/quota/quota.c:938 [inline] __se_sys_quotactl+0x391/0xa30 fs/quota/quota.c:917 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f1d5947cba9 RSP: 002b:00007f1d5a25a0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007f1d5959bf80 RCX: 00007f1d5947cba9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff80000101 RBP: 00007f1d594c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f1d5959bf80 R15: 00007fff5a877c78 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 5 locks held by kworker/u4:3/48: 2 locks held by getty/4807: #0: ffff8880268240a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015c72f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 4 locks held by kworker/1:5/5155: #0: ffff888012c71538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #0: ffff888012c71538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #1: ffffc9000474fd20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #1: ffffc9000474fd20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #2: ffff888079c880e0 (&type->s_umount_key#25){++++}-{3:3}, at: flush_old_commits+0xcb/0x2f0 fs/reiserfs/super.c:97 #3: ffff888076e1a090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 7 locks held by syz-executor.3/17328: 3 locks held by syz-executor.3/17363: #0: ffff888079c88418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:404 #1: ffff88803fe53e80 ( &type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] &type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3543 [inline] &type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x7bc/0x3290 fs/namei.c:3776 #2: ffff888076e1a090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 2 locks held by syz-executor.3/17364: #0: ffff888079c88418 (sb_writers#13){.+.+}-{0:0} , at: mnt_want_write+0x3f/0x90 fs/namespace.c:404 #1: ffff88803fe53e80 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff88803fe53e80 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3543 [inline] #1: ffff88803fe53e80 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x7bc/0x3290 fs/namei.c:3776 2 locks held by syz-executor.0/17360: #0: ffff888079c880e0 (&type->s_umount_key#25){++++}-{3:3} , at: __super_lock fs/super.c:58 [inline] , at: super_lock+0x176/0x3a0 fs/super.c:117 #1: ffff888076e1a090 (&sbi->lock ){+.+.}-{3:3} , at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 2 locks held by syz-executor.0/17485: #0: ffff888079c880e0 (&type->s_umount_key#25){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] (&type->s_umount_key#25){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117 #1: ffff888076e1a090 (&sbi->lock ){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 2 locks held by syz-executor.0/17566: #0: ffff888079c880e0 (&type->s_umount_key#25){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888079c880e0 (&type->s_umount_key#25){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117 #1: ffff888076e1a090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc4-syzkaller-00358-gf2e8a57ee903 #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 17328 Comm: syz-executor.3 Not tainted 6.7.0-rc4-syzkaller-00358-gf2e8a57ee903 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:io_serial_out+0x7e/0xc0 drivers/tty/serial/8250/8250_port.c:417 Code: fc 89 e9 41 d3 e7 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 cc 6a de fc 44 03 3b 44 89 f0 44 89 fa ee <5b> 41 5c 41 5e 41 5f 5d c3 89 e9 80 e1 07 38 c1 7c ab 48 89 ef e8 RSP: 0018:ffffc9000325ddf0 EFLAGS: 00000002 RAX: 000000000000005b RBX: ffffffff928fb1a0 RCX: 0000000000000000 RDX: 00000000000003f8 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff850c192b R09: 1ffff11003880046 R10: dffffc0000000000 R11: ffffed1003880047 R12: dffffc0000000000 R13: 000000000000005b R14: 000000000000005b R15: 00000000000003f8 FS: 00007fbc64e366c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbb90aa5866 CR3: 000000001377f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial8250_console_write+0x1285/0x1820 drivers/tty/serial/8250/8250_port.c:3444 console_emit_next_record kernel/printk/printk.c:2901 [inline] console_flush_all+0x801/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:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fbc6407cba9 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:00007fbc64e360c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007fbc6419bf80 RCX: 00007fbc6407cba9 RDX: 0000000000000000 RSI: 0000000002007ffb RDI: 0000000000000004 RBP: 00007fbc640c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fbc6419bf80 R15: 00007ffeac8ce648