INFO: task syz-executor.2:22600 blocked for more than 143 seconds.
Not tainted 6.3.0-rc3-next-20230324-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:27224 pid:22600 ppid:5119 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5323 [inline]
__schedule+0x1d23/0x5650 kernel/sched/core.c:6648
schedule+0xde/0x1a0 kernel/sched/core.c:6724
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6783
rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d2/0x200 kernel/locking/rwsem.c:1574
inode_lock include/linux/fs.h:761 [inline]
lock_mount+0x8a/0x2e0 fs/namespace.c:2294
__do_sys_pivot_root+0x2c0/0x1610 fs/namespace.c:3894
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:0x7f8d4b48c0f9
RSP: 002b:00007f8d4c2a6168 EFLAGS: 00000246 ORIG_RAX: 000000000000009b
RAX: ffffffffffffffda RBX: 00007f8d4b5ac050 RCX: 00007f8d4b48c0f9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000020000000
RBP: 00007f8d4b4e7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe927038ef R14: 00007f8d4c2a6300 R15: 0000000000022000
INFO: task syz-executor.2:22603 blocked for more than 143 seconds.
Not tainted 6.3.0-rc3-next-20230324-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:29376 pid:22603 ppid:5119 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5323 [inline]
__schedule+0x1d23/0x5650 kernel/sched/core.c:6648
schedule+0xde/0x1a0 kernel/sched/core.c:6724
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6783
rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write_nested+0x1d6/0x200 kernel/locking/rwsem.c:1690
inode_lock_nested include/linux/fs.h:796 [inline]
lock_rename+0x1e4/0x280 fs/namei.c:3012
do_renameat2+0x63d/0xc90 fs/namei.c:4864
__do_sys_renameat2 fs/namei.c:4956 [inline]
__se_sys_renameat2 fs/namei.c:4953 [inline]
__x64_sys_renameat2+0xe8/0x120 fs/namei.c:4953
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:0x7f8d4b48c0f9
RSP: 002b:00007f8d4c285168 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007f8d4b5ac120 RCX: 00007f8d4b48c0f9
RDX: 0000000000000004 RSI: 0000000020000180 RDI: 0000000000000004
RBP: 00007f8d4b4e7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000380 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe927038ef R14: 00007f8d4c285300 R15: 0000000000022000
INFO: task syz-executor.2:22606 blocked for more than 143 seconds.
Not tainted 6.3.0-rc3-next-20230324-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:28584 pid:22606 ppid:5119 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5323 [inline]
__schedule+0x1d23/0x5650 kernel/sched/core.c:6648
schedule+0xde/0x1a0 kernel/sched/core.c:6724
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6783
rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write_nested+0x1d6/0x200 kernel/locking/rwsem.c:1690
inode_lock_nested include/linux/fs.h:796 [inline]
ext4_rename+0x1593/0x2790 fs/ext4/namei.c:3821
ext4_rename2+0x1c7/0x270 fs/ext4/namei.c:4200
vfs_rename+0xef6/0x17a0 fs/namei.c:4772
do_renameat2+0xb62/0xc90 fs/namei.c:4923
__do_sys_rename fs/namei.c:4969 [inline]
__se_sys_rename fs/namei.c:4967 [inline]
__x64_sys_rename+0x81/0xa0 fs/namei.c:4967
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:0x7f8d4b48c0f9
RSP: 002b:00007f8d4c264168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f8d4b5ac1f0 RCX: 00007f8d4b48c0f9
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000200
RBP: 00007f8d4b4e7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe927038ef R14: 00007f8d4c264300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c795270 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:519
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c794f70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:519
1 lock held by khungtaskd/28:
#0: ffffffff8c795e80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6545
2 locks held by getty/4759:
#0: ffff88802a690098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176
2 locks held by syz-fuzzer/5104:
#0: ffff888076d40ae8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe7/0x100 fs/file.c:1047
#1: ffff888073db5e48 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: iterate_dir+0xd1/0x6f0 fs/readdir.c:55
2 locks held by kworker/u4:110/13524:
#0: ffff8880b993c598 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:554
#1: ffffc90015b4fdb0 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380
2 locks held by kworker/u4:6/21089:
1 lock held by syz-executor.2/22600:
#0: ffff888035397258 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:761 [inline]
#0: ffff888035397258 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2294
4 locks held by syz-executor.2/22603:
#0: ffff88814bacc460 (sb_writers#4){.+.+}-{0:0}, at: do_renameat2+0x37f/0xc90 fs/namei.c:4859
#1: ffff88814bacc748 (&type->s_vfs_rename_key){+.+.}-{3:3}, at: lock_rename+0x58/0x280 fs/namei.c:2995
#2: ffff888035393628 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:796 [inline]
#2: ffff888035393628 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_rename+0x1b0/0x280 fs/namei.c:3011
#3: ffff888035397258 (&type->i_mutex_dir_key#3/5){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:796 [inline]
#3: ffff888035397258 (&type->i_mutex_dir_key#3/5){+.+.}-{3:3}, at: lock_rename+0x1e4/0x280 fs/namei.c:3012
4 locks held by syz-executor.2/22606:
#0: ffff88814bacc460 (sb_writers#4){.+.+}-{0:0}, at: do_renameat2+0x37f/0xc90 fs/namei.c:4859
#1: ffff888073db5e48 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:796 [inline]
#1: ffff888073db5e48 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_rename+0x229/0x280 fs/namei.c:2991
#2: ffff888035397258 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:761 [inline]
#2: ffff888035397258 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rename+0x4f9/0x17a0 fs/namei.c:4744
#3: ffff888035393628 (&type->i_mutex_dir_key#3/4){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:796 [inline]
#3: ffff888035393628 (&type->i_mutex_dir_key#3/4){+.+.}-{3:3}, at: ext4_rename+0x1593/0x2790 fs/ext4/namei.c:3821
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc3-next-20230324-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x33e/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 13524 Comm: kworker/u4:110 Not tainted 6.3.0-rc3-next-20230324-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__raw_callee_save___pv_queued_spin_unlock+0x0/0x16
Code: 56 57 41 50 41 51 41 52 41 53 e8 fb 14 00 00 41 5b 41 5a 41 59 41 58 5f 5e 5a 59 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 0f 1e fa 52 b8 01 00 00 00 31 d2 f0 0f b0 17 3c 01 75 02 5a c3
RSP: 0018:ffffc900001e0e38 EFLAGS: 00000082
RAX: 1ffffffff18c0df9 RBX: ffffffffffffffff RCX: ffffffff81651b14
RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffff8880b9929680
RBP: ffff8880b9929680 R08: 0000000000000000 R09: ffff8880b9929683
R10: ffffed10173252d0 R11: 0000000000000001 R12: ffff8880b9929688
R13: ffff8880b9929690 R14: dffffc0000000000 R15: fffffbfff1881e40
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557ef62c9680 CR3: 0000000028916000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:591 [inline]
queued_spin_unlock arch/x86/include/asm/qspinlock.h:57 [inline]
do_raw_spin_unlock+0x175/0x230 kernel/locking/spinlock_debug.c:141
__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:158 [inline]
_raw_spin_unlock_irq+0x1e/0x50 kernel/locking/spinlock.c:202
__run_timers kernel/time/timer.c:2024 [inline]
__run_timers kernel/time/timer.c:1995 [inline]
run_timer_softirq+0x394/0x910 kernel/time/timer.c:2035
__do_softirq+0x1d4/0x905 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x114/0x190 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:lock_acquire.part.0+0x156/0x370 kernel/locking/lockdep.c:5656
Code: b8 ff ff ff ff 65 0f c1 05 37 d3 9d 7e 83 f8 01 0f 85 c7 01 00 00 9c 58 f6 c4 02 0f 85 da 01 00 00 48 85 ed 0f 85 ad 01 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7
RSP: 0018:ffffc90015b4fba8 EFLAGS: 00000206
RAX: 0000000000000046 RBX: 1ffff92002b69f76 RCX: 5b41b8855d236ed8
RDX: 1ffff1100472f4ee RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000200 R08: 0000000000000000 R09: ffffffff914f0c47
R10: fffffbfff229e188 R11: 0000000000000000 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff8c795e80
rcu_lock_acquire include/linux/rcupdate.h:302 [inline]
rcu_read_lock include/linux/rcupdate.h:748 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0x131/0xfe0 net/batman-adv/network-coding.c:719
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
kthread+0x33e/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308