INFO: task syz-executor.0:18357 blocked for more than 143 seconds.
Not tainted 5.15.106-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:25048 pid:18357 ppid: 13028 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5026 [inline]
__schedule+0x12c4/0x4590 kernel/sched/core.c:6372
schedule+0x11b/0x1f0 kernel/sched/core.c:6455
rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157
__down_write_common kernel/locking/rwsem.c:1284 [inline]
__down_write kernel/locking/rwsem.c:1293 [inline]
down_write_nested+0x16d/0x180 kernel/locking/rwsem.c:1658
inode_lock_nested include/linux/fs.h:822 [inline]
ext4_rename fs/ext4/namei.c:3835 [inline]
ext4_rename2+0x1031/0x42a0 fs/ext4/namei.c:4207
vfs_rename+0xd8f/0x1190 fs/namei.c:4736
do_renameat2+0xb97/0x13b0 fs/namei.c:4887
__do_sys_rename fs/namei.c:4933 [inline]
__se_sys_rename fs/namei.c:4931 [inline]
__x64_sys_rename+0x82/0x90 fs/namei.c:4931
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f99f64a6169
RSP: 002b:00007f99f4a18168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f99f65c5f80 RCX: 00007f99f64a6169
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000200
RBP: 00007f99f6501ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc7ac0521f R14: 00007f99f4a18300 R15: 0000000000022000
</TASK>
INFO: task syz-executor.0:18360 blocked for more than 143 seconds.
Not tainted 5.15.106-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:27288 pid:18360 ppid: 13028 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5026 [inline]
__schedule+0x12c4/0x4590 kernel/sched/core.c:6372
schedule+0x11b/0x1f0 kernel/sched/core.c:6455
rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157
__down_write_common kernel/locking/rwsem.c:1284 [inline]
__down_write kernel/locking/rwsem.c:1293 [inline]
down_write+0x164/0x170 kernel/locking/rwsem.c:1542
inode_lock include/linux/fs.h:787 [inline]
open_last_lookups fs/namei.c:3459 [inline]
path_openat+0x824/0x2f20 fs/namei.c:3669
do_filp_open+0x21c/0x460 fs/namei.c:3699
do_sys_openat2+0x13b/0x500 fs/open.c:1211
do_sys_open fs/open.c:1227 [inline]
__do_sys_creat fs/open.c:1301 [inline]
__se_sys_creat fs/open.c:1295 [inline]
__x64_sys_creat+0x11f/0x160 fs/open.c:1295
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f99f64a6169
RSP: 002b:00007f99f49f7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f99f65c6050 RCX: 00007f99f64a6169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140
RBP: 00007f99f6501ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc7ac0521f R14: 00007f99f49f7300 R15: 0000000000022000
</TASK>
INFO: task syz-executor.0:18361 blocked for more than 143 seconds.
Not tainted 5.15.106-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:27704 pid:18361 ppid: 13028 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5026 [inline]
__schedule+0x12c4/0x4590 kernel/sched/core.c:6372
schedule+0x11b/0x1f0 kernel/sched/core.c:6455
rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157
__down_write_common kernel/locking/rwsem.c:1284 [inline]
__down_write kernel/locking/rwsem.c:1293 [inline]
down_write_nested+0x16d/0x180 kernel/locking/rwsem.c:1658
lock_rename+0x182/0x1a0
do_renameat2+0x545/0x13b0 fs/namei.c:4828
__do_sys_renameat2 fs/namei.c:4920 [inline]
__se_sys_renameat2 fs/namei.c:4917 [inline]
__x64_sys_renameat2+0xce/0xe0 fs/namei.c:4917
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f99f64a6169
RSP: 002b:00007f99f49d6168 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007f99f65c6120 RCX: 00007f99f64a6169
RDX: 0000000000000004 RSI: 0000000020000180 RDI: 0000000000000004
RBP: 00007f99f6501ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000380 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc7ac0521f R14: 00007f99f49d6300 R15: 0000000000022000
</TASK>
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c91b920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3268:
#0: ffff88802432e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147
2 locks held by syz-fuzzer/3617:
#0: ffff88807e4365f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x261/0x300 fs/file.c:1073
#1: ffff8880757ebfc0 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: iterate_dir+0x10a/0x570 fs/readdir.c:55
3 locks held by kworker/u4:13/6984:
4 locks held by syz-executor.0/18357:
#0: ffff8880248b6460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff8880757ebfc0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: lock_rename+0x182/0x1a0
#2: ffff888040250de8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#2: ffff888040250de8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: vfs_rename+0x78f/0x1190 fs/namei.c:4708
#3: ffff888040252bd0 (&type->i_mutex_dir_key#4/4){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:822 [inline]
#3: ffff888040252bd0 (&type->i_mutex_dir_key#4/4){+.+.}-{3:3}, at: ext4_rename fs/ext4/namei.c:3835 [inline]
#3: ffff888040252bd0 (&type->i_mutex_dir_key#4/4){+.+.}-{3:3}, at: ext4_rename2+0x1031/0x42a0 fs/ext4/namei.c:4207
2 locks held by syz-executor.0/18360:
#0: ffff8880248b6460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff888040250de8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff888040250de8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: open_last_lookups fs/namei.c:3459 [inline]
#1: ffff888040250de8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: path_openat+0x824/0x2f20 fs/namei.c:3669
4 locks held by syz-executor.0/18361:
#0: ffff8880248b6460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff8880248b6748 (&type->s_vfs_rename_key){+.+.}-{3:3}, at: lock_rename+0x54/0x1a0 fs/namei.c:2971
#2: ffff888040252bd0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: lock_rename+0x13a/0x1a0
#3: ffff888040250de8 (&type->i_mutex_dir_key#4/5){+.+.}-{3:3}, at: lock_rename+0x182/0x1a0
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb 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:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
</TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 6984 Comm: kworker/u4:13 Not tainted 5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:debug_smp_processor_id+0x0/0x10 lib/smp_processor_id.c:60
Code: 92 8a e8 43 01 00 00 65 c7 05 d8 4c ec 75 00 00 00 00 48 c7 c7 60 bd 92 8a e8 2c 01 00 00 65 ff 0d c1 4c ec 75 5b c3 cc cc cc <48> c7 c7 e0 50 d8 8a 48 c7 c6 20 51 d8 8a eb 00 41 57 41 56 41 54
RSP: 0018:ffffc900053cfa58 EFLAGS: 00000283
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8162380c
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8de31ae8
RBP: ffffc900053cfbd8 R08: dffffc0000000000 R09: fffffbfff1bc635e
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000a79f58
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880799f9140
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1bdbdb0188 CR3: 000000002336d000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:330 [inline]
rcu_is_watching+0x11/0xa0 kernel/rcu/tree.c:1121
trace_lock_acquire include/trace/events/lock.h:13 [inline]
lock_acquire+0xdd/0x4f0 kernel/locking/lockdep.c:5593
rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:269
rcu_read_lock include/linux/rcupdate.h:696 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:723
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2306
worker_thread+0xaca/0x1280 kernel/workqueue.c:2453
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
</TASK>