INFO: task kworker/u4:1:11 blocked for more than 143 seconds. Not tainted 6.2.0-rc5-syzkaller-00221-gab072681eabe #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:1 state:D stack:17624 pid:11 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 queue_log_writer+0x215/0x300 fs/reiserfs/journal.c:2980 do_journal_begin_r+0xc0d/0x1070 fs/reiserfs/journal.c:3103 journal_begin+0x14b/0x350 fs/reiserfs/journal.c:3255 reiserfs_write_inode+0x186/0x2a0 fs/reiserfs/inode.c:1777 write_inode fs/fs-writeback.c:1451 [inline] __writeback_single_inode+0x4d6/0x670 fs/fs-writeback.c:1663 writeback_sb_inodes+0x812/0x1050 fs/fs-writeback.c:1889 wb_writeback+0x41f/0x7b0 fs/fs-writeback.c:2063 wb_do_writeback fs/fs-writeback.c:2206 [inline] wb_workfn+0x3cb/0xef0 fs/fs-writeback.c:2246 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.0:8462 blocked for more than 144 seconds. Not tainted 6.2.0-rc5-syzkaller-00221-gab072681eabe #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:19040 pid:8462 ppid:5100 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 bit_wait+0xe/0xc0 kernel/sched/wait_bit.c:199 __wait_on_bit+0xb5/0x170 kernel/sched/wait_bit.c:49 __inode_wait_for_writeback fs/fs-writeback.c:1472 [inline] inode_wait_for_writeback+0x211/0x2c0 fs/fs-writeback.c:1484 evict+0x277/0x620 fs/inode.c:661 xattr_unlink fs/reiserfs/xattr.c:96 [inline] lookup_and_delete_xattr fs/reiserfs/xattr.c:494 [inline] reiserfs_xattr_set_handle+0xae5/0xec0 fs/reiserfs/xattr.c:529 reiserfs_xattr_set+0x417/0x530 fs/reiserfs/xattr.c:633 __vfs_removexattr+0x44a/0x480 fs/xattr.c:497 __vfs_removexattr_locked+0x1fe/0x400 fs/xattr.c:532 vfs_removexattr+0x104/0x2b0 fs/xattr.c:554 ovl_do_removexattr fs/overlayfs/overlayfs.h:272 [inline] ovl_removexattr fs/overlayfs/overlayfs.h:280 [inline] ovl_make_workdir+0x5b9/0xdf0 fs/overlayfs/super.c:1361 ovl_get_workdir+0x2e4/0x410 fs/overlayfs/super.c:1444 ovl_fill_super+0x19d7/0x2790 fs/overlayfs/super.c:2000 mount_nodev+0x52/0xe0 fs/super.c:1405 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x88/0x270 fs/super.c:1489 do_new_mount+0x289/0xad0 fs/namespace.c:3145 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3674 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:0x7f214e68c0c9 RSP: 002b:00007f214f459168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f214e7abf80 RCX: 00007f214e68c0c9 RDX: 0000000020000080 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00007f214e6e7ae9 R08: 0000000020000480 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcd573035f R14: 00007f214f459300 R15: 0000000000022000 INFO: task syz-executor.0:8487 blocked for more than 145 seconds. Not tainted 6.2.0-rc5-syzkaller-00221-gab072681eabe #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24392 pid:8487 ppid:5100 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 wb_wait_for_completion+0x155/0x280 fs/fs-writeback.c:192 sync_inodes_sb+0x283/0xaa0 fs/fs-writeback.c:2725 sync_filesystem+0x16b/0x220 fs/sync.c:64 reiserfs_remount+0x1a9/0x19d0 fs/reiserfs/super.c:1445 reconfigure_super+0x3bc/0x7b0 fs/super.c:935 do_remount fs/namespace.c:2807 [inline] path_mount+0xd20/0x10c0 fs/namespace.c:3467 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3674 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:0x7f214e68d5fa RSP: 002b:00007f214f437f88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f214e68d5fa RDX: 00000000200000c0 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 00007f214f438020 R08: 00007f214f438020 R09: 0000000001a484bc R10: 0000000001a484bc R11: 0000000000000206 R12: 00000000200000c0 R13: 0000000020000100 R14: 00007f214f437fe0 R15: 00000000200007c0 Showing all locks held in the system: 2 locks held by kworker/u4:0/9: 2 locks held by kworker/u4:1/11: #0: ffff888017dbc938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90000107d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d327010 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d327810 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d326e40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/1:1H/52: #0: ffff8880b993a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 #1: ffff8880b9927748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x611/0x9a0 kernel/sched/psi.c:976 #2: ffffffff8d326e40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:325 2 locks held by kworker/u4:5/933: #0: ffff888012879138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900056b7d00 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 3 locks held by kworker/1:3/2540: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000c1d7d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8d32c4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8d32c4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x384/0x860 kernel/rcu/tree_exp.h:946 2 locks held by getty/4759: #0: ffff88802b85b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.4/5115: #0: ffffffff8d32c4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8d32c4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 2 locks held by kworker/1:4/5162: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90004b4fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:5/5170: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900050afd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:6/5184: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900050dfd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:7/5383: #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90005bb7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:8/5386: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90005ba7d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:9/5387: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90005667d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:10/5390: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90005c27d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:11/5391: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90005c47d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/u4:7/5418: 2 locks held by kworker/1:12/5693: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900079b7d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:14/5846: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90009aa7d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:15/5847: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90009a77d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:16/5848: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000be57d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:17/6640: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90003adfd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 4 locks held by syz-executor.0/8462: #0: ffff888021f9a0e0 (&type->s_umount_key#51/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228 #1: ffff88802ee9a460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508 #2: ffff8880779a2aa0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #2: ffff8880779a2aa0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: vfs_removexattr+0xed/0x2b0 fs/xattr.c:553 #3: ffff8880779a02e0 (&type->i_mutex_dir_key#10/3){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #3: ffff8880779a02e0 (&type->i_mutex_dir_key#10/3){+.+.}-{3:3}, at: lookup_and_delete_xattr fs/reiserfs/xattr.c:486 [inline] #3: ffff8880779a02e0 (&type->i_mutex_dir_key#10/3){+.+.}-{3:3}, at: reiserfs_xattr_set_handle+0x521/0xec0 fs/reiserfs/xattr.c:529 2 locks held by syz-executor.0/8487: #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: do_remount fs/namespace.c:2804 [inline] #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: path_mount+0xcd8/0x10c0 fs/namespace.c:3467 #1: ffff888146c3c7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff888146c3c7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x264/0xaa0 fs/fs-writeback.c:2723 1 lock held by syz-executor.2/8530: #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.2/8532: #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.2/8534: #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.2/8536: #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.2/8537: #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.2/8539: #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.2/8542: #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.2/8544: #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.2/8545: #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.2/8546: #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.2/8548: #0: ffff88802ee9a0e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc5-syzkaller-00221-gab072681eabe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x290 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 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+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 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 CPU: 0 PID: 9432 Comm: syz-executor.2 Not tainted 6.2.0-rc5-syzkaller-00221-gab072681eabe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0033:0x7f9fc0a29090 Code: 00 e8 d4 be 01 00 0f 1f 40 00 41 57 41 56 41 55 49 89 fd 41 54 49 89 d4 55 53 48 89 f3 48 83 ec 08 66 0f 1f 84 00 00 00 00 00 <48> 89 de 4c 89 ef e8 e5 fe ff ff 41 89 c7 85 c0 78 40 3d ff 00 00 RSP: 002b:00007f9fc173a600 EFLAGS: 00000287 RAX: 0000000000092262 RBX: 00007f9fc173a660 RCX: 0000000000000001 RDX: 00000000ffffffff RSI: 00007f9fb71ff000 RDI: 00007f9fc173a700 RBP: 0000000000000102 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 00007f9fc173a670 R12: 00007f9fc173a670 R13: 00007f9fc173a700 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f9fc173b700 GS: 0000000000000000