INFO: task kworker/u4:25:10070 blocked for more than 144 seconds. Not tainted 6.2.0-rc8-syzkaller-00151-g925cf0457d7e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:25 state:D stack:27024 pid:10070 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:4) Call Trace: context_switch kernel/sched/core.c:5296 [inline] __schedule+0xbdd/0x54f0 kernel/sched/core.c:6609 schedule+0xde/0x1b0 kernel/sched/core.c:6685 queue_log_writer+0x293/0x2f0 fs/reiserfs/journal.c:2980 check_journal_end fs/reiserfs/journal.c:3676 [inline] do_journal_end+0x908/0x4af0 fs/reiserfs/journal.c:4042 reiserfs_write_inode+0x27e/0x2d0 fs/reiserfs/inode.c:1779 write_inode fs/fs-writeback.c:1451 [inline] __writeback_single_inode+0xcfc/0x1440 fs/fs-writeback.c:1663 writeback_sb_inodes+0x54d/0xf90 fs/fs-writeback.c:1889 wb_writeback+0x2c5/0xd70 fs/fs-writeback.c:2063 wb_do_writeback fs/fs-writeback.c:2206 [inline] wb_workfn+0x2e0/0x12f0 fs/fs-writeback.c:2246 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.4:11562 blocked for more than 144 seconds. Not tainted 6.2.0-rc8-syzkaller-00151-g925cf0457d7e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:24896 pid:11562 ppid:5105 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5296 [inline] __schedule+0xbdd/0x54f0 kernel/sched/core.c:6609 schedule+0xde/0x1b0 kernel/sched/core.c:6685 bit_wait+0x16/0xe0 kernel/sched/wait_bit.c:199 __wait_on_bit+0x64/0x180 kernel/sched/wait_bit.c:49 __inode_wait_for_writeback+0x153/0x1f0 fs/fs-writeback.c:1472 inode_wait_for_writeback+0x26/0x40 fs/fs-writeback.c:1484 evict+0x2b7/0x6b0 fs/inode.c:661 iput_final fs/inode.c:1747 [inline] iput.part.0+0x59b/0x880 fs/inode.c:1773 iput+0x5c/0x80 fs/inode.c:1763 dentry_unlink_inode+0x2b1/0x460 fs/dcache.c:401 d_delete fs/dcache.c:2565 [inline] d_delete+0x16f/0x1c0 fs/dcache.c:2554 xattr_unlink+0x139/0x190 fs/reiserfs/xattr.c:96 lookup_and_delete_xattr fs/reiserfs/xattr.c:494 [inline] reiserfs_xattr_set_handle+0x83c/0xb00 fs/reiserfs/xattr.c:529 reiserfs_xattr_set+0x454/0x5b0 fs/reiserfs/xattr.c:633 trusted_set+0xa7/0xd0 fs/reiserfs/xattr_trusted.c:31 __vfs_removexattr+0x155/0x1c0 fs/xattr.c:497 __vfs_removexattr_locked+0x1b0/0x440 fs/xattr.c:532 vfs_removexattr+0xcf/0x260 fs/xattr.c:554 ovl_do_removexattr fs/overlayfs/overlayfs.h:272 [inline] ovl_removexattr fs/overlayfs/overlayfs.h:280 [inline] ovl_make_workdir fs/overlayfs/super.c:1361 [inline] ovl_get_workdir fs/overlayfs/super.c:1444 [inline] ovl_fill_super+0x20ba/0x6330 fs/overlayfs/super.c:2000 mount_nodev+0x64/0x120 fs/super.c:1405 legacy_get_tree+0x109/0x220 fs/fs_context.c:610 vfs_get_tree+0x8d/0x2f0 fs/super.c:1489 do_new_mount fs/namespace.c:3145 [inline] path_mount+0x132a/0x1e20 fs/namespace.c:3475 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount fs/namespace.c:3674 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3674 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5c7be8c0f9 RSP: 002b:00007f5c7ccc2168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5c7bfabf80 RCX: 00007f5c7be8c0f9 RDX: 0000000020000080 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00007f5c7bee7ae9 R08: 0000000020000480 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcbbb499df R14: 00007f5c7ccc2300 R15: 0000000000022000 INFO: task syz-executor.4:11571 blocked for more than 145 seconds. Not tainted 6.2.0-rc8-syzkaller-00151-g925cf0457d7e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27424 pid:11571 ppid:5105 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5296 [inline] __schedule+0xbdd/0x54f0 kernel/sched/core.c:6609 schedule+0xde/0x1b0 kernel/sched/core.c:6685 wb_wait_for_completion+0x182/0x240 fs/fs-writeback.c:192 sync_inodes_sb+0x1aa/0x9e0 fs/fs-writeback.c:2725 sync_filesystem.part.0+0xe6/0x1d0 fs/sync.c:64 sync_filesystem+0x8f/0xc0 fs/sync.c:43 reiserfs_remount+0x129/0x1540 fs/reiserfs/super.c:1445 legacy_reconfigure+0x119/0x180 fs/fs_context.c:633 reconfigure_super+0x40c/0xa30 fs/super.c:935 do_remount fs/namespace.c:2807 [inline] path_mount+0x1830/0x1e20 fs/namespace.c:3467 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount fs/namespace.c:3674 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3674 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5c7be8d62a RSP: 002b:00007f5c7cca0f88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5c7be8d62a RDX: 00000000200000c0 RSI: 0000000020000140 RDI: 0000000000000000 RBP: 00007f5c7cca1020 R08: 00007f5c7cca1020 R09: 0000000001a484bc R10: 0000000001a484bc R11: 0000000000000206 R12: 00000000200000c0 R13: 0000000020000140 R14: 00007f5c7cca0fe0 R15: 00000000200009c0 Showing all locks held in the system: 3 locks held by kworker/u4:0/8: #0: ffff8880127ee138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880127ee138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8880127ee138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8880127ee138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff8880127ee138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff8880127ee138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc900002efda8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffffffff8e0c3490 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb10 net/core/net_namespace.c:575 1 lock held by rcu_tasks_kthre/11: #0: ffffffff8c78e790 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/12: #0: ffffffff8c78e490 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 3 locks held by kworker/1:1/25: #0: ffff888012469d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012469d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012469d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012469d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012469d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012469d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90000c1fda8 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffffffff8c799e80 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6d0 kernel/rcu/tree.c:3997 1 lock held by khungtaskd/27: #0: ffffffff8c78f2e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 4 locks held by kworker/0:2/899: 1 lock held by udevd/4424: 2 locks held by getty/4741: #0: ffff88814a12a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900020382f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 1 lock held by syz-fuzzer/5157: 1 lock held by syz-executor.1/5095: 2 locks held by kworker/1:6/5153: #0: ffff888012479538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012479538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012479538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012479538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012479538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012479538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90003b0fda8 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 2 locks held by kworker/u4:11/5674: #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc900051afda8 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 3 locks held by kworker/u4:24/10069: 2 locks held by kworker/u4:25/10070: #0: ffff888140f88938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888140f88938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888140f88938 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888140f88938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888140f88938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888140f88938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc9000402fda8 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 4 locks held by syz-executor.4/11562: #0: ffff88803a70a0e0 (&type->s_umount_key#70/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb60 fs/super.c:228 #1: ffff8880398ee460 (sb_writers#29){.+.+}-{0:0}, at: ovl_make_workdir fs/overlayfs/super.c:1290 [inline] #1: ffff8880398ee460 (sb_writers#29){.+.+}-{0:0}, at: ovl_get_workdir fs/overlayfs/super.c:1444 [inline] #1: ffff8880398ee460 (sb_writers#29){.+.+}-{0:0}, at: ovl_fill_super+0x19d6/0x6330 fs/overlayfs/super.c:2000 #2: ffff88808a04d520 (&type->i_mutex_dir_key#16){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #2: ffff88808a04d520 (&type->i_mutex_dir_key#16){++++}-{3:3}, at: vfs_removexattr+0xbb/0x260 fs/xattr.c:553 #3: ffff8880817a4a80 (&type->i_mutex_dir_key#16/3){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #3: ffff8880817a4a80 (&type->i_mutex_dir_key#16/3){+.+.}-{3:3}, at: lookup_and_delete_xattr fs/reiserfs/xattr.c:486 [inline] #3: ffff8880817a4a80 (&type->i_mutex_dir_key#16/3){+.+.}-{3:3}, at: reiserfs_xattr_set_handle+0x7ab/0xb00 fs/reiserfs/xattr.c:529 2 locks held by syz-executor.4/11571: #0: ffff8880398ee0e0 (&type->s_umount_key#99){++++}-{3:3}, at: do_remount fs/namespace.c:2804 [inline] #0: ffff8880398ee0e0 (&type->s_umount_key#99){++++}-{3:3}, at: path_mount+0x13e0/0x1e20 fs/namespace.c:3467 #1: ffff8881463907d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff8881463907d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x190/0x9e0 fs/fs-writeback.c:2723 2 locks held by syz-executor.2/12605: #0: ffffffff8e0c3490 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c6/0x8d0 net/core/net_namespace.c:486 #1: ffffffff8c799fb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #1: ffffffff8c799fb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x24f/0x780 kernel/rcu/tree_exp.h:946 1 lock held by syz-executor.3/12610: 4 locks held by syz-executor.4/12622: 1 lock held by syz-executor.4/12623: 2 locks held by syz-executor.4/12625: #0: ffff88801e7cb070 (&newdev->mutex){+.+.}-{3:3}, at: uinput_ioctl_handler.isra.0+0xa8/0x1e60 drivers/input/misc/uinput.c:851 #1: ffffffff8d9ffde8 (input_mutex){+.+.}-{3:3}, at: __input_unregister_device+0x136/0x450 drivers/input/input.c:2220 1 lock held by syz-executor.5/12624: 2 locks held by modprobe/12626: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.2.0-rc8-syzkaller-00151-g925cf0457d7e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 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+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12622 Comm: syz-executor.4 Not tainted 6.2.0-rc8-syzkaller-00151-g925cf0457d7e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:__sanitizer_cov_trace_pc+0x40/0x70 kernel/kcov.c:210 Code: 00 65 48 8b 14 25 40 ac 03 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 6c 15 00 00 85 c0 74 2b 8b 82 48 15 00 00 83 f8 02 75 20 <48> 8b 8a 50 15 00 00 8b 92 4c 15 00 00 48 8b 01 48 83 c0 01 48 39 RSP: 0018:ffffc9000afbfb60 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 1ffff920015f7f6e RCX: 0000000000000000 RDX: ffff8880388a8280 RSI: ffffffff87c2a774 RDI: ffffc9000afbfde0 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000002 R13: ffffc9000afbfdb0 R14: 00000000201f1a80 R15: 0000000000007c67 FS: 00007f96eb7fe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201f1030 CR3: 000000007799b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ___sys_recvmsg+0xc4/0x180 net/socket.c:2737 do_recvmmsg+0x25e/0x6e0 net/socket.c:2834 __sys_recvmmsg net/socket.c:2913 [inline] __do_sys_recvmmsg net/socket.c:2936 [inline] __se_sys_recvmmsg net/socket.c:2929 [inline] __x64_sys_recvmmsg+0x20f/0x260 net/socket.c:2929 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f96ecc8c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f96eb7fe168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f96ecdac050 RCX: 00007f96ecc8c0f9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f96ecce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf5fb403f R14: 00007f96eb7fe300 R15: 0000000000022000