INFO: task syz-executor.5:11009 blocked for more than 143 seconds.
Not tainted 5.17.0-rc5-syzkaller-00011-g5c1ee569660d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:29464 pid:11009 ppid: 10982 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xa94/0x4910 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
rwsem_down_read_slowpath+0x589/0xa70 kernel/locking/rwsem.c:1032
__down_read_common kernel/locking/rwsem.c:1214 [inline]
__down_read kernel/locking/rwsem.c:1223 [inline]
down_read+0xe2/0x440 kernel/locking/rwsem.c:1463
inode_lock_shared include/linux/fs.h:787 [inline]
lookup_slow fs/namei.c:1723 [inline]
walk_component+0x400/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:0x7fcff35ed059
RSP: 002b:00007fcff1f20168 EFLAGS: 00000246 ORIG_RAX: 0000000000000050
RAX: ffffffffffffffda RBX: 00007fcff3700100 RCX: 00007fcff35ed059
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000380
RBP: 00007fcff364708d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff69ed5aaf R14: 00007fcff1f20300 R15: 0000000000022000
INFO: task syz-executor.5:11010 blocked for more than 143 seconds.
Not tainted 5.17.0-rc5-syzkaller-00011-g5c1ee569660d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:29912 pid:11010 ppid: 10982 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xa94/0x4910 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
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_nested+0x139/0x150 kernel/locking/rwsem.c:1625
inode_lock_nested include/linux/fs.h:812 [inline]
filename_create+0x158/0x480 fs/namei.c:3704
do_mknodat+0x185/0x530 fs/namei.c:3848
__do_sys_mknod fs/namei.c:3895 [inline]
__se_sys_mknod fs/namei.c:3893 [inline]
__x64_sys_mknod+0x11a/0x170 fs/namei.c:3893
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:0x7fcff35ed059
RSP: 002b:00007fcff1eff168 EFLAGS: 00000246 ORIG_RAX: 0000000000000085
RAX: ffffffffffffffda RBX: 00007fcff37001d0 RCX: 00007fcff35ed059
RDX: 000000000000070a RSI: 0000000000001000 RDI: 0000000020000600
RBP: 00007fcff364708d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff69ed5aaf R14: 00007fcff1eff300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb845e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460
2 locks held by getty/3277:
#0: ffff88807f29a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075
2 locks held by syz-executor.3/10786:
4 locks held by syz-executor.5/11007:
1 lock held by syz-executor.5/11009:
#0: ffff888028edb160 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:787 [inline]
#0: ffff888028edb160 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow fs/namei.c:1723 [inline]
#0: ffff888028edb160 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:2020
2 locks held by syz-executor.5/11010:
#0: ffff8880752d2460 (sb_writers#19){.+.+}-{0:0}, at: filename_create+0xf3/0x480 fs/namei.c:3699
#1: ffff888028edb160 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:812 [inline]
#1: ffff888028edb160 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: filename_create+0x158/0x480 fs/namei.c:3704
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc5-syzkaller-00011-g5c1ee569660d #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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10786 Comm: syz-executor.3 Not tainted 5.17.0-rc5-syzkaller-00011-g5c1ee569660d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__kasan_check_read+0x4/0x10 mm/kasan/shadow.c:31
Code: 4a 07 48 85 db 0f 85 ef 79 4b 07 48 83 c4 60 5b 5d 41 5c 41 5d c3 c3 e9 ef 7a 4b 07 cc cc cc cc cc cc cc cc cc cc 48 8b 0c 24 <89> f6 31 d2 e9 f3 f9 ff ff 0f 1f 00 48 8b 0c 24 89 f6 ba 01 00 00
RSP: 0018:ffffc9000b2576f8 EFLAGS: 00000017
RAX: 0000000000000033 RBX: 0000000000000ce3 RCX: ffffffff815d621e
RDX: 1ffff11004b76c35 RSI: 0000000000000008 RDI: ffffffff8ffc2ad8
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000002
R10: fffffbfff1ff852a R11: 0000000000000001 R12: ffff888025bb61b0
R13: ffff888025bb5700 R14: ffffffff8d9444a8 R15: 0000000000000000
FS: 00007f7862780700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c001973388 CR3: 000000007dc55000 CR4: 0000000000350ee0
Call Trace:
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
hlock_class kernel/locking/lockdep.c:199 [inline]
__lock_acquire+0x144e/0x56c0 kernel/locking/lockdep.c:5023
lock_acquire kernel/locking/lockdep.c:5639 [inline]
lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604
__fs_reclaim_acquire mm/page_alloc.c:4555 [inline]
fs_reclaim_acquire+0x115/0x160 mm/page_alloc.c:4569
prepare_alloc_pages+0x15c/0x570 mm/page_alloc.c:5161
__alloc_pages+0x12f/0x500 mm/page_alloc.c:5378
alloc_pages+0x1aa/0x310 mm/mempolicy.c:2271
folio_alloc+0x1c/0x70 mm/mempolicy.c:2281
filemap_alloc_folio mm/filemap.c:987 [inline]
do_read_cache_folio+0x3d4/0x7b0 mm/filemap.c:3472
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_hash+0x117/0x180 fs/namei.c:1608
filename_create+0x184/0x480 fs/namei.c:3705
do_mknodat+0x185/0x530 fs/namei.c:3848
__do_sys_mknod fs/namei.c:3895 [inline]
__se_sys_mknod fs/namei.c:3893 [inline]
__x64_sys_mknod+0x11a/0x170 fs/namei.c:3893
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:0x7f7863e0b059
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:00007f7862780168 EFLAGS: 00000246 ORIG_RAX: 0000000000000085
RAX: ffffffffffffffda RBX: 00007f7863f1df60 RCX: 00007f7863e0b059
RDX: 0000000000000706 RSI: 0000000000001000 RDI: 0000000020000600
RBP: 00007f7863e6508d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff43e9ec8f R14: 00007f7862780300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 4a 07 rex.WX (bad)
2: 48 85 db test %rbx,%rbx
5: 0f 85 ef 79 4b 07 jne 0x74b79fa
b: 48 83 c4 60 add $0x60,%rsp
f: 5b pop %rbx
10: 5d pop %rbp
11: 41 5c pop %r12
13: 41 5d pop %r13
15: c3 retq
16: c3 retq
17: e9 ef 7a 4b 07 jmpq 0x74b7b0b
1c: cc int3
1d: cc int3
1e: cc int3
1f: cc int3
20: cc int3
21: cc int3
22: cc int3
23: cc int3
24: cc int3
25: cc int3
26: 48 8b 0c 24 mov (%rsp),%rcx
* 2a: 89 f6 mov %esi,%esi <-- trapping instruction
2c: 31 d2 xor %edx,%edx
2e: e9 f3 f9 ff ff jmpq 0xfffffa26
33: 0f 1f 00 nopl (%rax)
36: 48 8b 0c 24 mov (%rsp),%rcx
3a: 89 f6 mov %esi,%esi
3c: ba .byte 0xba
3d: 01 00 add %eax,(%rax)