INFO: task kworker/u4:4:65 blocked for more than 143 seconds. Not tainted 6.3.0-next-20230428-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:4 state:D stack:26840 pid:65 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:5) Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 queue_log_writer+0x293/0x2f0 fs/reiserfs/journal.c:2980 check_journal_end fs/reiserfs/journal.c:3674 [inline] do_journal_end+0x908/0x4af0 fs/reiserfs/journal.c:4040 reiserfs_write_inode+0x27e/0x2d0 fs/reiserfs/inode.c:1779 write_inode fs/fs-writeback.c:1456 [inline] __writeback_single_inode+0x9f2/0xdb0 fs/fs-writeback.c:1668 writeback_sb_inodes+0x54d/0xe70 fs/fs-writeback.c:1894 wb_writeback+0x294/0xa50 fs/fs-writeback.c:2068 wb_do_writeback fs/fs-writeback.c:2211 [inline] wb_workfn+0x2a5/0xcc0 fs/fs-writeback.c:2251 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor573:6010 blocked for more than 144 seconds. Not tainted 6.3.0-next-20230428-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor573 state:D stack:24736 pid:6010 ppid:5013 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 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:1477 inode_wait_for_writeback+0x26/0x40 fs/fs-writeback.c:1489 evict+0x2b7/0x6b0 fs/inode.c:662 iput_final fs/inode.c:1747 [inline] iput fs/inode.c:1773 [inline] iput+0x4a7/0x7a0 fs/inode.c:1759 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:97 lookup_and_delete_xattr fs/reiserfs/xattr.c:495 [inline] reiserfs_xattr_set_handle+0x7bd/0xb00 fs/reiserfs/xattr.c:530 reiserfs_xattr_set+0x454/0x5b0 fs/reiserfs/xattr.c:634 trusted_set+0xa7/0xd0 fs/reiserfs/xattr_trusted.c:31 __vfs_removexattr+0x155/0x1c0 fs/xattr.c:519 __vfs_removexattr_locked+0x1b0/0x440 fs/xattr.c:554 vfs_removexattr+0xcf/0x260 fs/xattr.c:576 ovl_do_removexattr fs/overlayfs/overlayfs.h:273 [inline] ovl_removexattr fs/overlayfs/overlayfs.h:281 [inline] ovl_make_workdir fs/overlayfs/super.c:1353 [inline] ovl_get_workdir fs/overlayfs/super.c:1436 [inline] ovl_fill_super+0x6ec5/0x7270 fs/overlayfs/super.c:1992 mount_nodev+0x64/0x120 fs/super.c:1426 legacy_get_tree+0x109/0x220 fs/fs_context.c:610 vfs_get_tree+0x8d/0x350 fs/super.c:1510 do_new_mount fs/namespace.c:3039 [inline] path_mount+0x134b/0x1e40 fs/namespace.c:3369 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3568 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:0x7f76b0bd2719 RSP: 002b:00007f76b0b762f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f76b0c50760 RCX: 00007f76b0bd2719 RDX: 0000000020000080 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00007f76b0c1d378 R08: 0000000020000480 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0079616c7265766f R13: d5e172a4510865ec R14: 9837512483e3bdcd R15: 00007f76b0c50768 INFO: task syz-executor573:6023 blocked for more than 144 seconds. Not tainted 6.3.0-next-20230428-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor573 state:D stack:28504 pid:6023 ppid:5013 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 wb_wait_for_completion+0x182/0x240 fs/fs-writeback.c:192 sync_inodes_sb+0x1aa/0xa60 fs/fs-writeback.c:2730 sync_filesystem.part.0+0xe6/0x1d0 fs/sync.c:64 sync_filesystem+0x8f/0xc0 fs/sync.c:43 reiserfs_remount+0x129/0x1650 fs/reiserfs/super.c:1445 legacy_reconfigure+0x119/0x180 fs/fs_context.c:633 reconfigure_super+0x40c/0xa30 fs/super.c:956 do_remount fs/namespace.c:2701 [inline] path_mount+0x1846/0x1e40 fs/namespace.c:3361 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3568 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:0x7f76b0bd3bda RSP: 002b:00007f76a8b55128 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f76a8b556b8 RCX: 00007f76b0bd3bda RDX: 00000000200000c0 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 00000000ffffffff R08: 00007f76a8b551c0 R09: 0000000020000000 R10: 0000000001a484bc R11: 0000000000000286 R12: 0000000020000100 R13: 00000000200000c0 R14: 0000000000000000 R15: 00000000200007c0 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c798df0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c798af0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8c799a00 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6545 2 locks held by kworker/u4:4/65: #0: ffff888012ee5938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012ee5938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012ee5938 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888012ee5938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888012ee5938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888012ee5938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc900015a7db0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 2 locks held by kworker/1:2/758: 2 locks held by udevd/4456: 2 locks held by getty/4761: #0: ffff88802c80a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 1 lock held by syz-executor573/5008: #0: ffff88807a00e0e0 (&type->s_umount_key#42){+.+.}-{3:3}, at: deactivate_super+0xa9/0xd0 fs/super.c:361 2 locks held by syz-executor573/5009: #0: ffff888027f200e0 (&type->s_umount_key#42){+.+.}-{3:3}, at: deactivate_super+0xa9/0xd0 fs/super.c:361 #1: ffffffff8c7a4e78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8c7a4e78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e8/0x770 kernel/rcu/tree_exp.h:992 1 lock held by syz-executor573/5011: #0: ffff88807da940e0 (&type->s_umount_key#42){+.+.}-{3:3}, at: deactivate_super+0xa9/0xd0 fs/super.c:361 2 locks held by syz-executor573/5012: #0: ffff88802a4940e0 (&type->s_umount_key#42){+.+.}-{3:3}, at: deactivate_super+0xa9/0xd0 fs/super.c:361 #1: ffffffff8c7a4e78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8c7a4e78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:992 4 locks held by syz-executor573/6010: #0: ffff88807c49c0e0 (&type->s_umount_key#41/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb60 fs/super.c:228 #1: ffff88802b028460 (sb_writers#10){.+.+}-{0:0}, at: ovl_make_workdir fs/overlayfs/super.c:1282 [inline] #1: ffff88802b028460 (sb_writers#10){.+.+}-{0:0}, at: ovl_get_workdir fs/overlayfs/super.c:1436 [inline] #1: ffff88802b028460 (sb_writers#10){.+.+}-{0:0}, at: ovl_fill_super+0x1c5e/0x7270 fs/overlayfs/super.c:1992 #2: ffff888077f782e0 (&type->i_mutex_dir_key#6){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #2: ffff888077f782e0 (&type->i_mutex_dir_key#6){++++}-{3:3}, at: vfs_removexattr+0xbb/0x260 fs/xattr.c:575 #3: ffff888077f7f380 (&type->i_mutex_dir_key#6/3){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #3: ffff888077f7f380 (&type->i_mutex_dir_key#6/3){+.+.}-{3:3}, at: lookup_and_delete_xattr fs/reiserfs/xattr.c:487 [inline] #3: ffff888077f7f380 (&type->i_mutex_dir_key#6/3){+.+.}-{3:3}, at: reiserfs_xattr_set_handle+0x72c/0xb00 fs/reiserfs/xattr.c:530 2 locks held by syz-executor573/6023: #0: ffff88802b0280e0 (&type->s_umount_key#42){+.+.}-{3:3}, at: do_remount fs/namespace.c:2698 [inline] #0: ffff88802b0280e0 (&type->s_umount_key#42){+.+.}-{3:3}, at: path_mount+0x1401/0x1e40 fs/namespace.c:3361 #1: ffff8881417907d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff8881417907d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x190/0xa60 fs/fs-writeback.c:2728 5 locks held by syz-executor573/8421: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-next-20230428-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:379 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: 5004 Comm: strace-static-x Not tainted 6.3.0-next-20230428-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] RIP: 0010:lock_release+0x3b9/0x670 kernel/locking/lockdep.c:5713 Code: 74 0c 3c 03 7f 08 4c 89 ef e8 93 22 71 00 45 89 f0 44 2b 44 24 40 45 39 87 c0 0a 00 00 0f 85 8e 01 00 00 48 c7 c7 e0 72 4c 8a 42 fd a8 08 b8 ff ff ff ff 65 0f c1 05 55 87 9c 7e 83 f8 01 0f RSP: 0000:ffffc9000396f4f0 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1a9d56bbb2326a9a RCX: ffffc9000396f540 RDX: 1ffff110050248c7 RSI: 0000000000000000 RDI: ffffffff8a4c72e0 RBP: 1ffff9200072dea0 R08: 0000000000000001 R09: ffffffff8e7a8d17 R10: fffffbfff1cf51a2 R11: 0000000000000001 R12: 0000000000000001 R13: ffff888028124640 R14: 0000000000000002 R15: ffff888028123b80 FS: 00000000024e13c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f76b0b77000 CR3: 000000002740c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:332 [inline] rcu_read_unlock include/linux/rcupdate.h:806 [inline] nf_hook.constprop.0+0x446/0x710 include/linux/netfilter.h:260 NF_HOOK include/linux/netfilter.h:301 [inline] ip_local_deliver+0x176/0x200 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:468 [inline] ip_sublist_rcv_finish+0x9a/0x2c0 net/ipv4/ip_input.c:580 ip_list_rcv_finish.constprop.0+0x4f9/0x6c0 net/ipv4/ip_input.c:630 ip_sublist_rcv net/ipv4/ip_input.c:638 [inline] ip_list_rcv+0x347/0x4a0 net/ipv4/ip_input.c:673 __netif_receive_skb_list_ptype net/core/dev.c:5534 [inline] __netif_receive_skb_list_core+0x548/0x8f0 net/core/dev.c:5582 __netif_receive_skb_list net/core/dev.c:5634 [inline] netif_receive_skb_list_internal+0x75f/0xdc0 net/core/dev.c:5725 gro_normal_list include/net/gro.h:433 [inline] gro_normal_list include/net/gro.h:429 [inline] napi_complete_done+0x243/0x9a0 net/core/dev.c:6065 virtqueue_napi_complete drivers/net/virtio_net.c:406 [inline] virtnet_poll+0xe2b/0x14b0 drivers/net/virtio_net.c:1856 __napi_poll+0xb3/0x520 net/core/dev.c:6496 napi_poll net/core/dev.c:6563 [inline] net_rx_action+0x8e4/0xd00 net/core/dev.c:6696 __do_softirq+0x1d4/0x905 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662 common_interrupt+0x56/0xd0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:636 RIP: 0033:0x4b9b5d Code: 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 27 01 00 00 c5 fd 74 0f fd d7 c1 85 c0 74 5b f3 0f bc c0 e9 30 01 00 00 66 90 f3 0f bc RSP: 002b:00007ffccb40a668 EFLAGS: 00000283 RAX: 0000000000000a41 RBX: 0000000000553a41 RCX: 000000000000005d RDX: 0000000000553a41 RSI: 000000000063f460 RDI: 0000000000553a41 RBP: 000000000063f460 R08: 0000000000000001 R09: 00000000000020e5 R10: 0000000000000000 R11: 000000000000000a R12: 0000000000553a41 R13: 000000000000857f R14: 00000000024e3610 R15: 000000000063f160