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: 3966, name: syz-executor342 3 locks held by syz-executor342/3966: #0: ffff0000c1d54460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3535 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x63c/0x26f0 fs/namei.c:3745 #2: ffff800014d5ad98 (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: 3966 Comm: syz-executor342 Not tainted 5.15.146-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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_open fs/namei.c:3446 [inline] open_last_lookups fs/namei.c:3538 [inline] path_openat+0xc9c/0x26f0 fs/namei.c:3745 do_filp_open+0x1a8/0x3b4 fs/namei.c:3775 do_sys_openat2+0x128/0x3d8 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238 __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 attempt to access beyond end of device loop0: rw=0, want=17669880, limit=128 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: 3966, name: syz-executor342 3 locks held by syz-executor342/3966: #0: ffff0000c1d54460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3535 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x63c/0x26f0 fs/namei.c:3745 #2: ffff800014d5ad98 (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: 3966 Comm: syz-executor342 Tainted: G W 5.15.146-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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_open fs/namei.c:3446 [inline] open_last_lookups fs/namei.c:3538 [inline] path_openat+0xc9c/0x26f0 fs/namei.c:3745 do_filp_open+0x1a8/0x3b4 fs/namei.c:3775 do_sys_openat2+0x128/0x3d8 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238 __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: 3966, name: syz-executor342 3 locks held by syz-executor342/3966: #0: ffff0000c1d54460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3535 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x63c/0x26f0 fs/namei.c:3745 #2: ffff800014d5ad98 (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: 3966 Comm: syz-executor342 Tainted: G W 5.15.146-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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_open fs/namei.c:3446 [inline] open_last_lookups fs/namei.c:3538 [inline] path_openat+0xc9c/0x26f0 fs/namei.c:3745 do_filp_open+0x1a8/0x3b4 fs/namei.c:3775 do_sys_openat2+0x128/0x3d8 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238 __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: 3966, name: syz-executor342 3 locks held by syz-executor342/3966: #0: ffff0000c1d54460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3535 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x63c/0x26f0 fs/namei.c:3745 #2: ffff800014d5ad98 (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: 3966 Comm: syz-executor342 Tainted: G W 5.15.146-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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_open fs/namei.c:3446 [inline] open_last_lookups fs/namei.c:3538 [inline] path_openat+0xc9c/0x26f0 fs/namei.c:3745 do_filp_open+0x1a8/0x3b4 fs/namei.c:3775 do_sys_openat2+0x128/0x3d8 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238 __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: 3966, name: syz-executor342 3 locks held by syz-executor342/3966: #0: ffff0000c1d54460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3535 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x63c/0x26f0 fs/namei.c:3745 #2: ffff800014d5ad98 (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: 3966 Comm: syz-executor342 Tainted: G W 5.15.146-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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_open fs/namei.c:3446 [inline] open_last_lookups fs/namei.c:3538 [inline] path_openat+0xc9c/0x26f0 fs/namei.c:3745 do_filp_open+0x1a8/0x3b4 fs/namei.c:3775 do_sys_openat2+0x128/0x3d8 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238 __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: 3966, name: syz-executor342 3 locks held by syz-executor342/3966: #0: ffff0000c1d54460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3535 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x63c/0x26f0 fs/namei.c:3745 #2: ffff800014d5ad98 (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: 3966 Comm: syz-executor342 Tainted: G W 5.15.146-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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_open fs/namei.c:3446 [inline] open_last_lookups fs/namei.c:3538 [inline] path_openat+0xc9c/0x26f0 fs/namei.c:3745 do_filp_open+0x1a8/0x3b4 fs/namei.c:3775 do_sys_openat2+0x128/0x3d8 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238 __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: 3966, name: syz-executor342 3 locks held by syz-executor342/3966: #0: ffff0000c1d54460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3535 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x63c/0x26f0 fs/namei.c:3745 #2: ffff800014d5ad98 (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: 3966 Comm: syz-executor342 Tainted: G W 5.15.146-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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_open fs/namei.c:3446 [inline] open_last_lookups fs/namei.c:3538 [inline] path_openat+0xc9c/0x26f0 fs/namei.c:3745 do_filp_open+0x1a8/0x3b4 fs/namei.c:3775 do_sys_openat2+0x128/0x3d8 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238 __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: 3966, name: syz-executor342 3 locks held by syz-executor342/3966: #0: ffff0000c1d54460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3535 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x63c/0x26f0 fs/namei.c:3745 #2: ffff800014d5ad98 (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: 3966 Comm: syz-executor342 Tainted: G W 5.15.146-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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_open fs/namei.c:3446 [inline] open_last_lookups fs/namei.c:3538 [inline] path_openat+0xc9c/0x26f0 fs/namei.c:3745 do_filp_open+0x1a8/0x3b4 fs/namei.c:3775 do_sys_openat2+0x128/0x3d8 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238 __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: 3966, name: syz-executor342 3 locks held by syz-executor342/3966: #0: ffff0000c1d54460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3535 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x63c/0x26f0 fs/namei.c:3745 #2: ffff800014d5ad98 (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: 3966 Comm: syz-executor342 Tainted: G W 5.15.146-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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_open fs/namei.c:3446 [inline] open_last_lookups fs/namei.c:3538 [inline] path_openat+0xc9c/0x26f0 fs/namei.c:3745 do_filp_open+0x1a8/0x3b4 fs/namei.c:3775 do_sys_openat2+0x128/0x3d8 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238 __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: 3966, name: syz-executor342 3 locks held by syz-executor342/3966: #0: ffff0000c1d54460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3535 [inline] #1: ffff0000df018188 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x63c/0x26f0 fs/namei.c:3745 #2: ffff800014d5ad98 (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: 3966 Comm: syz-executor342 Tainted: G W 5.15.146-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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_open fs/namei.c:3446 [inline] open_last_lookups fs/namei.c:3538 [inline] path_openat+0xc9c/0x26f0 fs/namei.c:3745 do_filp_open+0x1a8/0x3b4 fs/namei.c:3775 do_sys_openat2+0x128/0x3d8 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238 __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: 3966, name: syz-executor342 3 locks held by syz-executor342/3966: #0: ffff0000c1d54460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377