INFO: task syz.2.3:3658 blocked for more than 143 seconds.
Not tainted 5.15.165-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.3 state:D stack:24024 pid: 3658 ppid: 3568 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
schedule+0x11b/0x1f0 kernel/sched/core.c:6456
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_setxattr fs/xattr.c:646 [inline]
__se_sys_setxattr fs/xattr.c:642 [inline]
__x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:642
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:0x7f49742f0e79
RSP: 002b:00007f497276d038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f497448cf80 RCX: 00007f49742f0e79
RDX: 0000000020000100 RSI: 0000000020000340 RDI: 0000000020000040
RBP: 00007f497435e93e R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000fc21 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f497448cf80 R15: 00007fffeadb8348
INFO: task syz.2.3:3696 blocked for more than 144 seconds.
Not tainted 5.15.165-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.3 state:D stack:27392 pid: 3696 ppid: 3568 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
schedule+0x11b/0x1f0 kernel/sched/core.c:6456
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
vfs_mkdir+0x3b6/0x590 fs/namei.c:4065
do_mkdirat+0x260/0x520 fs/namei.c:4090
__do_sys_mkdirat fs/namei.c:4105 [inline]
__se_sys_mkdirat fs/namei.c:4103 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4103
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:0x7f49742f0e79
RSP: 002b:00007f497274c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f497448d058 RCX: 00007f49742f0e79
RDX: 0000000000000000 RSI: 0000000020000140 RDI: ffffffffffffff9c
RBP: 00007f497435e93e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f497448d058 R15: 00007fffeadb8348
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c91fbe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3330:
#0: ffff888024937098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002bab2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
3 locks held by kworker/0:5/3614:
#0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc90002f67d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffffffff8c9241a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
#2: ffffffff8c9241a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845
3 locks held by syz.2.3/3658:
#0: ffff88807d82a460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff888062a30300 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline]
#1: ffff888062a30300 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:302
#2: ffff88807d82a650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x129/0x450 fs/xfs/xfs_trans.c:1047
3 locks held by syz.2.3/3696:
#0: ffff88807d82a460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff8880629d8300 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff8880629d8300 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835
#2: ffff88807d82a650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_icreate+0xc5/0x2b0 fs/xfs/xfs_trans.c:1102
3 locks held by kworker/u4:12/3796:
3 locks held by syz.3.40/3820:
#0: ffff88807ac04460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff888062a32100 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline]
#1: ffff888062a32100 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:302
#2: ffff88807ac04650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x129/0x450 fs/xfs/xfs_trans.c:1047
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.165-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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:287
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4685 Comm: kworker/u4:15 Not tainted 5.15.165-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
RIP: 0010:unwind_next_frame+0x56/0x1fa0 arch/x86/kernel/unwind_orc.c:424
Code: 24 28 80 3c 01 00 74 12 48 89 df e8 e4 a1 91 00 48 b8 00 00 00 00 00 fc ff df 48 89 5c 24 08 4d 8b 77 48 49 8d 6f 38 48 89 e9 <48> c1 e9 03 48 89 4c 24 48 80 3c 01 00 74 12 48 89 ef e8 b3 a1 91
RSP: 0018:ffffc90002d175a8 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffffc90002d17708 RCX: ffffc90002d176f8
RDX: dffffc0000000000 RSI: ffffc90002d176b0 RDI: ffffc90002d176c0
RBP: ffffc90002d176f8 R08: ffffc90002d176b0 R09: ffffc90002d17710
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920005a2eda
R13: ffffc90002d176d0 R14: ffffffff812fda2b R15: ffffc90002d176c0
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f851d5b3ab8 CR3: 00000000755ed000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__unwind_start+0x59d/0x720 arch/x86/kernel/unwind_orc.c:704
unwind_start arch/x86/include/asm/unwind.h:60 [inline]
arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track+0x4b/0x80 mm/kasan/common.c:46
kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360
____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366
kasan_slab_free include/linux/kasan.h:230 [inline]
slab_free_hook mm/slub.c:1705 [inline]
slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731
slab_free mm/slub.c:3499 [inline]
kfree+0xf1/0x270 mm/slub.c:4559
skb_free_head net/core/skbuff.c:655 [inline]
skb_release_data+0x73a/0x8a0 net/core/skbuff.c:677
skb_release_all net/core/skbuff.c:742 [inline]
__kfree_skb net/core/skbuff.c:756 [inline]
consume_skb+0xa3/0x140 net/core/skbuff.c:914
batadv_forw_packet_free+0x5c/0x1d0 net/batman-adv/send.c:471
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:287