INFO: task syz-executor.3:6947 blocked for more than 143 seconds.
Not tainted 6.4.0-syzkaller-11479-g6cd06ab12d1a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:26600 pid:6947 ppid:5042 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0xc9a/0x5880 kernel/sched/core.c:6710
schedule+0xde/0x1a0 kernel/sched/core.c:6786
__wait_on_freeing_inode+0xf2/0x140 fs/inode.c:2238
find_inode_fast+0x14e/0x220 fs/inode.c:950
iget_locked+0xa8/0x700 fs/inode.c:1315
__ext4_iget+0x3b2/0x4460 fs/ext4/inode.c:4670
ext4_xattr_inode_cache_find fs/ext4/xattr.c:1542 [inline]
ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1577 [inline]
ext4_xattr_set_entry+0x1e4c/0x3810 fs/ext4/xattr.c:1719
ext4_xattr_block_set+0xcb7/0x2fd0 fs/ext4/xattr.c:2025
ext4_xattr_set_handle+0xd8a/0x1510 fs/ext4/xattr.c:2442
ext4_xattr_set+0x144/0x360 fs/ext4/xattr.c:2544
__vfs_setxattr+0x173/0x1e0 fs/xattr.c:201
__vfs_setxattr_noperm+0x129/0x5f0 fs/xattr.c:235
__vfs_setxattr_locked+0x1d3/0x260 fs/xattr.c:296
vfs_setxattr+0x143/0x340 fs/xattr.c:322
do_setxattr+0x147/0x190 fs/xattr.c:630
setxattr+0x146/0x160 fs/xattr.c:653
path_setxattr+0x197/0x1c0 fs/xattr.c:672
__do_sys_setxattr fs/xattr.c:688 [inline]
__se_sys_setxattr fs/xattr.c:684 [inline]
__x64_sys_setxattr+0xc4/0x160 fs/xattr.c:684
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:0x7fee31c8c389
RSP: 002b:00007fee2843e168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007fee31dac050 RCX: 00007fee31c8c389
RDX: 00000000200005c0 RSI: 0000000020000180 RDI: 00000000200000c0
RBP: 00007fee31cd7493 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcc5cfb43f R14: 00007fee2843e300 R15: 0000000000022000
INFO: task syz-executor.3:6948 blocked for more than 143 seconds.
Not tainted 6.4.0-syzkaller-11479-g6cd06ab12d1a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:26544 pid:6948 ppid:5042 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0xc9a/0x5880 kernel/sched/core.c:6710
schedule+0xde/0x1a0 kernel/sched/core.c:6786
mb_cache_entry_wait_unused+0x16f/0x1f0 fs/mbcache.c:148
ext4_evict_ea_inode+0x195/0x2f0 fs/ext4/xattr.c:480
ext4_evict_inode+0xa0b/0x1a30 fs/ext4/inode.c:180
evict+0x2ed/0x6b0 fs/inode.c:665
iput_final fs/inode.c:1789 [inline]
iput.part.0+0x50a/0x740 fs/inode.c:1815
iput+0x5c/0x80 fs/inode.c:1805
ext4_xattr_set_entry+0x4ff/0x3810 fs/ext4/xattr.c:1856
ext4_xattr_block_set+0x618/0x2fd0 fs/ext4/xattr.c:1956
ext4_xattr_set_handle+0xd8a/0x1510 fs/ext4/xattr.c:2442
ext4_xattr_set+0x144/0x360 fs/ext4/xattr.c:2544
__vfs_setxattr+0x173/0x1e0 fs/xattr.c:201
__vfs_setxattr_noperm+0x129/0x5f0 fs/xattr.c:235
__vfs_setxattr_locked+0x1d3/0x260 fs/xattr.c:296
vfs_setxattr+0x143/0x340 fs/xattr.c:322
do_setxattr+0x147/0x190 fs/xattr.c:630
setxattr+0x146/0x160 fs/xattr.c:653
path_setxattr+0x197/0x1c0 fs/xattr.c:672
__do_sys_lsetxattr fs/xattr.c:695 [inline]
__se_sys_lsetxattr fs/xattr.c:691 [inline]
__x64_sys_lsetxattr+0xc1/0x160 fs/xattr.c:691
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:0x7fee31c8c389
RSP: 002b:00007fee2841d168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007fee31dac120 RCX: 00007fee31c8c389
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000080
RBP: 00007fee31cd7493 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcc5cfb43f R14: 00007fee2841d300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c9a0ab0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8c9a07b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/27:
#0: ffffffff8c9a16c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615
1 lock held by klogd/4452:
#0: ffff8880b983c418 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:558
1 lock held by udevd/4463:
#0: ffff88801fe114c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4ff/0xb50 block/bdev.c:803
2 locks held by getty/4765:
#0: ffff88802ba27098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900020382f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf08/0x13f0 drivers/tty/n_tty.c:2187
3 locks held by kworker/u4:7/5901:
#0: ffff888143a5e938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888143a5e938 ((wq_completion)writeback){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888143a5e938 ((wq_completion)writeback){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888143a5e938 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888143a5e938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff888143a5e938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff888143a5e938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567
#1: ffffc90014e9fdb0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571
#2: ffff88801767a0e0 (&type->s_umount_key#34){++++}-{3:3}, at: trylock_super+0x21/0x110 fs/super.c:413
2 locks held by kworker/u4:10/25124:
#0: ffff8880b983c418 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:558
#1: ffffc90007167db0 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571
3 locks held by syz-executor.3/6947:
#0: ffff88803f6ae410 (sb_writers#5){.+.+}-{0:0}, at: path_setxattr+0xb2/0x1c0 fs/xattr.c:670
#1: ffff88803ce20500 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#1: ffff88803ce20500 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_setxattr+0x120/0x340 fs/xattr.c:321
#2: ffff88803ce201c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff88803ce201c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x160/0x1510 fs/ext4/xattr.c:2357
3 locks held by syz-executor.3/6948:
#0: ffff88803f6ae410 (sb_writers#5){.+.+}-{0:0}, at: path_setxattr+0xb2/0x1c0 fs/xattr.c:670
#1: ffff88803cf4b880 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#1: ffff88803cf4b880 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x120/0x340 fs/xattr.c:321
#2: ffff88803cf4b548 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff88803cf4b548 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x160/0x1510 fs/ext4/xattr.c:2357
1 lock held by syz-executor.3/7071:
#0: ffff88801fe114c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4ff/0xb50 block/bdev.c:803
1 lock held by syz-executor.1/7925:
#0: ffff88801fe114c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0xed/0x340 block/bdev.c:1014
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.4.0-syzkaller-11479-g6cd06ab12d1a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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:160 [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:389
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: 25124 Comm: kworker/u4:10 Not tainted 6.4.0-syzkaller-11479-g6cd06ab12d1a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:batadv_nc_process_nc_paths.part.0+0xa8/0x3f0 net/batman-adv/network-coding.c:684
Code: 00 00 00 48 c1 e8 03 4c 01 e0 48 89 44 24 20 48 8b 44 24 30 48 c1 e8 03 4c 01 e0 48 89 44 24 28 e8 cd 5e 9b f7 48 8b 44 24 20 <80> 38 00 0f 85 30 03 00 00 48 8b 4c 24 18 48 63 44 24 14 48 8b 11
RSP: 0018:ffffc90007167c20 EFLAGS: 00000293
RAX: ffffed10028db718 RBX: 0000000000000080 RCX: 0000000000000000
RDX: ffff88802d1b0040 RSI: ffffffff89e8a173 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000000080
R10: 0000000000000013 R11: 0000000000000001 R12: dffffc0000000000
R13: ffff888036739790 R14: ffff888036738c80 R15: 0000000000000013
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1564386058 CR3: 000000007de18000 CR4: 00000000003506f0
Call Trace:
batadv_nc_process_nc_paths net/batman-adv/network-coding.c:679 [inline]
batadv_nc_worker+0xc82/0xfe0 net/batman-adv/network-coding.c:728
process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748
kthread+0x344/0x440 kernel/kthread.c:389
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308