INFO: task syz-executor580:3693 blocked for more than 143 seconds.
Not tainted 5.16.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor580 state:D stack:23960 pid: 3693 ppid: 3687 flags:0x00000000
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
context_switch kernel/sched/core.c:4972 [inline] kernel/sched/core.c:6253
__schedule+0xa9a/0x4940 kernel/sched/core.c:6253 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326 kernel/sched/core.c:6326
rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1151 kernel/locking/rwsem.c:1151
__down_write_common kernel/locking/rwsem.c:1268 [inline]
__down_write_common kernel/locking/rwsem.c:1265 [inline]
__down_write kernel/locking/rwsem.c:1277 [inline]
__down_write_common kernel/locking/rwsem.c:1268 [inline] kernel/locking/rwsem.c:1634
__down_write_common kernel/locking/rwsem.c:1265 [inline] kernel/locking/rwsem.c:1634
__down_write kernel/locking/rwsem.c:1277 [inline] kernel/locking/rwsem.c:1634
down_write_nested+0x139/0x150 kernel/locking/rwsem.c:1634 kernel/locking/rwsem.c:1634
inode_lock_nested include/linux/fs.h:818 [inline]
inode_lock_nested include/linux/fs.h:818 [inline] fs/namei.c:3654
filename_create+0x158/0x480 fs/namei.c:3654 fs/namei.c:3654
do_mkdirat+0x94/0x300 fs/namei.c:3898 fs/namei.c:3898
__do_sys_mkdir fs/namei.c:3929 [inline]
__se_sys_mkdir fs/namei.c:3927 [inline]
__do_sys_mkdir fs/namei.c:3929 [inline] fs/namei.c:3927
__se_sys_mkdir fs/namei.c:3927 [inline] fs/namei.c:3927
__x64_sys_mkdir+0xf2/0x140 fs/namei.c:3927 fs/namei.c:3927
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_x64 arch/x86/entry/common.c:50 [inline] arch/x86/entry/common.c:80
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3428a67f27
RSP: 002b:00007ffccb10ffa8 EFLAGS: 00000202 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007ffccb1102f0 RCX: 00007f3428a67f27
RDX: 00007ffccb10fff3 RSI: 00000000000001ff RDI: 00007ffccb10ffe0
RBP: 0000000000000003 R08: 0000000000000000 R09: 00007ffccb10fe40
R10: 00007ffccb10fcf7 R11: 0000000000000202 R12: 0000000000000001
R13: 00007ffccb10ffe0 R14: 00007ffccb110020 R15: 0000000000000000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb812e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 kernel/locking/lockdep.c:6458
1 lock held by klogd/2960:
#0: ffff8880b9c39b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 kernel/sched/core.c:478
2 locks held by getty/3279:
#0: ffff88814b433098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b8e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 drivers/tty/n_tty.c:2113
2 locks held by syz-executor580/3692:
#0: ffff88807d26a460 (sb_writers#12){.+.+}-{0:0}, at: filename_create+0xf3/0x480 fs/namei.c:3649 fs/namei.c:3649
#1: ffff888071079190 (&type->i_mutex_dir_key#7/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline]
#1: ffff888071079190 (&type->i_mutex_dir_key#7/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline] fs/namei.c:3654
#1: ffff888071079190 (&type->i_mutex_dir_key#7/1){+.+.}-{3:3}, at: filename_create+0x158/0x480 fs/namei.c:3654 fs/namei.c:3654
2 locks held by syz-executor580/3693:
#0: ffff88807d26a460 (sb_writers#12){.+.+}-{0:0}, at: filename_create+0xf3/0x480 fs/namei.c:3649 fs/namei.c:3649
#1: ffff888071079190 (&type->i_mutex_dir_key#7/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline]
#1: ffff888071079190 (&type->i_mutex_dir_key#7/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline] fs/namei.c:3654
#1: ffff888071079190 (&type->i_mutex_dir_key#7/1){+.+.}-{3:3}, at: filename_create+0x158/0x480 fs/namei.c:3654 fs/namei.c:3654
3 locks held by syz-executor580/3866:
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline]
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline]
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline] fs/read_write.c:1296
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline] fs/read_write.c:1296
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296 fs/read_write.c:1296
#1: ffff888076cfe088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x287/0x500 fs/kernfs/file.c:287 fs/kernfs/file.c:287
#2: ffff88807df9aa00 (kn->active#179){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2ab/0x500 fs/kernfs/file.c:288 fs/kernfs/file.c:288
3 locks held by syz-executor580/3867:
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline]
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline]
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline] fs/read_write.c:1296
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline] fs/read_write.c:1296
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296 fs/read_write.c:1296
#1: ffff88802264b888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x287/0x500 fs/kernfs/file.c:287 fs/kernfs/file.c:287
#2: ffff88807df9aa00 (kn->active#179){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2ab/0x500 fs/kernfs/file.c:288 fs/kernfs/file.c:288
3 locks held by syz-executor580/3868:
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline]
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline]
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline] fs/read_write.c:1296
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline] fs/read_write.c:1296
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296 fs/read_write.c:1296
#1: ffff88802443e888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x287/0x500 fs/kernfs/file.c:287 fs/kernfs/file.c:287
#2: ffff88807df9aa00 (kn->active#179){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2ab/0x500 fs/kernfs/file.c:288 fs/kernfs/file.c:288
3 locks held by syz-executor580/3869:
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline]
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline]
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline] fs/read_write.c:1296
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline] fs/read_write.c:1296
#0: ffff88807c996460 (sb_writers#11){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296 fs/read_write.c:1296
#1: ffff88801a28e088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x287/0x500 fs/kernfs/file.c:287 fs/kernfs/file.c:287
#2: ffff88807df9aa00 (kn->active#179){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2ab/0x500 fs/kernfs/file.c:288 fs/kernfs/file.c:288
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
__dump_stack lib/dump_stack.c:88 [inline] lib/dump_stack.c:106
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] kernel/hung_task.c:295
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] kernel/hung_task.c:295
watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kernel/hung_task.c:295
kthread+0x405/0x4f0 kernel/kthread.c:327 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__lock_acquire+0x8fe/0x54a0 kernel/locking/lockdep.c:5000 kernel/locking/lockdep.c:5000
Code: 03 38 d0 7c 08 84 d2 0f 85 d7 48 00 00 8b 0d e9 bd f0 0e 85 c9 0f 84 05 07 00 00 49 8d 85 50 0a 00 00 48 89 c2 48 89 44 24 68 <48> b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 73 37
RSP: 0018:ffffc90000f0f788 EFLAGS: 00000047
RAX: ffff888011c7ecd0 RBX: 0000000000000092 RCX: ffffffff815ba30a
RDX: ffff888011c7ecd0 RSI: 0000000000000008 RDI: ffffffff8ff77a10
RBP: ffff888011c7edca R08: 0000000000000000 R09: ffffffff8ff77a17
R10: fffffbfff1feef42 R11: 000000000000003f R12: ffff888011c7eda8
R13: ffff888011c7e280 R14: ffff888011c7ece0 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fefd618600 CR3: 000000000b88e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire kernel/locking/lockdep.c:5637 [inline]
lock_acquire kernel/locking/lockdep.c:5637 [inline] kernel/locking/lockdep.c:5602
lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 kernel/locking/lockdep.c:5602
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] kernel/locking/spinlock.c:154
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:349 [inline]
spin_lock include/linux/spinlock.h:349 [inline] mm/memory.c:1722
__get_locked_pte+0x2b6/0x4d0 mm/memory.c:1722 mm/memory.c:1722
get_locked_pte include/linux/mm.h:2160 [inline]
get_locked_pte include/linux/mm.h:2160 [inline] arch/x86/kernel/alternative.c:1000
__text_poke+0x1ae/0x8c0 arch/x86/kernel/alternative.c:1000 arch/x86/kernel/alternative.c:1000
text_poke_bp_batch+0x2eb/0x560 arch/x86/kernel/alternative.c:1310 arch/x86/kernel/alternative.c:1310
text_poke_flush arch/x86/kernel/alternative.c:1451 [inline]
text_poke_flush arch/x86/kernel/alternative.c:1448 [inline]
text_poke_flush arch/x86/kernel/alternative.c:1451 [inline] arch/x86/kernel/alternative.c:1458
text_poke_flush arch/x86/kernel/alternative.c:1448 [inline] arch/x86/kernel/alternative.c:1458
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458 arch/x86/kernel/alternative.c:1458
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 arch/x86/kernel/jump_label.c:146
jump_label_update+0x1d5/0x430 kernel/jump_label.c:830 kernel/jump_label.c:830
static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 kernel/jump_label.c:177
static_key_enable+0x16/0x20 kernel/jump_label.c:190 kernel/jump_label.c:190
toggle_allocation_gate mm/kfence/core.c:732 [inline]
toggle_allocation_gate mm/kfence/core.c:732 [inline] mm/kfence/core.c:724
toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:724 mm/kfence/core.c:724
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: 03 38 add (%rax),%edi
2: d0 7c 08 84 sarb -0x7c(%rax,%rcx,1)
6: d2 0f rorb %cl,(%rdi)
8: 85 d7 test %edx,%edi
a: 48 00 00 rex.W add %al,(%rax)
d: 8b 0d e9 bd f0 0e mov 0xef0bde9(%rip),%ecx # 0xef0bdfc
13: 85 c9 test %ecx,%ecx
15: 0f 84 05 07 00 00 je 0x720
1b: 49 8d 85 50 0a 00 00 lea 0xa50(%r13),%rax
22: 48 89 c2 mov %rax,%rdx
25: 48 89 44 24 68 mov %rax,0x68(%rsp)
* 2a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction
31: fc ff df
34: 48 c1 ea 03 shr $0x3,%rdx
38: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
3c: 0f .byte 0xf
3d: 85 73 37 test %esi,0x37(%rbx)
----------------
Code disassembly (best guess):
0: 03 38 add (%rax),%edi
2: d0 7c 08 84 sarb -0x7c(%rax,%rcx,1)
6: d2 0f rorb %cl,(%rdi)
8: 85 d7 test %edx,%edi
a: 48 00 00 rex.W add %al,(%rax)
d: 8b 0d e9 bd f0 0e mov 0xef0bde9(%rip),%ecx # 0xef0bdfc
13: 85 c9 test %ecx,%ecx
15: 0f 84 05 07 00 00 je 0x720
1b: 49 8d 85 50 0a 00 00 lea 0xa50(%r13),%rax
22: 48 89 c2 mov %rax,%rdx
25: 48 89 44 24 68 mov %rax,0x68(%rsp)
* 2a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction
31: fc ff df
34: 48 c1 ea 03 shr $0x3,%rdx
38: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
3c: 0f .byte 0xf
3d: 85 73 37 test %esi,0x37(%rbx)