INFO: task syz-executor.3:19454 blocked for more than 143 seconds.
Not tainted 5.17.0-rc4-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:29176 pid:19454 ppid: 19263 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4987 [inline]
__schedule+0xa94/0x4910 kernel/sched/core.c:6296
schedule+0xd2/0x260 kernel/sched/core.c:6369
rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1142
__down_write_common kernel/locking/rwsem.c:1259 [inline]
__down_write_common kernel/locking/rwsem.c:1256 [inline]
__down_write kernel/locking/rwsem.c:1268 [inline]
down_write+0x135/0x150 kernel/locking/rwsem.c:1515
inode_lock include/linux/fs.h:777 [inline]
open_last_lookups fs/namei.c:3397 [inline]
path_openat+0x94b/0x2940 fs/namei.c:3606
do_filp_open+0x1aa/0x400 fs/namei.c:3636
do_sys_openat2+0x16d/0x4d0 fs/open.c:1214
do_sys_open fs/open.c:1230 [inline]
__do_sys_open fs/open.c:1238 [inline]
__se_sys_open fs/open.c:1234 [inline]
__x64_sys_open+0x119/0x1c0 fs/open.c:1234
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:0x7fefaecdb059
RSP: 002b:00007fefad5cc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fefaedee2a0 RCX: 00007fefaecdb059
RDX: 0000000000000000 RSI: 0000000000141842 RDI: 00000000200000c0
RBP: 00007fefaed3508d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff4de225ff R14: 00007fefad5cc300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb84360 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460
2 locks held by getty/3277:
#0: ffff8880237c9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002b632e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077
2 locks held by syz-executor.3/19453:
2 locks held by syz-executor.3/19454:
#0: ffff888013b88460 (sb_writers#19){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3389 [inline]
#0: ffff888013b88460 (sb_writers#19){.+.+}-{0:0}, at: path_openat+0x28d1/0x2940 fs/namei.c:3606
#1: ffff888042c67160 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline]
#1: ffff888042c67160 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3397 [inline]
#1: ffff888042c67160 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x94b/0x2940 fs/namei.c:3606
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc4-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+0x1e6/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:369
kthread+0x2e9/0x3a0 kernel/kthread.c:377
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 19453 Comm: syz-executor.3 Not tainted 5.17.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rcu_lockdep_current_cpu_online kernel/rcu/tree.c:1177 [inline]
RIP: 0010:rcu_lockdep_current_cpu_online+0x83/0x150 kernel/rcu/tree.c:1167
Code: 3c 02 00 0f 85 ad 00 00 00 48 03 1c ed a0 b8 58 8b 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 18 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 90 00 00 00 48 8d 7b 20 48 8b 6b 18 48 b8 00 00 00 00 00 fc
RSP: 0018:ffffc90000007dc0 EFLAGS: 00000046
RAX: dffffc0000000000 RBX: ffff8880b9c3ab00 RCX: ffffffff815d9381
RDX: 1ffff11017387563 RSI: 0000000000010004 RDI: ffff8880b9c3ab18
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8d940c17
R10: fffffbfff1b28182 R11: 0000000000000001 R12: 0000000000000001
R13: ffff8880b9c2a64c R14: 0000000000000000 R15: dffffc0000000000
FS: 00007fefad5ed700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff13004318 CR3: 0000000078414000 CR4: 0000000000350ef0
Call Trace:
rcu_read_lock_held_common kernel/rcu/update.c:112 [inline]
rcu_read_lock_held_common kernel/rcu/update.c:102 [inline]
rcu_read_lock_sched_held+0x25/0x70 kernel/rcu/update.c:123
trace_lock_release include/trace/events/lock.h:58 [inline]
lock_release+0x522/0x720 kernel/locking/lockdep.c:5650
seqcount_lockdep_reader_access include/linux/seqlock.h:104 [inline]
ktime_get_update_offsets_now+0x93/0x5c0 kernel/time/timekeeping.c:2296
hrtimer_update_base kernel/time/hrtimer.c:631 [inline]
hrtimer_interrupt+0x142/0x790 kernel/time/hrtimer.c:1793
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
__sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103
sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:542 [inline]
RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:82 [inline]
RIP: 0010:do_raw_spin_lock+0x111/0x2b0 kernel/locking/spinlock_debug.c:115
Code: 01 00 00 8b 55 08 65 8b 05 c4 0b a4 7e 39 c2 0f 84 33 01 00 00 48 89 ef be 04 00 00 00 c7 44 24 28 00 00 00 00 e8 df 55 62 00 04 00 00 00 48 8d 7c 24 28 e8 d0 55 62 00 8b 44 24 28 ba 01 00
RSP: 0018:ffffc90002cdeb90 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffff9200059bd73 RCX: ffffffff815e0e21
RDX: ffffed100858ce14 RSI: 0000000000000004 RDI: ffff888042c67098
RBP: ffff888042c67098 R08: 0000000000000001 R09: ffff888042c6709b
R10: ffffed100858ce13 R11: 0000000000000001 R12: ffff888042c670a0
R13: ffff888042c670a8 R14: 0000000000000000 R15: ffffea0000e91580
spin_lock include/linux/spinlock.h:349 [inline]
__remove_mapping+0x1f7/0xf90 mm/vmscan.c:1252
shrink_page_list+0x2e91/0x6780 mm/vmscan.c:1894
shrink_inactive_list mm/vmscan.c:2437 [inline]
shrink_list mm/vmscan.c:2664 [inline]
shrink_lruvec+0xc9b/0x2660 mm/vmscan.c:2983
shrink_node_memcgs mm/vmscan.c:3172 [inline]
shrink_node+0x858/0x1eb0 mm/vmscan.c:3295
shrink_zones mm/vmscan.c:3532 [inline]
do_try_to_free_pages+0x3b5/0x1700 mm/vmscan.c:3590
try_to_free_mem_cgroup_pages+0x323/0x920 mm/vmscan.c:3904
try_charge_memcg+0x349/0x1130 mm/memcontrol.c:2599
try_charge mm/memcontrol.c:2724 [inline]
charge_memcg+0xae/0x360 mm/memcontrol.c:6687
__mem_cgroup_charge+0x27/0x90 mm/memcontrol.c:6708
mem_cgroup_charge include/linux/memcontrol.h:668 [inline]
__filemap_add_folio+0x724/0xe20 mm/filemap.c:857
filemap_add_folio+0xab/0x1d0 mm/filemap.c:950
do_read_cache_folio+0x249/0x7b0 mm/filemap.c:3475
do_read_cache_page mm/filemap.c:3567 [inline]
read_cache_page+0x59/0x1c0 mm/filemap.c:3576
read_mapping_page include/linux/pagemap.h:641 [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_slow+0x24c/0x480 fs/namei.c:1707
lookup_slow fs/namei.c:1724 [inline]
walk_component+0x40f/0x6a0 fs/namei.c:2020
lookup_last fs/namei.c:2475 [inline]
path_lookupat+0x1bb/0x860 fs/namei.c:2499
filename_lookup+0x1c6/0x590 fs/namei.c:2528
user_path_at_empty+0x42/0x60 fs/namei.c:2851
user_path_at include/linux/namei.h:57 [inline]
__do_sys_chdir fs/open.c:490 [inline]
__se_sys_chdir fs/open.c:484 [inline]
__x64_sys_chdir+0xb7/0x260 fs/open.c:484
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:0x7fefaecdb059
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fefad5ed168 EFLAGS: 00000246 ORIG_RAX: 0000000000000050
RAX: ffffffffffffffda RBX: 00007fefaedee1d0 RCX: 00007fefaecdb059
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040
RBP: 00007fefaed3508d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff4de225ff R14: 00007fefad5ed300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 3c 02 cmp $0x2,%al
2: 00 0f add %cl,(%rdi)
4: 85 ad 00 00 00 48 test %ebp,0x48000000(%rbp)
a: 03 1c ed a0 b8 58 8b add -0x74a74760(,%rbp,8),%ebx
11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
18: fc ff df
1b: 48 8d 7b 18 lea 0x18(%rbx),%rdi
1f: 48 89 fa mov %rdi,%rdx
22: 48 c1 ea 03 shr $0x3,%rdx
26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
* 2a: 0f 85 90 00 00 00 jne 0xc0 <-- trapping instruction
30: 48 8d 7b 20 lea 0x20(%rbx),%rdi
34: 48 8b 6b 18 mov 0x18(%rbx),%rbp
38: 48 rex.W
39: b8 00 00 00 00 mov $0x0,%eax
3e: 00 fc add %bh,%ah