INFO: task syz-executor.0:27094 blocked for more than 143 seconds. Not tainted 5.13.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28272 pid:27094 ppid: 8426 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0x916/0x23e0 kernel/sched/core.c:5147 schedule+0xcf/0x270 kernel/sched/core.c:5226 rwsem_down_read_slowpath+0x4ca/0x980 kernel/locking/rwsem.c:992 __down_read_common kernel/locking/rwsem.c:1213 [inline] __down_read kernel/locking/rwsem.c:1222 [inline] down_read+0xe4/0x440 kernel/locking/rwsem.c:1355 inode_lock_shared include/linux/fs.h:784 [inline] lookup_slow fs/namei.c:1645 [inline] walk_component+0x409/0x6a0 fs/namei.c:1942 lookup_last fs/namei.c:2397 [inline] path_lookupat+0x1ba/0x850 fs/namei.c:2421 filename_lookup+0x1b1/0x570 fs/namei.c:2454 user_path_at include/linux/namei.h:60 [inline] __do_sys_chdir fs/open.c:493 [inline] __se_sys_chdir fs/open.c:487 [inline] __x64_sys_chdir+0xb7/0x260 fs/open.c:487 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 RSP: 002b:00007f918bc4a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007ffe70c93bcf R14: 00007f918bc4a300 R15: 0000000000022000 INFO: task syz-executor.0:27131 blocked for more than 143 seconds. Not tainted 5.13.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29376 pid:27131 ppid: 8426 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0x916/0x23e0 kernel/sched/core.c:5147 schedule+0xcf/0x270 kernel/sched/core.c:5226 rwsem_down_read_slowpath+0x4ca/0x980 kernel/locking/rwsem.c:992 __down_read_common kernel/locking/rwsem.c:1213 [inline] __down_read kernel/locking/rwsem.c:1222 [inline] down_read+0xe4/0x440 kernel/locking/rwsem.c:1355 inode_lock_shared include/linux/fs.h:784 [inline] open_last_lookups fs/namei.c:3284 [inline] path_openat+0x14bf/0x27e0 fs/namei.c:3491 do_filp_open+0x190/0x3d0 fs/namei.c:3521 do_sys_openat2+0x16d/0x420 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_open fs/open.c:1211 [inline] __se_sys_open fs/open.c:1207 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1207 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 RSP: 002b:00007f918bc29188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665d9 RDX: 00000000000001a9 RSI: 0000000000050200 RDI: 0000000020000080 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007ffe70c93bcf R14: 00007f918bc29300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1610: #0: ffffffff8bf79660 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6333 1 lock held by kswapd0/2141: 1 lock held by in:imklog/8120: #0: ffff888023434d70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 7 locks held by syz-executor.0/27089: 1 lock held by syz-executor.0/27094: #0: ffff8880861ca298 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:784 [inline] #0: ffff8880861ca298 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow fs/namei.c:1645 [inline] #0: ffff8880861ca298 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: walk_component+0x409/0x6a0 fs/namei.c:1942 2 locks held by syz-executor.0/27131: #0: ffff88807dd60460 (sb_writers#17){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3274 [inline] #0: ffff88807dd60460 (sb_writers#17){.+.+}-{0:0}, at: path_openat+0x264e/0x27e0 fs/namei.c:3491 #1: ffff8880861ca298 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:784 [inline] #1: ffff8880861ca298 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: open_last_lookups fs/namei.c:3284 [inline] #1: ffff8880861ca298 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: path_openat+0x14bf/0x27e0 fs/namei.c:3491 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1610 Comm: khungtaskd Not tainted 5.13.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 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:209 [inline] watchdog+0xd48/0xfb0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 27089 Comm: syz-executor.0 Not tainted 5.13.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:163 [inline] RIP: 0010:unwind_next_frame+0x23b/0x1ce0 arch/x86/kernel/unwind_orc.c:443 Code: 8d 43 ff 39 c6 0f 83 bc 13 00 00 48 b8 00 00 00 00 00 fc ff df 89 f2 48 8d 3c 95 b0 4a dd 8e 48 89 f9 48 c1 e9 03 0f b6 0c 01 <48> 89 f8 83 e0 07 83 c0 03 38 c8 7c 27 84 c9 74 23 48 89 54 24 30 RSP: 0018:ffffc9000db970d0 EFLAGS: 00000217 RAX: dffffc0000000000 RBX: 1ffff92001b72e22 RCX: 0000000000000000 RDX: 000000000000d5af RSI: 000000000000d5af RDI: ffffffff8ee0a16c RBP: 0000000000000001 R08: ffffffff8bdf2920 R09: 0000000000000001 R10: fffff52001b72e40 R11: 0000000000084087 R12: ffffc9000db971f0 R13: ffffc9000db971dd R14: ffffc9000db971a8 R15: ffffffff81d5af6b FS: 00007f918bc6b700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fedfa77d000 CR3: 000000002e739000 CR4: 0000000000350ef0 Call Trace: arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:428 [inline] __kasan_slab_alloc+0x84/0xa0 mm/kasan/common.c:461 kasan_slab_alloc include/linux/kasan.h:236 [inline] slab_post_alloc_hook mm/slab.h:524 [inline] slab_alloc_node mm/slub.c:2914 [inline] slab_alloc mm/slub.c:2922 [inline] kmem_cache_alloc+0x219/0x3a0 mm/slub.c:2927 kmem_cache_zalloc include/linux/slab.h:676 [inline] alloc_buffer_head+0x20/0x140 fs/buffer.c:3357 alloc_page_buffers+0x280/0x750 fs/buffer.c:857 create_empty_buffers+0x2c/0x820 fs/buffer.c:1581 create_page_buffers+0x2ac/0x3c0 fs/buffer.c:1698 block_read_full_page+0xc9/0xe40 fs/buffer.c:2289 do_read_cache_page+0x8d9/0x1390 mm/filemap.c:3348 read_mapping_page include/linux/pagemap.h:515 [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+0x6a4/0x13d0 fs/namei.c:3193 open_last_lookups fs/namei.c:3285 [inline] path_openat+0x9b4/0x27e0 fs/namei.c:3491 do_filp_open+0x190/0x3d0 fs/namei.c:3521 do_sys_openat2+0x16d/0x420 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_creat fs/open.c:1277 [inline] __se_sys_creat fs/open.c:1271 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1271 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 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:00007f918bc6b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffe70c93bcf R14: 00007f918bc6b300 R15: 0000000000022000