INFO: task syz-executor.1:9549 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.1 state:D stack:27600 pid: 9549 ppid: 3631 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
rwsem_down_write_slowpath+0xdb7/0x1480 kernel/locking/rwsem.c:1151
__down_write_common kernel/locking/rwsem.c:1268 [inline]
__down_write kernel/locking/rwsem.c:1277 [inline]
down_write+0x163/0x170 kernel/locking/rwsem.c:1524
inode_lock include/linux/fs.h:783 [inline]
open_last_lookups fs/namei.c:3347 [inline]
path_openat+0x853/0x3660 fs/namei.c:3556
do_filp_open+0x277/0x4f0 fs/namei.c:3586
do_sys_openat2+0x13b/0x500 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+0x221/0x270 fs/open.c:1232
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fdd7a2d5e99
RSP: 002b:00007fdd78bc7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fdd7a3e92a0 RCX: 00007fdd7a2d5e99
RDX: 0000000000000000 RSI: 0000000000141042 RDI: 00000000200000c0
RBP: 00007fdd7a32fff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc8134f73f R14: 00007fdd78bc7300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cb1de00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3281:
#0: ffff888023fa4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113
1 lock held by syz-executor.1/9548:
2 locks held by syz-executor.1/9549:
#0: ffff888013df6460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376
#1: ffff88803ae746e0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#1: ffff88803ae746e0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline]
#1: ffff88803ae746e0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x853/0x3660 fs/namei.c:3556
=============================================
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+0x1dc/0x2d8 lib/dump_stack.c:106
nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 9548 Comm: syz-executor.1 Not tainted 5.16.0-rc8-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:lockdep_hardirqs_off+0x3a/0x100 kernel/locking/lockdep.c:4384
Code: 48 89 44 24 08 83 3d 48 57 f4 03 00 0f 84 8e 00 00 00 49 89 fe 65 8b 05 5c e5 f7 75 a9 00 00 f0 00 74 66 83 3d a6 de b0 06 00 <75> 15 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75
RSP: 0018:ffffc900061561e0 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffffff81cefd69 RCX: ffff88803871ba00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff888088c98910 R08: 0000000000000001 R09: ffffc900061560cc
R10: fffffbfff1bfd5be R11: 0000000000000000 R12: 0000000000000000
R13: ffffc900061562b0 R14: ffffffff81cefd69 R15: 0000000000000282
FS: 00007fdd78be8700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c01e49e630 CR3: 0000000078b95000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_hardirqs_off+0x14/0x70 kernel/trace/trace_preemptirq.c:76
kasan_quarantine_put+0x39/0x230 mm/kasan/quarantine.c:193
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:1723 [inline]
slab_free_freelist_hook+0x12e/0x1a0 mm/slub.c:1749
slab_free mm/slub.c:3513 [inline]
kmem_cache_free+0xa4/0x180 mm/slub.c:3530
free_buffer_head+0x45/0xb0 fs/buffer.c:3325
try_to_free_buffers+0x423/0x510 fs/buffer.c:3266
shrink_page_list+0x290d/0x73e0 mm/vmscan.c:1858
shrink_inactive_list+0x457/0xad0 mm/vmscan.c:2435
shrink_list mm/vmscan.c:2662 [inline]
shrink_lruvec+0x49a/0xc90 mm/vmscan.c:2981
shrink_node_memcgs+0x358/0x700 mm/vmscan.c:3170
shrink_node+0xdc2/0x1ee0 mm/vmscan.c:3293
shrink_zones+0x4ec/0xc30 mm/vmscan.c:3530
do_try_to_free_pages+0x22a/0xce0 mm/vmscan.c:3588
try_to_free_mem_cgroup_pages+0x3b8/0x6b0 mm/vmscan.c:3902
try_charge_memcg+0x50a/0x1010 mm/memcontrol.c:2592
try_charge mm/memcontrol.c:2717 [inline]
charge_memcg+0x104/0x4a0 mm/memcontrol.c:6666
__mem_cgroup_charge+0x23/0x80 mm/memcontrol.c:6687
mem_cgroup_charge include/linux/memcontrol.h:713 [inline]
__filemap_add_folio+0xaaa/0xe50 mm/filemap.c:906
filemap_add_folio+0x106/0x2b0 mm/filemap.c:999
do_read_cache_page+0x209/0x9c0 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+0x1a8/0x560 fs/minix/dir.c:170
minix_inode_by_name+0x9a/0x240 fs/minix/dir.c:454
minix_lookup+0xbf/0x150 fs/minix/namei.c:30
__lookup_slow+0x27f/0x3d0 fs/namei.c:1657
lookup_slow fs/namei.c:1674 [inline]
walk_component+0x516/0x790 fs/namei.c:1970
lookup_last fs/namei.c:2425 [inline]
path_lookupat+0x19d/0x6c0 fs/namei.c:2449
filename_lookup+0x270/0x640 fs/namei.c:2478
user_path_at_empty+0x40/0x1a0 fs/namei.c:2801
user_path_at include/linux/namei.h:57 [inline]
__do_sys_chdir fs/open.c:489 [inline]
__se_sys_chdir+0xa4/0x2a0 fs/open.c:483
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fdd7a2d5e99
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:00007fdd78be8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000050
RAX: ffffffffffffffda RBX: 00007fdd7a3e91d0 RCX: 00007fdd7a2d5e99
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040
RBP: 00007fdd7a32fff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc8134f73f R14: 00007fdd78be8300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 48 89 44 24 08 mov %rax,0x8(%rsp)
5: 83 3d 48 57 f4 03 00 cmpl $0x0,0x3f45748(%rip) # 0x3f45754
c: 0f 84 8e 00 00 00 je 0xa0
12: 49 89 fe mov %rdi,%r14
15: 65 8b 05 5c e5 f7 75 mov %gs:0x75f7e55c(%rip),%eax # 0x75f7e578
1c: a9 00 00 f0 00 test $0xf00000,%eax
21: 74 66 je 0x89
23: 83 3d a6 de b0 06 00 cmpl $0x0,0x6b0dea6(%rip) # 0x6b0ded0
* 2a: 75 15 jne 0x41 <-- trapping instruction
2c: 48 c7 04 24 00 00 00 movq $0x0,(%rsp)
33: 00
34: 9c pushfq
35: 8f 04 24 popq (%rsp)
38: f7 04 24 00 02 00 00 testl $0x200,(%rsp)
3f: 75 .byte 0x75