INFO: task syz-executor.2:11233 blocked for more than 143 seconds.
Not tainted 5.16.0-rc8-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:29584 pid:11233 ppid: 3637 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4900 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
rwsem_down_write_slowpath+0x634/0x1110 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_nested+0x139/0x150 kernel/locking/rwsem.c:1634
inode_lock_nested include/linux/fs.h:818 [inline]
lock_rename+0x225/0x280 fs/namei.c:2915
do_renameat2+0x639/0xc80 fs/namei.c:4718
__do_sys_rename fs/namei.c:4823 [inline]
__se_sys_rename fs/namei.c:4821 [inline]
__x64_sys_rename+0x7d/0xa0 fs/namei.c:4821
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fe133e1fe99
RSP: 002b:00007fe132753168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007fe133f33100 RCX: 00007fe133e1fe99
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000020000240
RBP: 00007fe133e79ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdb4280b7f R14: 00007fe132753300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
2 locks held by getty/3284:
#0: ffff88802302d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
3 locks held by syz-executor.2/11224:
2 locks held by syz-executor.2/11233:
#0: ffff888078154460 (sb_writers#14){.+.+}-{0:0}, at: do_renameat2+0x37b/0xc80 fs/namei.c:4713
#1: ffff888031e0fc00 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline]
#1: ffff888031e0fc00 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: lock_rename+0x225/0x280 fs/namei.c:2915
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc8-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_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b3/0x230 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]
watchdog+0xc1d/0xf50 kernel/hung_task.c:295
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 11224 Comm: syz-executor.2 Not tainted 5.16.0-rc8-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x70 kernel/kcov.c:288
Code: 44 30 e0 02 00 00 00 48 89 7c 30 e8 48 89 4c 30 f0 4c 89 54 d8 20 48 89 10 5b c3 0f 1f 80 00 00 00 00 41 89 f8 bf 03 00 00 00 <4c> 8b 14 24 89 f1 65 48 8b 34 25 40 70 02 00 e8 14 f9 ff ff 84 c0
RSP: 0018:ffffc9000f706918 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 0000000000000018 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 0000000000000018 R08: 0000000000000000 R09: 0000000000000012
R10: ffffffff84022b1e R11: 000000000000003f R12: 0000000000000001
R13: 0000000000000003 R14: ffff888098cf3c80 R15: ffffc9000f706aa8
FS: 00007fe132774700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562877c92138 CR3: 000000007f5d6000 CR4: 0000000000350ee0
Call Trace:
xa_head_locked include/linux/xarray.h:1173 [inline]
xas_create+0x87e/0x1070 lib/xarray.c:657
xas_store+0x8a/0x1bc0 lib/xarray.c:784
page_cache_delete+0x2d5/0x800 mm/filemap.c:141
__remove_mapping+0x551/0xf20 mm/vmscan.c:1317
shrink_page_list+0x2e91/0x6730 mm/vmscan.c:1892
shrink_inactive_list mm/vmscan.c:2435 [inline]
shrink_list mm/vmscan.c:2662 [inline]
shrink_lruvec+0xc9b/0x2660 mm/vmscan.c:2981
shrink_node_memcgs mm/vmscan.c:3170 [inline]
shrink_node+0x858/0x1eb0 mm/vmscan.c:3293
shrink_zones mm/vmscan.c:3530 [inline]
do_try_to_free_pages+0x39e/0x16d0 mm/vmscan.c:3588
try_to_free_mem_cgroup_pages+0x2cd/0x840 mm/vmscan.c:3902
try_charge_memcg+0x356/0x1270 mm/memcontrol.c:2592
try_charge mm/memcontrol.c:2717 [inline]
charge_memcg+0xae/0x360 mm/memcontrol.c:6666
__mem_cgroup_charge+0x27/0x90 mm/memcontrol.c:6687
mem_cgroup_charge include/linux/memcontrol.h:713 [inline]
__filemap_add_folio+0x724/0xe20 mm/filemap.c:906
filemap_add_folio+0xab/0x1d0 mm/filemap.c:999
do_read_cache_page+0x510/0x11a0 mm/filemap.c:3451
read_mapping_page include/linux/pagemap.h:650 [inline]
dir_get_page fs/minix/dir.c:70 [inline]
minix_find_entry+0x203/0x7e0 fs/minix/dir.c:170
minix_inode_by_name+0x6d/0x460 fs/minix/dir.c:454
minix_lookup fs/minix/namei.c:30 [inline]
minix_lookup+0x103/0x190 fs/minix/namei.c:22
lookup_open.isra.0+0x69f/0x13d0 fs/namei.c:3258
open_last_lookups fs/namei.c:3350 [inline]
path_openat+0x9b8/0x2750 fs/namei.c:3556
do_filp_open+0x1aa/0x400 fs/namei.c:3586
do_sys_openat2+0x16d/0x4d0 fs/open.c:1212
do_sys_open fs/open.c:1228 [inline]
__do_sys_open fs/open.c:1236 [inline]
__se_sys_open fs/open.c:1232 [inline]
__x64_sys_open+0x119/0x1c0 fs/open.c:1232
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fe133e1fe99
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe132774168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fe133f33030 RCX: 00007fe133e1fe99
RDX: 0000000000000000 RSI: 0000000000141042 RDI: 00000000200000c0
RBP: 00007fe133e79ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdb4280b7f R14: 00007fe132774300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 44 30 e0 xor %r12b,%al
3: 02 00 add (%rax),%al
5: 00 00 add %al,(%rax)
7: 48 89 7c 30 e8 mov %rdi,-0x18(%rax,%rsi,1)
c: 48 89 4c 30 f0 mov %rcx,-0x10(%rax,%rsi,1)
11: 4c 89 54 d8 20 mov %r10,0x20(%rax,%rbx,8)
16: 48 89 10 mov %rdx,(%rax)
19: 5b pop %rbx
1a: c3 retq
1b: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
22: 41 89 f8 mov %edi,%r8d
25: bf 03 00 00 00 mov $0x3,%edi
* 2a: 4c 8b 14 24 mov (%rsp),%r10 <-- trapping instruction
2e: 89 f1 mov %esi,%ecx
30: 65 48 8b 34 25 40 70 mov %gs:0x27040,%rsi
37: 02 00
39: e8 14 f9 ff ff callq 0xfffff952
3e: 84 c0 test %al,%al