attempt to access beyond end of device loop3: rw=0, want=16147214, limit=128 Buffer I/O error on dev loop3, 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: 4817, name: syz-executor.3 3 locks held by syz-executor.3/4817: #0: ffff0000da38e460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 #2: ffff800014d85e78 (pointers_lock#2){.+.+}-{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: 4817 Comm: syz-executor.3 Not tainted 5.15.154-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_one_qstr_excl+0x108/0x230 fs/namei.c:1563 filename_create+0x230/0x468 fs/namei.c:3836 do_mkdirat+0xac/0x610 fs/namei.c:4080 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __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 loop3: rw=0, want=6491550, limit=128 Buffer I/O error on dev loop3, logical block 3245774, async page read attempt to access beyond end of device loop3: rw=0, want=17669880, limit=128 Buffer I/O error on dev loop3, 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: 4817, name: syz-executor.3 3 locks held by syz-executor.3/4817: #0: ffff0000da38e460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 #2: ffff800014d85e78 (pointers_lock#2){.+.+}-{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: 4817 Comm: syz-executor.3 Tainted: G W 5.15.154-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_one_qstr_excl+0x108/0x230 fs/namei.c:1563 filename_create+0x230/0x468 fs/namei.c:3836 do_mkdirat+0xac/0x610 fs/namei.c:4080 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __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: 4817, name: syz-executor.3 3 locks held by syz-executor.3/4817: #0: ffff0000da38e460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 #2: ffff800014d85e78 (pointers_lock#2){.+.+}-{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: 4817 Comm: syz-executor.3 Tainted: G W 5.15.154-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_one_qstr_excl+0x108/0x230 fs/namei.c:1563 filename_create+0x230/0x468 fs/namei.c:3836 do_mkdirat+0xac/0x610 fs/namei.c:4080 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __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: 4817, name: syz-executor.3 3 locks held by syz-executor.3/4817: #0: ffff0000da38e460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 #2: ffff800014d85e78 (pointers_lock#2){.+.+}-{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: 4817 Comm: syz-executor.3 Tainted: G W 5.15.154-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_one_qstr_excl+0x108/0x230 fs/namei.c:1563 filename_create+0x230/0x468 fs/namei.c:3836 do_mkdirat+0xac/0x610 fs/namei.c:4080 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __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: 4817, name: syz-executor.3 3 locks held by syz-executor.3/4817: #0: ffff0000da38e460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 #2: ffff800014d85e78 (pointers_lock#2){.+.+}-{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: 4817 Comm: syz-executor.3 Tainted: G W 5.15.154-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_one_qstr_excl+0x108/0x230 fs/namei.c:1563 filename_create+0x230/0x468 fs/namei.c:3836 do_mkdirat+0xac/0x610 fs/namei.c:4080 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __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: 4817, name: syz-executor.3 3 locks held by syz-executor.3/4817: #0: ffff0000da38e460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 #2: ffff800014d85e78 (pointers_lock#2){.+.+}-{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: 4817 Comm: syz-executor.3 Tainted: G W 5.15.154-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_one_qstr_excl+0x108/0x230 fs/namei.c:1563 filename_create+0x230/0x468 fs/namei.c:3836 do_mkdirat+0xac/0x610 fs/namei.c:4080 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __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: 4817, name: syz-executor.3 3 locks held by syz-executor.3/4817: #0: ffff0000da38e460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 #2: ffff800014d85e78 (pointers_lock#2){.+.+}-{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: 4817 Comm: syz-executor.3 Tainted: G W 5.15.154-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_one_qstr_excl+0x108/0x230 fs/namei.c:1563 filename_create+0x230/0x468 fs/namei.c:3836 do_mkdirat+0xac/0x610 fs/namei.c:4080 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __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: 4817, name: syz-executor.3 3 locks held by syz-executor.3/4817: #0: ffff0000da38e460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 #2: ffff800014d85e78 (pointers_lock#2){.+.+}-{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: 4817 Comm: syz-executor.3 Tainted: G W 5.15.154-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_one_qstr_excl+0x108/0x230 fs/namei.c:1563 filename_create+0x230/0x468 fs/namei.c:3836 do_mkdirat+0xac/0x610 fs/namei.c:4080 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __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: 4817, name: syz-executor.3 3 locks held by syz-executor.3/4817: #0: ffff0000da38e460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 #2: ffff800014d85e78 (pointers_lock#2){.+.+}-{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: 4817 Comm: syz-executor.3 Tainted: G W 5.15.154-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_one_qstr_excl+0x108/0x230 fs/namei.c:1563 filename_create+0x230/0x468 fs/namei.c:3836 do_mkdirat+0xac/0x610 fs/namei.c:4080 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __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: 4817, name: syz-executor.3 3 locks held by syz-executor.3/4817: #0: ffff0000da38e460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 #2: ffff800014d85e78 (pointers_lock#2){.+.+}-{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: 4817 Comm: syz-executor.3 Tainted: G W 5.15.154-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_one_qstr_excl+0x108/0x230 fs/namei.c:1563 filename_create+0x230/0x468 fs/namei.c:3836 do_mkdirat+0xac/0x610 fs/namei.c:4080 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __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: 4817, name: syz-executor.3 3 locks held by syz-executor.3/4817: #0: ffff0000da38e460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000ee30c188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 #2: ffff800014d85e78 (pointers_lock#2){.+.+}-{2:2}, at: get_block+0x13c/0x13d4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x13c/0x13d4 fs/sysv/itree.c:221