Buffer I/O error on dev loop4, logical block 13466417, async page read syz-executor.4: attempt to access beyond end of device loop4: rw=0, sector=8073605, nr_sectors = 1 limit=128 Buffer I/O error on dev loop4, logical block 8073605, async page read BUG: sleeping function called from invalid context at fs/buffer.c:1437 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6303, name: syz-executor.4 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.4/6303: #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1710 #1: ffff80008e7d44b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x144/0x1320 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x144/0x1320 fs/sysv/itree.c:221 CPU: 1 PID: 6303 Comm: syz-executor.4 Not tainted 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 __might_resched+0x374/0x4d0 kernel/sched/core.c:10187 __might_sleep+0x90/0xe4 kernel/sched/core.c:10116 __getblk_gfp+0x5c/0x720 fs/buffer.c:1437 __bread_gfp+0x3c/0x2ec fs/buffer.c:1473 sb_bread include/linux/buffer_head.h:326 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x15c/0x1320 fs/sysv/itree.c:222 block_read_full_folio+0x3f8/0xd84 fs/buffer.c:2400 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:466 filemap_read_folio+0x14c/0x39c mm/filemap.c:2382 do_read_cache_folio+0x114/0x548 mm/filemap.c:3742 do_read_cache_page+0x4c/0x260 mm/filemap.c:3808 read_cache_page+0x68/0x84 mm/filemap.c:3817 read_mapping_page include/linux/pagemap.h:860 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x174/0x570 fs/sysv/dir.c:157 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:374 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x374 fs/namei.c:1694 lookup_slow+0x60/0x84 fs/namei.c:1711 walk_component+0x280/0x36c fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2483 filename_lookup+0x1d4/0x4e0 fs/namei.c:2512 user_path_at_empty+0x5c/0x84 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3672 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __arm64_sys_mount+0x428/0x594 fs/namespace.c:3861 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 syz-executor.4: attempt to access beyond end of device loop4: rw=0, sector=3245518, nr_sectors = 1 limit=128 Buffer I/O error on dev loop4, logical block 3245518, async page read syz-executor.4: attempt to access beyond end of device loop4: rw=0, sector=8769403, nr_sectors = 1 limit=128 Buffer I/O error on dev loop4, logical block 8769403, async page read BUG: sleeping function called from invalid context at fs/buffer.c:1437 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6303, name: syz-executor.4 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.4/6303: #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1710 #1: ffff80008e7d44b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x144/0x1320 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x144/0x1320 fs/sysv/itree.c:221 CPU: 1 PID: 6303 Comm: syz-executor.4 Tainted: G W 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 __might_resched+0x374/0x4d0 kernel/sched/core.c:10187 __might_sleep+0x90/0xe4 kernel/sched/core.c:10116 __getblk_gfp+0x5c/0x720 fs/buffer.c:1437 __bread_gfp+0x3c/0x2ec fs/buffer.c:1473 sb_bread include/linux/buffer_head.h:326 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x15c/0x1320 fs/sysv/itree.c:222 block_read_full_folio+0x3f8/0xd84 fs/buffer.c:2400 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:466 filemap_read_folio+0x14c/0x39c mm/filemap.c:2382 do_read_cache_folio+0x114/0x548 mm/filemap.c:3742 do_read_cache_page+0x4c/0x260 mm/filemap.c:3808 read_cache_page+0x68/0x84 mm/filemap.c:3817 read_mapping_page include/linux/pagemap.h:860 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x174/0x570 fs/sysv/dir.c:157 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:374 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x374 fs/namei.c:1694 lookup_slow+0x60/0x84 fs/namei.c:1711 walk_component+0x280/0x36c fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2483 filename_lookup+0x1d4/0x4e0 fs/namei.c:2512 user_path_at_empty+0x5c/0x84 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3672 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __arm64_sys_mount+0x428/0x594 fs/namespace.c:3861 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 BUG: sleeping function called from invalid context at fs/buffer.c:1437 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6303, name: syz-executor.4 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.4/6303: #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1710 #1: ffff80008e7d44b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x144/0x1320 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x144/0x1320 fs/sysv/itree.c:221 CPU: 0 PID: 6303 Comm: syz-executor.4 Tainted: G W 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 __might_resched+0x374/0x4d0 kernel/sched/core.c:10187 __might_sleep+0x90/0xe4 kernel/sched/core.c:10116 __getblk_gfp+0x5c/0x720 fs/buffer.c:1437 __bread_gfp+0x3c/0x2ec fs/buffer.c:1473 sb_bread include/linux/buffer_head.h:326 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x15c/0x1320 fs/sysv/itree.c:222 block_read_full_folio+0x3f8/0xd84 fs/buffer.c:2400 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:466 filemap_read_folio+0x14c/0x39c mm/filemap.c:2382 do_read_cache_folio+0x114/0x548 mm/filemap.c:3742 do_read_cache_page+0x4c/0x260 mm/filemap.c:3808 read_cache_page+0x68/0x84 mm/filemap.c:3817 read_mapping_page include/linux/pagemap.h:860 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x174/0x570 fs/sysv/dir.c:157 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:374 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x374 fs/namei.c:1694 lookup_slow+0x60/0x84 fs/namei.c:1711 walk_component+0x280/0x36c fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2483 filename_lookup+0x1d4/0x4e0 fs/namei.c:2512 user_path_at_empty+0x5c/0x84 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3672 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __arm64_sys_mount+0x428/0x594 fs/namespace.c:3861 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 BUG: sleeping function called from invalid context at fs/buffer.c:1437 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6303, name: syz-executor.4 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.4/6303: #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1710 #1: ffff80008e7d44b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x144/0x1320 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x144/0x1320 fs/sysv/itree.c:221 CPU: 1 PID: 6303 Comm: syz-executor.4 Tainted: G W 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 __might_resched+0x374/0x4d0 kernel/sched/core.c:10187 __might_sleep+0x90/0xe4 kernel/sched/core.c:10116 __getblk_gfp+0x5c/0x720 fs/buffer.c:1437 __bread_gfp+0x3c/0x2ec fs/buffer.c:1473 sb_bread include/linux/buffer_head.h:326 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x15c/0x1320 fs/sysv/itree.c:222 block_read_full_folio+0x3f8/0xd84 fs/buffer.c:2400 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:466 filemap_read_folio+0x14c/0x39c mm/filemap.c:2382 do_read_cache_folio+0x114/0x548 mm/filemap.c:3742 do_read_cache_page+0x4c/0x260 mm/filemap.c:3808 read_cache_page+0x68/0x84 mm/filemap.c:3817 read_mapping_page include/linux/pagemap.h:860 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x174/0x570 fs/sysv/dir.c:157 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:374 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x374 fs/namei.c:1694 lookup_slow+0x60/0x84 fs/namei.c:1711 walk_component+0x280/0x36c fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2483 filename_lookup+0x1d4/0x4e0 fs/namei.c:2512 user_path_at_empty+0x5c/0x84 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3672 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __arm64_sys_mount+0x428/0x594 fs/namespace.c:3861 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 BUG: sleeping function called from invalid context at fs/buffer.c:1437 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6303, name: syz-executor.4 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.4/6303: #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1710 #1: ffff80008e7d44b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x144/0x1320 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x144/0x1320 fs/sysv/itree.c:221 CPU: 1 PID: 6303 Comm: syz-executor.4 Tainted: G W 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 __might_resched+0x374/0x4d0 kernel/sched/core.c:10187 __might_sleep+0x90/0xe4 kernel/sched/core.c:10116 __getblk_gfp+0x5c/0x720 fs/buffer.c:1437 __bread_gfp+0x3c/0x2ec fs/buffer.c:1473 sb_bread include/linux/buffer_head.h:326 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x15c/0x1320 fs/sysv/itree.c:222 block_read_full_folio+0x3f8/0xd84 fs/buffer.c:2400 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:466 filemap_read_folio+0x14c/0x39c mm/filemap.c:2382 do_read_cache_folio+0x114/0x548 mm/filemap.c:3742 do_read_cache_page+0x4c/0x260 mm/filemap.c:3808 read_cache_page+0x68/0x84 mm/filemap.c:3817 read_mapping_page include/linux/pagemap.h:860 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x174/0x570 fs/sysv/dir.c:157 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:374 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x374 fs/namei.c:1694 lookup_slow+0x60/0x84 fs/namei.c:1711 walk_component+0x280/0x36c fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2483 filename_lookup+0x1d4/0x4e0 fs/namei.c:2512 user_path_at_empty+0x5c/0x84 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3672 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __arm64_sys_mount+0x428/0x594 fs/namespace.c:3861 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 BUG: sleeping function called from invalid context at fs/buffer.c:1437 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6303, name: syz-executor.4 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.4/6303: #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1710 #1: ffff80008e7d44b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x144/0x1320 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x144/0x1320 fs/sysv/itree.c:221 CPU: 1 PID: 6303 Comm: syz-executor.4 Tainted: G W 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 __might_resched+0x374/0x4d0 kernel/sched/core.c:10187 __might_sleep+0x90/0xe4 kernel/sched/core.c:10116 __getblk_gfp+0x5c/0x720 fs/buffer.c:1437 __bread_gfp+0x3c/0x2ec fs/buffer.c:1473 sb_bread include/linux/buffer_head.h:326 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x15c/0x1320 fs/sysv/itree.c:222 block_read_full_folio+0x3f8/0xd84 fs/buffer.c:2400 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:466 filemap_read_folio+0x14c/0x39c mm/filemap.c:2382 do_read_cache_folio+0x114/0x548 mm/filemap.c:3742 do_read_cache_page+0x4c/0x260 mm/filemap.c:3808 read_cache_page+0x68/0x84 mm/filemap.c:3817 read_mapping_page include/linux/pagemap.h:860 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x174/0x570 fs/sysv/dir.c:157 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:374 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x374 fs/namei.c:1694 lookup_slow+0x60/0x84 fs/namei.c:1711 walk_component+0x280/0x36c fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2483 filename_lookup+0x1d4/0x4e0 fs/namei.c:2512 user_path_at_empty+0x5c/0x84 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3672 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __arm64_sys_mount+0x428/0x594 fs/namespace.c:3861 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 BUG: sleeping function called from invalid context at fs/buffer.c:1437 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6303, name: syz-executor.4 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.4/6303: #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1710 #1: ffff80008e7d44b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x144/0x1320 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x144/0x1320 fs/sysv/itree.c:221 CPU: 1 PID: 6303 Comm: syz-executor.4 Tainted: G W 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 __might_resched+0x374/0x4d0 kernel/sched/core.c:10187 __might_sleep+0x90/0xe4 kernel/sched/core.c:10116 __getblk_gfp+0x5c/0x720 fs/buffer.c:1437 __bread_gfp+0x3c/0x2ec fs/buffer.c:1473 sb_bread include/linux/buffer_head.h:326 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x15c/0x1320 fs/sysv/itree.c:222 block_read_full_folio+0x3f8/0xd84 fs/buffer.c:2400 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:466 filemap_read_folio+0x14c/0x39c mm/filemap.c:2382 do_read_cache_folio+0x114/0x548 mm/filemap.c:3742 do_read_cache_page+0x4c/0x260 mm/filemap.c:3808 read_cache_page+0x68/0x84 mm/filemap.c:3817 read_mapping_page include/linux/pagemap.h:860 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x174/0x570 fs/sysv/dir.c:157 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:374 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x374 fs/namei.c:1694 lookup_slow+0x60/0x84 fs/namei.c:1711 walk_component+0x280/0x36c fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2483 filename_lookup+0x1d4/0x4e0 fs/namei.c:2512 user_path_at_empty+0x5c/0x84 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3672 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __arm64_sys_mount+0x428/0x594 fs/namespace.c:3861 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 BUG: sleeping function called from invalid context at fs/buffer.c:1437 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6303, name: syz-executor.4 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.4/6303: #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1710 #1: ffff80008e7d44b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x144/0x1320 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x144/0x1320 fs/sysv/itree.c:221 CPU: 0 PID: 6303 Comm: syz-executor.4 Tainted: G W 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 __might_resched+0x374/0x4d0 kernel/sched/core.c:10187 __might_sleep+0x90/0xe4 kernel/sched/core.c:10116 __getblk_gfp+0x5c/0x720 fs/buffer.c:1437 __bread_gfp+0x3c/0x2ec fs/buffer.c:1473 sb_bread include/linux/buffer_head.h:326 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x15c/0x1320 fs/sysv/itree.c:222 block_read_full_folio+0x3f8/0xd84 fs/buffer.c:2400 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:466 filemap_read_folio+0x14c/0x39c mm/filemap.c:2382 do_read_cache_folio+0x114/0x548 mm/filemap.c:3742 do_read_cache_page+0x4c/0x260 mm/filemap.c:3808 read_cache_page+0x68/0x84 mm/filemap.c:3817 read_mapping_page include/linux/pagemap.h:860 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x174/0x570 fs/sysv/dir.c:157 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:374 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x374 fs/namei.c:1694 lookup_slow+0x60/0x84 fs/namei.c:1711 walk_component+0x280/0x36c fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2483 filename_lookup+0x1d4/0x4e0 fs/namei.c:2512 user_path_at_empty+0x5c/0x84 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3672 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __arm64_sys_mount+0x428/0x594 fs/namespace.c:3861 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 BUG: sleeping function called from invalid context at fs/buffer.c:1437 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6303, name: syz-executor.4 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.4/6303: #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1710 #1: ffff80008e7d44b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x144/0x1320 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x144/0x1320 fs/sysv/itree.c:221 CPU: 1 PID: 6303 Comm: syz-executor.4 Tainted: G W 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 __might_resched+0x374/0x4d0 kernel/sched/core.c:10187 __might_sleep+0x90/0xe4 kernel/sched/core.c:10116 __getblk_gfp+0x5c/0x720 fs/buffer.c:1437 __bread_gfp+0x3c/0x2ec fs/buffer.c:1473 sb_bread include/linux/buffer_head.h:326 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x15c/0x1320 fs/sysv/itree.c:222 block_read_full_folio+0x3f8/0xd84 fs/buffer.c:2400 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:466 filemap_read_folio+0x14c/0x39c mm/filemap.c:2382 do_read_cache_folio+0x114/0x548 mm/filemap.c:3742 do_read_cache_page+0x4c/0x260 mm/filemap.c:3808 read_cache_page+0x68/0x84 mm/filemap.c:3817 read_mapping_page include/linux/pagemap.h:860 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x174/0x570 fs/sysv/dir.c:157 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:374 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x374 fs/namei.c:1694 lookup_slow+0x60/0x84 fs/namei.c:1711 walk_component+0x280/0x36c fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2483 filename_lookup+0x1d4/0x4e0 fs/namei.c:2512 user_path_at_empty+0x5c/0x84 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3672 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __arm64_sys_mount+0x428/0x594 fs/namespace.c:3861 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 BUG: sleeping function called from invalid context at include/linux/pagemap.h:1040 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6303, name: syz-executor.4 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.4/6303: #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff00012ce44188 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1710 #1: ffff80008e7d44b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x144/0x1320 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x144/0x1320 fs/sysv/itree.c:221 CPU: 1 PID: 6303 Comm: syz-executor.4 Tainted: G W 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 __might_resched+0x374/0x4d0 kernel/sched/core.c:10187 __might_sleep+0x90/0xe4 kernel/sched/core.c:10116 folio_lock include/linux/pagemap.h:1040 [inline] __filemap_get_folio+0xb4/0x8b8 mm/filemap.c:1882 grow_dev_page fs/buffer.c:1058 [inline] grow_buffers fs/buffer.c:1118 [inline] __getblk_slow fs/buffer.c:1145 [inline] __getblk_gfp+0x1e0/0x720 fs/buffer.c:1439 __bread_gfp+0x3c/0x2ec fs/buffer.c:1473 sb_bread include/linux/buffer_head.h:326 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x15c/0x1320 fs/sysv/itree.c:222 block_read_full_folio+0x3f8/0xd84 fs/buffer.c:2400 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:466 filemap_read_folio+0x14c/0x39c mm/filemap.c:2382 do_read_cache_folio+0x114/0x548 mm/filemap.c:3742 do_read_cache_page+0x4c/0x260 mm/filemap.c:3808 read_cache_page+0x68/0x84 mm/filemap.c:3817 read_mapping_page include/linux/pagemap.h:860 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x174/0x570 fs/sysv/dir.c:157 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:374 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x374 fs/namei.c:1694 lookup_slow+0x60/0x84 fs/namei.c:1711 walk_component+0x280/0x36c fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2483 filename_lookup+0x1d4/0x4e0 fs/namei.c:2512 user_path_at_empty+0x5c/0x84 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3672 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __arm64_sys_mount+0x428/0x594 fs/namespace.c:3861 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 BUG: sleeping function called from invalid context at fs/buffer.c:1437 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6303, name: syz-executor.4 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.4/6303: