INFO: task syz-executor.0:14890 blocked for more than 143 seconds. Not tainted 5.15.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24408 pid:14890 ppid: 12868 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 xlog_grant_head_wait+0x381/0x900 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x295/0x480 xfs_log_reserve+0x3b8/0xb10 fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x23d/0x690 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x420/0x7f0 fs/xfs/xfs_trans.c:288 xfs_trans_alloc_inode+0x129/0x450 fs/xfs/xfs_trans.c:1047 xfs_attr_set+0x848/0x1460 fs/xfs/libxfs/xfs_attr.c:772 xfs_xattr_set+0x227/0x3a0 fs/xfs/xfs_xattr.c:59 __vfs_setxattr+0x3e7/0x420 fs/xattr.c:182 __vfs_setxattr_noperm+0x12a/0x5e0 fs/xattr.c:216 vfs_setxattr+0x21d/0x420 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x27e/0x2e0 fs/xattr.c:611 path_setxattr+0x1bc/0x2a0 fs/xattr.c:630 __do_sys_lsetxattr fs/xattr.c:653 [inline] __se_sys_lsetxattr fs/xattr.c:649 [inline] __x64_sys_lsetxattr+0xb4/0xd0 fs/xattr.c:649 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fefcde0bea9 RSP: 002b:00007fefcc37e0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007fefcdf39f80 RCX: 00007fefcde0bea9 RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000020000000 RBP: 00007fefcde584a4 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fffe R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fefcdf39f80 R15: 00007ffffd9906f8 INFO: task syz-executor.0:14925 blocked for more than 143 seconds. Not tainted 5.15.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26840 pid:14925 ppid: 12868 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 xlog_grant_head_wait+0x381/0x900 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x295/0x480 xfs_log_reserve+0x3b8/0xb10 fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x23d/0x690 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x420/0x7f0 fs/xfs/xfs_trans.c:288 xfs_trans_alloc_icreate+0xc5/0x2b0 fs/xfs/xfs_trans.c:1102 xfs_create+0x745/0x1370 fs/xfs/xfs_inode.c:1018 xfs_generic_create+0x426/0xd00 fs/xfs/xfs_iops.c:197 lookup_open fs/namei.c:3462 [inline] open_last_lookups fs/namei.c:3532 [inline] path_openat+0x130a/0x2f20 fs/namei.c:3739 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_sys_openat2+0x13b/0x500 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fefcde0bea9 RSP: 002b:00007fefcc35d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fefcdf3a050 RCX: 00007fefcde0bea9 RDX: 0000000000145842 RSI: 0000000020000440 RDI: ffffffffffffff9c RBP: 00007fefcde584a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fefcdf3a050 R15: 00007ffffd9906f8 INFO: task syz-executor.4:14898 blocked for more than 144 seconds. Not tainted 5.15.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:22624 pid:14898 ppid: 13932 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 xlog_grant_head_wait+0x381/0x900 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x295/0x480 xfs_log_reserve+0x3b8/0xb10 fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x23d/0x690 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x420/0x7f0 fs/xfs/xfs_trans.c:288 xfs_trans_alloc_inode+0x129/0x450 fs/xfs/xfs_trans.c:1047 xfs_attr_set+0x848/0x1460 fs/xfs/libxfs/xfs_attr.c:772 xfs_xattr_set+0x227/0x3a0 fs/xfs/xfs_xattr.c:59 __vfs_setxattr+0x3e7/0x420 fs/xattr.c:182 __vfs_setxattr_noperm+0x12a/0x5e0 fs/xattr.c:216 vfs_setxattr+0x21d/0x420 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x27e/0x2e0 fs/xattr.c:611 path_setxattr+0x1bc/0x2a0 fs/xattr.c:630 __do_sys_lsetxattr fs/xattr.c:653 [inline] __se_sys_lsetxattr fs/xattr.c:649 [inline] __x64_sys_lsetxattr+0xb4/0xd0 fs/xattr.c:649 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fd876083ea9 RSP: 002b:00007fd8745f60c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007fd8761b1f80 RCX: 00007fd876083ea9 RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000020000000 RBP: 00007fd8760d04a4 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fffe R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd8761b1f80 R15: 00007fffc71129b8 INFO: task syz-executor.4:14926 blocked for more than 145 seconds. Not tainted 5.15.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26840 pid:14926 ppid: 13932 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 xlog_grant_head_wait+0x381/0x900 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x295/0x480 xfs_log_reserve+0x3b8/0xb10 fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x23d/0x690 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x420/0x7f0 fs/xfs/xfs_trans.c:288 xfs_trans_alloc_icreate+0xc5/0x2b0 fs/xfs/xfs_trans.c:1102 xfs_create+0x745/0x1370 fs/xfs/xfs_inode.c:1018 xfs_generic_create+0x426/0xd00 fs/xfs/xfs_iops.c:197 lookup_open fs/namei.c:3462 [inline] open_last_lookups fs/namei.c:3532 [inline] path_openat+0x130a/0x2f20 fs/namei.c:3739 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_sys_openat2+0x13b/0x500 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fd876083ea9 RSP: 002b:00007fd8745d50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fd8761b2050 RCX: 00007fd876083ea9 RDX: 0000000000145842 RSI: 0000000020000440 RDI: ffffffffffffff9c RBP: 00007fd8760d04a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fd8761b2050 R15: 00007fffc71129b8 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:5/2618: 1 lock held by udevd/2963: 2 locks held by getty/3258: #0: ffff888022ed9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000249b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by kworker/0:5/3558: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004517d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by kworker/1:5/3561: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004547d20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8c923ff0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039 6 locks held by kworker/u4:15/14452: #0: ffff888011dcd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90002ff7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9dbad0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558 #3: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: wiphy_unregister+0x234/0xa40 net/wireless/core.c:1019 #4: ffff888074960628 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5314 [inline] #4: ffff888074960628 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_unregister+0x23e/0xa40 net/wireless/core.c:1020 #5: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #5: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 3 locks held by syz-executor.0/14890: #0: ffff88805bece460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88807186b780 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff88807186b780 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:302 #2: ffff88805bece650 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x129/0x450 fs/xfs/xfs_trans.c:1047 3 locks held by syz-executor.0/14925: #0: ffff88805bece460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88807186bf00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff88807186bf00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff88807186bf00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: path_openat+0x824/0x2f20 fs/namei.c:3739 #2: ffff88805bece650 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc_icreate+0xc5/0x2b0 fs/xfs/xfs_trans.c:1102 3 locks held by syz-executor.4/14898: #0: ffff888076ebe460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88807186dd00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff88807186dd00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:302 #2: ffff888076ebe650 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x129/0x450 fs/xfs/xfs_trans.c:1047 3 locks held by syz-executor.4/14926: #0: ffff888076ebe460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805fb9b000 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff88805fb9b000 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff88805fb9b000 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: path_openat+0x824/0x2f20 fs/namei.c:3739 #2: ffff888076ebe650 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc_icreate+0xc5/0x2b0 fs/xfs/xfs_trans.c:1102 3 locks held by syz-executor.3/15016: #0: ffff88801e522460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88807186ec00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff88807186ec00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:302 #2: ffff88801e522650 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x129/0x450 fs/xfs/xfs_trans.c:1047 3 locks held by syz-executor.3/15047: #0: ffff88801e522460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888071868300 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff888071868300 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff888071868300 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: path_openat+0x824/0x2f20 fs/namei.c:3739 #2: ffff88801e522650 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc_icreate+0xc5/0x2b0 fs/xfs/xfs_trans.c:1102 1 lock held by syz-executor.3/17511: #0: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5626 2 locks held by syz-executor.2/17671: #0: ffff88801ff846b8 (&nft_net->commit_mutex){+.+.}-{3:3}, at: nf_tables_valid_genid+0x27/0xa0 net/netfilter/nf_tables_api.c:9935 #1: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 3 locks held by syz-executor.0/17673: #0: ffffffff8da44db0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802 #1: ffffffff8da44c68 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8da44c68 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x124/0x14a0 net/netlink/genetlink.c:790 #2: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: tipc_nl_media_set+0xe/0x30 net/tipc/bearer.c:1373 1 lock held by syz-executor.1/17691: #0: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5626 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11812 Comm: kworker/u4:10 Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:trace_lock_acquire include/trace/events/lock.h:13 [inline] RIP: 0010:lock_acquire+0xd6/0x4f0 kernel/locking/lockdep.c:5594 Code: 83 fb 08 0f 83 e2 02 00 00 89 d8 c1 e8 06 48 8d 3c c5 e8 5a e4 8d be 08 00 00 00 e8 a4 76 67 00 89 d8 48 0f a3 05 52 ae 81 0c <73> 0d e8 d3 67 08 00 84 c0 0f 84 b9 02 00 00 48 c7 c0 84 8e e4 8d RSP: 0018:ffffc90003157a20 EFLAGS: 00000257 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8162ac8c RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8de45ae8 RBP: ffffc90003157b70 R08: dffffc0000000000 R09: fffffbfff1bc8b5e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200062af4c R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff89fb6910 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5623475988 CR3: 0000000074e51000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] batadv_nc_process_nc_paths+0xb8/0x350 net/batman-adv/network-coding.c:691 batadv_nc_worker+0x3d4/0x5b0 net/batman-adv/network-coding.c:732 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 vkms_vblank_simulate: vblank timer overrun