INFO: task kworker/u4:3:50 blocked for more than 143 seconds. Not tainted 6.2.0-rc7-next-20230206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:3 state:D stack:26048 pid:50 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:3) Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x245a/0x5a60 kernel/sched/core.c:6619 schedule+0xde/0x1a0 kernel/sched/core.c:6695 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:1453 [inline] __writeback_single_inode+0xd38/0x14d0 fs/fs-writeback.c:1665 writeback_sb_inodes+0x54d/0xfa0 fs/fs-writeback.c:1891 wb_writeback+0x2c5/0xdd0 fs/fs-writeback.c:2065 wb_do_writeback fs/fs-writeback.c:2208 [inline] wb_workfn+0x2d4/0xdc0 fs/fs-writeback.c:2248 process_one_work+0x9bf/0x1820 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.3:12203 blocked for more than 144 seconds. Not tainted 6.2.0-rc7-next-20230206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24768 pid:12203 ppid:5117 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x245a/0x5a60 kernel/sched/core.c:6619 schedule+0xde/0x1a0 kernel/sched/core.c:6695 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:1474 inode_wait_for_writeback+0x26/0x40 fs/fs-writeback.c:1486 evict+0x2b7/0x6b0 fs/inode.c:662 iput_final fs/inode.c:1748 [inline] iput fs/inode.c:1774 [inline] iput+0x52b/0x8e0 fs/inode.c:1760 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+0x7bd/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:498 __vfs_removexattr_locked+0x1b0/0x440 fs/xattr.c:533 vfs_removexattr+0xcf/0x260 fs/xattr.c:555 ovl_do_removexattr fs/overlayfs/overlayfs.h:273 [inline] ovl_removexattr fs/overlayfs/overlayfs.h:281 [inline] ovl_make_workdir fs/overlayfs/super.c:1361 [inline] ovl_get_workdir fs/overlayfs/super.c:1444 [inline] ovl_fill_super+0x6eca/0x7270 fs/overlayfs/super.c:2000 mount_nodev+0x64/0x120 fs/super.c:1418 legacy_get_tree+0x109/0x220 fs/fs_context.c:610 vfs_get_tree+0x8d/0x350 fs/super.c:1502 do_new_mount fs/namespace.c:3042 [inline] path_mount+0x1342/0x1e40 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3571 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:0x7ff59928c0c9 RSP: 002b:00007ff599ff3168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff5993abf80 RCX: 00007ff59928c0c9 RDX: 0000000020000080 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00007ff5992e7ae9 R08: 0000000020000480 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff9ace06f R14: 00007ff599ff3300 R15: 0000000000022000 INFO: task syz-executor.3:12214 blocked for more than 144 seconds. Not tainted 6.2.0-rc7-next-20230206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27544 pid:12214 ppid:5117 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x245a/0x5a60 kernel/sched/core.c:6619 schedule+0xde/0x1a0 kernel/sched/core.c:6695 wb_wait_for_completion+0x182/0x240 fs/fs-writeback.c:192 sync_inodes_sb+0x1aa/0xa60 fs/fs-writeback.c:2727 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:948 do_remount fs/namespace.c:2704 [inline] path_mount+0x183d/0x1e40 fs/namespace.c:3364 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3571 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:0x7ff59928d5fa RSP: 002b:00007ff599fd1f88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff59928d5fa RDX: 00000000200000c0 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 00007ff599fd2020 R08: 00007ff599fd2020 R09: 0000000001a484bc R10: 0000000001a484bc R11: 0000000000000206 R12: 00000000200000c0 R13: 0000000020000100 R14: 00007ff599fd1fe0 R15: 00000000200009c0 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c793d30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c793a30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8c794900 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6545 2 locks held by kworker/u4:3/50: #0: ffff8880177dc938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880177dc938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8880177dc938 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8880177dc938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff8880177dc938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff8880177dc938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x86d/0x1820 kernel/workqueue.c:2361 #1: ffffc90000bb7da8 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1820 kernel/workqueue.c:2365 2 locks held by getty/4761: #0: ffff88802c235098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 3 locks held by kworker/u4:11/5417: 3 locks held by kworker/1:11/9027: #0: ffff888149d96938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888149d96938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888149d96938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888149d96938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888149d96938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888149d96938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x86d/0x1820 kernel/workqueue.c:2361 #1: ffffc9000370fda8 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1820 kernel/workqueue.c:2365 #2: ffffffff8e0ded88 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xa7/0x1390 net/ipv6/addrconf.c:4088 3 locks held by kworker/1:16/10065: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x86d/0x1820 kernel/workqueue.c:2361 #1: ffffc90005fd7da8 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1820 kernel/workqueue.c:2365 #2: ffff888028f08240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1d5/0x24a0 drivers/net/netdevsim/fib.c:1489 2 locks held by kworker/1:18/10149: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x86d/0x1820 kernel/workqueue.c:2361 #1: ffffc90006087da8 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1820 kernel/workqueue.c:2365 3 locks held by kworker/0:1/10604: #0: ffff888149d96938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888149d96938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888149d96938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888149d96938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888149d96938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888149d96938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x86d/0x1820 kernel/workqueue.c:2361 #1: ffffc90003bf7da8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1820 kernel/workqueue.c:2365 #2: ffffffff8e0ded88 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4629 4 locks held by syz-executor.3/12203: #0: ffff8880383e80e0 (&type->s_umount_key#79/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb60 fs/super.c:228 #1: ffff888056086460 (sb_writers#27){.+.+}-{0:0}, at: ovl_make_workdir fs/overlayfs/super.c:1290 [inline] #1: ffff888056086460 (sb_writers#27){.+.+}-{0:0}, at: ovl_get_workdir fs/overlayfs/super.c:1444 [inline] #1: ffff888056086460 (sb_writers#27){.+.+}-{0:0}, at: ovl_fill_super+0x1c5e/0x7270 fs/overlayfs/super.c:2000 #2: ffff888076adb140 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff888076adb140 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: vfs_removexattr+0xbb/0x260 fs/xattr.c:554 #3: ffff888076adc520 (&type->i_mutex_dir_key#12/3){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #3: ffff888076adc520 (&type->i_mutex_dir_key#12/3){+.+.}-{3:3}, at: lookup_and_delete_xattr fs/reiserfs/xattr.c:486 [inline] #3: ffff888076adc520 (&type->i_mutex_dir_key#12/3){+.+.}-{3:3}, at: reiserfs_xattr_set_handle+0x72c/0xb00 fs/reiserfs/xattr.c:529 2 locks held by syz-executor.3/12214: #0: ffff8880560860e0 (&type->s_umount_key#86){++++}-{3:3}, at: do_remount fs/namespace.c:2701 [inline] #0: ffff8880560860e0 (&type->s_umount_key#86){++++}-{3:3}, at: path_mount+0x13f8/0x1e40 fs/namespace.c:3364 #1: ffff888146a447d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff888146a447d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x190/0xa60 fs/fs-writeback.c:2725 1 lock held by syz-executor.0/12274: #0: ffff8880560860e0 (&type->s_umount_key#86){++++}-{3:3}, at: iterate_supers+0xdf/0x2a0 fs/super.c:735 2 locks held by syz-executor.5/12811: #0: ffffffff8e0cb210 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2fd/0x6b0 net/core/net_namespace.c:479 #1: ffffffff8e0ded88 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x1b/0x210 drivers/net/wireguard/device.c:420 2 locks held by syz-executor.1/12819: #0: ffffffff8e0ded88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:75 [inline] #0: ffffffff8e0ded88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6171 #1: ffffffff8c79fd38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8c79fd38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:992 2 locks held by syz-executor.4/12812: #0: ffffffff8e0cb210 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2fd/0x6b0 net/core/net_namespace.c:479 #1: ffffffff8e0ded88 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x1b/0x210 drivers/net/wireguard/device.c:420 2 locks held by syz-executor.2/12834: #0: ffffffff8e0cb210 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2fd/0x6b0 net/core/net_namespace.c:479 #1: ffffffff8e0ded88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8e0ded88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x131/0x230 net/smc/smc_pnet.c:878 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc7-next-20230206-syzkaller #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+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x316/0x3e0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x3a7/0x460 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+0xe94/0x11e0 kernel/hung_task.c:379 kthread+0x2e8/0x3a0 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: 10 Comm: kworker/u4:0 Not tainted 6.2.0-rc7-next-20230206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: phy23 ieee80211_iface_work RIP: 0010:rb_find_bss+0x0/0x280 net/wireless/scan.c:1510 Code: 28 e8 84 40 63 f8 e9 3c fb ff ff e8 3a 40 63 f8 e9 32 fd ff ff e8 30 40 63 f8 e9 f3 fc ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 <41> 57 41 56 49 89 f6 41 55 41 54 55 53 48 89 fb 48 83 ec 18 89 54 RSP: 0018:ffffc900000f7590 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffc900000f76c8 RDI: ffff888075c00000 RBP: 0000000100015070 R08: 0000000000000001 R09: 0000000000000003 R10: fffff5200001eea5 R11: 0000000000000000 R12: ffff888021928400 R13: ffffc900000f76c8 R14: ffff888075c00000 R15: 0000000000000080 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c008705000 CR3: 0000000032137000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cfg80211_bss_update+0xca/0x21f0 net/wireless/scan.c:1725 cfg80211_inform_single_bss_frame_data+0x761/0xfe0 net/wireless/scan.c:2492 cfg80211_inform_bss_frame_data+0xc3/0xca0 net/wireless/scan.c:2525 ieee80211_bss_info_update+0x35c/0xb50 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1120 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline] ieee80211_ibss_rx_queued_mgmt+0x1974/0x3030 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1583 [inline] ieee80211_iface_work+0xa4d/0xd70 net/mac80211/iface.c:1637 process_one_work+0x9bf/0x1820 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308