Buffer I/O error on dev loop0, logical block 13466417, async page read attempt to access beyond end of device loop0: rw=0, want=16147214, limit=128 Buffer I/O error on dev loop0, logical block 8073606, async page read BUG: sleeping function called from invalid context at fs/buffer.c:1334 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4754, name: syz-executor.0 2 locks held by syz-executor.0/4754: #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 #1: ffff800014d4b3d8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x13c/0x13d4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x13c/0x13d4 fs/sysv/itree.c:221 CPU: 1 PID: 4754 Comm: syz-executor.0 Not tainted 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 ___might_sleep+0x380/0x4dc kernel/sched/core.c:9626 __might_sleep+0x98/0xf0 kernel/sched/core.c:9580 __getblk_gfp+0x60/0x700 fs/buffer.c:1334 __bread_gfp+0x40/0x33c fs/buffer.c:1381 sb_bread include/linux/buffer_head.h:337 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x154/0x13d4 fs/sysv/itree.c:222 block_read_full_page+0x2a0/0xc4c fs/buffer.c:2290 sysv_readpage+0x28/0x38 fs/sysv/itree.c:465 do_read_cache_page+0x60c/0x950 read_cache_page+0x68/0x84 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x178/0x43c fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x1c0 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] bpf_obj_do_get kernel/bpf/inode.c:506 [inline] bpf_obj_get_user+0xc8/0x470 kernel/bpf/inode.c:541 bpf_obj_get+0xcc/0x118 kernel/bpf/syscall.c:2421 __sys_bpf+0x310/0x610 kernel/bpf/syscall.c:4657 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:4753 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 attempt to access beyond end of device loop0: rw=0, want=6491550, limit=128 Buffer I/O error on dev loop0, logical block 3245774, async page read Buffer I/O error on dev loop0, logical block 8834939, async page read BUG: sleeping function called from invalid context at fs/buffer.c:1334 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4754, name: syz-executor.0 2 locks held by syz-executor.0/4754: #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 #1: ffff800014d4b3d8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x13c/0x13d4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x13c/0x13d4 fs/sysv/itree.c:221 CPU: 0 PID: 4754 Comm: syz-executor.0 Tainted: G W 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 ___might_sleep+0x380/0x4dc kernel/sched/core.c:9626 __might_sleep+0x98/0xf0 kernel/sched/core.c:9580 __getblk_gfp+0x60/0x700 fs/buffer.c:1334 __bread_gfp+0x40/0x33c fs/buffer.c:1381 sb_bread include/linux/buffer_head.h:337 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x154/0x13d4 fs/sysv/itree.c:222 block_read_full_page+0x2a0/0xc4c fs/buffer.c:2290 sysv_readpage+0x28/0x38 fs/sysv/itree.c:465 do_read_cache_page+0x60c/0x950 read_cache_page+0x68/0x84 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x178/0x43c fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x1c0 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] bpf_obj_do_get kernel/bpf/inode.c:506 [inline] bpf_obj_get_user+0xc8/0x470 kernel/bpf/inode.c:541 bpf_obj_get+0xcc/0x118 kernel/bpf/syscall.c:2421 __sys_bpf+0x310/0x610 kernel/bpf/syscall.c:4657 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:4753 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 BUG: sleeping function called from invalid context at include/linux/pagemap.h:623 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4754, name: syz-executor.0 2 locks held by syz-executor.0/4754: #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 #1: ffff800014d4b3d8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x13c/0x13d4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x13c/0x13d4 fs/sysv/itree.c:221 CPU: 1 PID: 4754 Comm: syz-executor.0 Tainted: G W 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 ___might_sleep+0x380/0x4dc kernel/sched/core.c:9626 __might_sleep+0x98/0xf0 kernel/sched/core.c:9580 lock_page include/linux/pagemap.h:623 [inline] pagecache_get_page+0x4bc/0xd94 mm/filemap.c:1910 find_or_create_page include/linux/pagemap.h:420 [inline] grow_dev_page fs/buffer.c:949 [inline] grow_buffers fs/buffer.c:1014 [inline] __getblk_slow fs/buffer.c:1041 [inline] __getblk_gfp+0x1f8/0x700 fs/buffer.c:1336 __bread_gfp+0x40/0x33c fs/buffer.c:1381 sb_bread include/linux/buffer_head.h:337 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x154/0x13d4 fs/sysv/itree.c:222 block_read_full_page+0x2a0/0xc4c fs/buffer.c:2290 sysv_readpage+0x28/0x38 fs/sysv/itree.c:465 do_read_cache_page+0x60c/0x950 read_cache_page+0x68/0x84 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x178/0x43c fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x1c0 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] bpf_obj_do_get kernel/bpf/inode.c:506 [inline] bpf_obj_get_user+0xc8/0x470 kernel/bpf/inode.c:541 bpf_obj_get+0xcc/0x118 kernel/bpf/syscall.c:2421 __sys_bpf+0x310/0x610 kernel/bpf/syscall.c:4657 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:4753 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 BUG: sleeping function called from invalid context at include/linux/pagemap.h:623 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4754, name: syz-executor.0 2 locks held by syz-executor.0/4754: #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 #1: ffff800014d4b3d8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x13c/0x13d4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x13c/0x13d4 fs/sysv/itree.c:221 CPU: 1 PID: 4754 Comm: syz-executor.0 Tainted: G W 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 ___might_sleep+0x380/0x4dc kernel/sched/core.c:9626 __might_sleep+0x98/0xf0 kernel/sched/core.c:9580 lock_page include/linux/pagemap.h:623 [inline] pagecache_get_page+0x4bc/0xd94 mm/filemap.c:1910 find_or_create_page include/linux/pagemap.h:420 [inline] grow_dev_page fs/buffer.c:949 [inline] grow_buffers fs/buffer.c:1014 [inline] __getblk_slow fs/buffer.c:1041 [inline] __getblk_gfp+0x1f8/0x700 fs/buffer.c:1336 __bread_gfp+0x40/0x33c fs/buffer.c:1381 sb_bread include/linux/buffer_head.h:337 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x154/0x13d4 fs/sysv/itree.c:222 block_read_full_page+0x2a0/0xc4c fs/buffer.c:2290 sysv_readpage+0x28/0x38 fs/sysv/itree.c:465 do_read_cache_page+0x60c/0x950 read_cache_page+0x68/0x84 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x178/0x43c fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x1c0 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] bpf_obj_do_get kernel/bpf/inode.c:506 [inline] bpf_obj_get_user+0xc8/0x470 kernel/bpf/inode.c:541 bpf_obj_get+0xcc/0x118 kernel/bpf/syscall.c:2421 __sys_bpf+0x310/0x610 kernel/bpf/syscall.c:4657 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:4753 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 BUG: sleeping function called from invalid context at include/linux/pagemap.h:623 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4754, name: syz-executor.0 2 locks held by syz-executor.0/4754: #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 #1: ffff800014d4b3d8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x13c/0x13d4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x13c/0x13d4 fs/sysv/itree.c:221 CPU: 1 PID: 4754 Comm: syz-executor.0 Tainted: G W 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 ___might_sleep+0x380/0x4dc kernel/sched/core.c:9626 __might_sleep+0x98/0xf0 kernel/sched/core.c:9580 lock_page include/linux/pagemap.h:623 [inline] pagecache_get_page+0x4bc/0xd94 mm/filemap.c:1910 find_or_create_page include/linux/pagemap.h:420 [inline] grow_dev_page fs/buffer.c:949 [inline] grow_buffers fs/buffer.c:1014 [inline] __getblk_slow fs/buffer.c:1041 [inline] __getblk_gfp+0x1f8/0x700 fs/buffer.c:1336 __bread_gfp+0x40/0x33c fs/buffer.c:1381 sb_bread include/linux/buffer_head.h:337 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x154/0x13d4 fs/sysv/itree.c:222 block_read_full_page+0x2a0/0xc4c fs/buffer.c:2290 sysv_readpage+0x28/0x38 fs/sysv/itree.c:465 do_read_cache_page+0x60c/0x950 read_cache_page+0x68/0x84 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x178/0x43c fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x1c0 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] bpf_obj_do_get kernel/bpf/inode.c:506 [inline] bpf_obj_get_user+0xc8/0x470 kernel/bpf/inode.c:541 bpf_obj_get+0xcc/0x118 kernel/bpf/syscall.c:2421 __sys_bpf+0x310/0x610 kernel/bpf/syscall.c:4657 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:4753 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 BUG: sleeping function called from invalid context at fs/buffer.c:1334 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4754, name: syz-executor.0 2 locks held by syz-executor.0/4754: #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 #1: ffff800014d4b3d8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x13c/0x13d4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x13c/0x13d4 fs/sysv/itree.c:221 CPU: 1 PID: 4754 Comm: syz-executor.0 Tainted: G W 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 ___might_sleep+0x380/0x4dc kernel/sched/core.c:9626 __might_sleep+0x98/0xf0 kernel/sched/core.c:9580 __getblk_gfp+0x60/0x700 fs/buffer.c:1334 __bread_gfp+0x40/0x33c fs/buffer.c:1381 sb_bread include/linux/buffer_head.h:337 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x154/0x13d4 fs/sysv/itree.c:222 block_read_full_page+0x2a0/0xc4c fs/buffer.c:2290 sysv_readpage+0x28/0x38 fs/sysv/itree.c:465 do_read_cache_page+0x60c/0x950 read_cache_page+0x68/0x84 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x178/0x43c fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x1c0 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] bpf_obj_do_get kernel/bpf/inode.c:506 [inline] bpf_obj_get_user+0xc8/0x470 kernel/bpf/inode.c:541 bpf_obj_get+0xcc/0x118 kernel/bpf/syscall.c:2421 __sys_bpf+0x310/0x610 kernel/bpf/syscall.c:4657 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:4753 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 BUG: sleeping function called from invalid context at fs/buffer.c:1334 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4754, name: syz-executor.0 2 locks held by syz-executor.0/4754: #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 #1: ffff800014d4b3d8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x13c/0x13d4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x13c/0x13d4 fs/sysv/itree.c:221 CPU: 0 PID: 4754 Comm: syz-executor.0 Tainted: G W 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 ___might_sleep+0x380/0x4dc kernel/sched/core.c:9626 __might_sleep+0x98/0xf0 kernel/sched/core.c:9580 __getblk_gfp+0x60/0x700 fs/buffer.c:1334 __bread_gfp+0x40/0x33c fs/buffer.c:1381 sb_bread include/linux/buffer_head.h:337 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x154/0x13d4 fs/sysv/itree.c:222 block_read_full_page+0x2a0/0xc4c fs/buffer.c:2290 sysv_readpage+0x28/0x38 fs/sysv/itree.c:465 do_read_cache_page+0x60c/0x950 read_cache_page+0x68/0x84 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x178/0x43c fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x1c0 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] bpf_obj_do_get kernel/bpf/inode.c:506 [inline] bpf_obj_get_user+0xc8/0x470 kernel/bpf/inode.c:541 bpf_obj_get+0xcc/0x118 kernel/bpf/syscall.c:2421 __sys_bpf+0x310/0x610 kernel/bpf/syscall.c:4657 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:4753 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 BUG: sleeping function called from invalid context at fs/buffer.c:1334 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4754, name: syz-executor.0 2 locks held by syz-executor.0/4754: #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 #1: ffff800014d4b3d8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x13c/0x13d4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x13c/0x13d4 fs/sysv/itree.c:221 CPU: 0 PID: 4754 Comm: syz-executor.0 Tainted: G W 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 ___might_sleep+0x380/0x4dc kernel/sched/core.c:9626 __might_sleep+0x98/0xf0 kernel/sched/core.c:9580 __getblk_gfp+0x60/0x700 fs/buffer.c:1334 __bread_gfp+0x40/0x33c fs/buffer.c:1381 sb_bread include/linux/buffer_head.h:337 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x154/0x13d4 fs/sysv/itree.c:222 block_read_full_page+0x2a0/0xc4c fs/buffer.c:2290 sysv_readpage+0x28/0x38 fs/sysv/itree.c:465 do_read_cache_page+0x60c/0x950 read_cache_page+0x68/0x84 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x178/0x43c fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x1c0 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] bpf_obj_do_get kernel/bpf/inode.c:506 [inline] bpf_obj_get_user+0xc8/0x470 kernel/bpf/inode.c:541 bpf_obj_get+0xcc/0x118 kernel/bpf/syscall.c:2421 __sys_bpf+0x310/0x610 kernel/bpf/syscall.c:4657 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:4753 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 BUG: sleeping function called from invalid context at fs/buffer.c:1334 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4754, name: syz-executor.0 2 locks held by syz-executor.0/4754: #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 #1: ffff800014d4b3d8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x13c/0x13d4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x13c/0x13d4 fs/sysv/itree.c:221 CPU: 0 PID: 4754 Comm: syz-executor.0 Tainted: G W 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 ___might_sleep+0x380/0x4dc kernel/sched/core.c:9626 __might_sleep+0x98/0xf0 kernel/sched/core.c:9580 __getblk_gfp+0x60/0x700 fs/buffer.c:1334 __bread_gfp+0x40/0x33c fs/buffer.c:1381 sb_bread include/linux/buffer_head.h:337 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x154/0x13d4 fs/sysv/itree.c:222 block_read_full_page+0x2a0/0xc4c fs/buffer.c:2290 sysv_readpage+0x28/0x38 fs/sysv/itree.c:465 do_read_cache_page+0x60c/0x950 read_cache_page+0x68/0x84 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x178/0x43c fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x1c0 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] bpf_obj_do_get kernel/bpf/inode.c:506 [inline] bpf_obj_get_user+0xc8/0x470 kernel/bpf/inode.c:541 bpf_obj_get+0xcc/0x118 kernel/bpf/syscall.c:2421 __sys_bpf+0x310/0x610 kernel/bpf/syscall.c:4657 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:4753 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 BUG: sleeping function called from invalid context at fs/buffer.c:1334 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4754, name: syz-executor.0 2 locks held by syz-executor.0/4754: #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000dc4c8188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 #1: ffff800014d4b3d8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x13c/0x13d4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x13c/0x13d4 fs/sysv/itree.c:221 CPU: 0 PID: 4754 Comm: syz-executor.0 Tainted: G W 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 ___might_sleep+0x380/0x4dc kernel/sched/core.c:9626 __might_sleep+0x98/0xf0 kernel/sched/core.c:9580 __getblk_gfp+0x60/0x700 fs/buffer.c:1334 __bread_gfp+0x40/0x33c fs/buffer.c:1381 sb_bread include/linux/buffer_head.h:337 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x154/0x13d4 fs/sysv/itree.c:222 block_read_full_page+0x2a0/0xc4c fs/buffer.c:2290 sysv_readpage+0x28/0x38 fs/sysv/itree.c:465 do_read_cache_page+0x60c/0x950 read_cache_page+0x68/0x84 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x178/0x43c fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x1c0 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] bpf_obj_do_get kernel/bpf/inode.c:506 [inline] bpf_obj_get_user+0xc8/0x470 kernel/bpf/inode.c:541 bpf_obj_get+0xcc/0x118 kernel/bpf/syscall.c:2421 __sys_bpf+0x310/0x610 kernel/bpf/syscall.c:4657 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:4753 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584