BUG: sleeping function called from invalid context at fs/buffer.c:1331 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5430, name: syz-executor.1 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.1/5430: #0: ffff0000fbeee460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3878 #2: ffff800015cc65f8 (pointers_lock#2){.+.+}-{2:2}, at: get_block+0x148/0x13b4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x148/0x13b4 fs/sysv/itree.c:221 CPU: 0 PID: 5430 Comm: syz-executor.1 Not tainted 6.1.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __might_resched+0x37c/0x4d8 kernel/sched/core.c:9942 __might_sleep+0x90/0xe4 kernel/sched/core.c:9871 __getblk_gfp+0x5c/0x874 fs/buffer.c:1331 __bread_gfp+0x3c/0x2ec fs/buffer.c:1367 sb_bread include/linux/buffer_head.h:338 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x164/0x13b4 fs/sysv/itree.c:222 block_read_full_folio+0x2f4/0x98c fs/buffer.c:2271 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:465 filemap_read_folio+0x14c/0x39c mm/filemap.c:2461 do_read_cache_folio+0x24c/0x544 mm/filemap.c:3598 do_read_cache_page mm/filemap.c:3640 [inline] read_cache_page+0x6c/0x180 mm/filemap.c:3649 read_mapping_page include/linux/pagemap.h:791 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x170/0x5a8 fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 lookup_one_qstr_excl+0x108/0x230 fs/namei.c:1605 filename_create+0x230/0x468 fs/namei.c:3879 kern_path_create+0x48/0x6c fs/namei.c:3919 unix_bind_bsd net/unix/af_unix.c:1209 [inline] unix_bind+0x274/0xc48 net/unix/af_unix.c:1312 __sys_bind+0x1e8/0x284 net/socket.c:1806 __do_sys_bind net/socket.c:1817 [inline] __se_sys_bind net/socket.c:1815 [inline] __arm64_sys_bind+0x7c/0x94 net/socket.c:1815 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 syz-executor.1: attempt to access beyond end of device loop1: rw=0, sector=6491548, nr_sectors = 2 limit=128 Buffer I/O error on dev loop1, logical block 3245774, async page read syz-executor.1: attempt to access beyond end of device loop1: rw=0, sector=17669878, nr_sectors = 2 limit=128 Buffer I/O error on dev loop1, logical block 8834939, async page read BUG: sleeping function called from invalid context at fs/buffer.c:1331 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5430, name: syz-executor.1 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.1/5430: #0: ffff0000fbeee460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3878 #2: ffff800015cc65f8 (pointers_lock#2){.+.+}-{2:2}, at: get_block+0x148/0x13b4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x148/0x13b4 fs/sysv/itree.c:221 CPU: 0 PID: 5430 Comm: syz-executor.1 Tainted: G W 6.1.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __might_resched+0x37c/0x4d8 kernel/sched/core.c:9942 __might_sleep+0x90/0xe4 kernel/sched/core.c:9871 __getblk_gfp+0x5c/0x874 fs/buffer.c:1331 __bread_gfp+0x3c/0x2ec fs/buffer.c:1367 sb_bread include/linux/buffer_head.h:338 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x164/0x13b4 fs/sysv/itree.c:222 block_read_full_folio+0x2f4/0x98c fs/buffer.c:2271 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:465 filemap_read_folio+0x14c/0x39c mm/filemap.c:2461 do_read_cache_folio+0x24c/0x544 mm/filemap.c:3598 do_read_cache_page mm/filemap.c:3640 [inline] read_cache_page+0x6c/0x180 mm/filemap.c:3649 read_mapping_page include/linux/pagemap.h:791 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x170/0x5a8 fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 lookup_one_qstr_excl+0x108/0x230 fs/namei.c:1605 filename_create+0x230/0x468 fs/namei.c:3879 kern_path_create+0x48/0x6c fs/namei.c:3919 unix_bind_bsd net/unix/af_unix.c:1209 [inline] unix_bind+0x274/0xc48 net/unix/af_unix.c:1312 __sys_bind+0x1e8/0x284 net/socket.c:1806 __do_sys_bind net/socket.c:1817 [inline] __se_sys_bind net/socket.c:1815 [inline] __arm64_sys_bind+0x7c/0x94 net/socket.c:1815 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 BUG: sleeping function called from invalid context at fs/buffer.c:1331 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5430, name: syz-executor.1 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.1/5430: #0: ffff0000fbeee460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3878 #2: ffff800015cc65f8 (pointers_lock#2){.+.+}-{2:2}, at: get_block+0x148/0x13b4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x148/0x13b4 fs/sysv/itree.c:221 CPU: 0 PID: 5430 Comm: syz-executor.1 Tainted: G W 6.1.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __might_resched+0x37c/0x4d8 kernel/sched/core.c:9942 __might_sleep+0x90/0xe4 kernel/sched/core.c:9871 __getblk_gfp+0x5c/0x874 fs/buffer.c:1331 __bread_gfp+0x3c/0x2ec fs/buffer.c:1367 sb_bread include/linux/buffer_head.h:338 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x164/0x13b4 fs/sysv/itree.c:222 block_read_full_folio+0x2f4/0x98c fs/buffer.c:2271 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:465 filemap_read_folio+0x14c/0x39c mm/filemap.c:2461 do_read_cache_folio+0x24c/0x544 mm/filemap.c:3598 do_read_cache_page mm/filemap.c:3640 [inline] read_cache_page+0x6c/0x180 mm/filemap.c:3649 read_mapping_page include/linux/pagemap.h:791 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x170/0x5a8 fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 lookup_one_qstr_excl+0x108/0x230 fs/namei.c:1605 filename_create+0x230/0x468 fs/namei.c:3879 kern_path_create+0x48/0x6c fs/namei.c:3919 unix_bind_bsd net/unix/af_unix.c:1209 [inline] unix_bind+0x274/0xc48 net/unix/af_unix.c:1312 __sys_bind+0x1e8/0x284 net/socket.c:1806 __do_sys_bind net/socket.c:1817 [inline] __se_sys_bind net/socket.c:1815 [inline] __arm64_sys_bind+0x7c/0x94 net/socket.c:1815 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 BUG: sleeping function called from invalid context at fs/buffer.c:1331 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5430, name: syz-executor.1 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.1/5430: #0: ffff0000fbeee460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3878 #2: ffff800015cc65f8 (pointers_lock#2){.+.+}-{2:2}, at: get_block+0x148/0x13b4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x148/0x13b4 fs/sysv/itree.c:221 CPU: 1 PID: 5430 Comm: syz-executor.1 Tainted: G W 6.1.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __might_resched+0x37c/0x4d8 kernel/sched/core.c:9942 __might_sleep+0x90/0xe4 kernel/sched/core.c:9871 __getblk_gfp+0x5c/0x874 fs/buffer.c:1331 __bread_gfp+0x3c/0x2ec fs/buffer.c:1367 sb_bread include/linux/buffer_head.h:338 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x164/0x13b4 fs/sysv/itree.c:222 block_read_full_folio+0x2f4/0x98c fs/buffer.c:2271 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:465 filemap_read_folio+0x14c/0x39c mm/filemap.c:2461 do_read_cache_folio+0x24c/0x544 mm/filemap.c:3598 do_read_cache_page mm/filemap.c:3640 [inline] read_cache_page+0x6c/0x180 mm/filemap.c:3649 read_mapping_page include/linux/pagemap.h:791 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x170/0x5a8 fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 lookup_one_qstr_excl+0x108/0x230 fs/namei.c:1605 filename_create+0x230/0x468 fs/namei.c:3879 kern_path_create+0x48/0x6c fs/namei.c:3919 unix_bind_bsd net/unix/af_unix.c:1209 [inline] unix_bind+0x274/0xc48 net/unix/af_unix.c:1312 __sys_bind+0x1e8/0x284 net/socket.c:1806 __do_sys_bind net/socket.c:1817 [inline] __se_sys_bind net/socket.c:1815 [inline] __arm64_sys_bind+0x7c/0x94 net/socket.c:1815 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 BUG: sleeping function called from invalid context at fs/buffer.c:1331 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5430, name: syz-executor.1 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.1/5430: #0: ffff0000fbeee460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3878 #2: ffff800015cc65f8 (pointers_lock#2){.+.+}-{2:2}, at: get_block+0x148/0x13b4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x148/0x13b4 fs/sysv/itree.c:221 CPU: 1 PID: 5430 Comm: syz-executor.1 Tainted: G W 6.1.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __might_resched+0x37c/0x4d8 kernel/sched/core.c:9942 __might_sleep+0x90/0xe4 kernel/sched/core.c:9871 __getblk_gfp+0x5c/0x874 fs/buffer.c:1331 __bread_gfp+0x3c/0x2ec fs/buffer.c:1367 sb_bread include/linux/buffer_head.h:338 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x164/0x13b4 fs/sysv/itree.c:222 block_read_full_folio+0x2f4/0x98c fs/buffer.c:2271 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:465 filemap_read_folio+0x14c/0x39c mm/filemap.c:2461 do_read_cache_folio+0x24c/0x544 mm/filemap.c:3598 do_read_cache_page mm/filemap.c:3640 [inline] read_cache_page+0x6c/0x180 mm/filemap.c:3649 read_mapping_page include/linux/pagemap.h:791 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x170/0x5a8 fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 lookup_one_qstr_excl+0x108/0x230 fs/namei.c:1605 filename_create+0x230/0x468 fs/namei.c:3879 kern_path_create+0x48/0x6c fs/namei.c:3919 unix_bind_bsd net/unix/af_unix.c:1209 [inline] unix_bind+0x274/0xc48 net/unix/af_unix.c:1312 __sys_bind+0x1e8/0x284 net/socket.c:1806 __do_sys_bind net/socket.c:1817 [inline] __se_sys_bind net/socket.c:1815 [inline] __arm64_sys_bind+0x7c/0x94 net/socket.c:1815 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 BUG: sleeping function called from invalid context at fs/buffer.c:1331 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5430, name: syz-executor.1 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.1/5430: #0: ffff0000fbeee460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3878 #2: ffff800015cc65f8 (pointers_lock#2){.+.+}-{2:2}, at: get_block+0x148/0x13b4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x148/0x13b4 fs/sysv/itree.c:221 CPU: 1 PID: 5430 Comm: syz-executor.1 Tainted: G W 6.1.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __might_resched+0x37c/0x4d8 kernel/sched/core.c:9942 __might_sleep+0x90/0xe4 kernel/sched/core.c:9871 __getblk_gfp+0x5c/0x874 fs/buffer.c:1331 __bread_gfp+0x3c/0x2ec fs/buffer.c:1367 sb_bread include/linux/buffer_head.h:338 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x164/0x13b4 fs/sysv/itree.c:222 block_read_full_folio+0x2f4/0x98c fs/buffer.c:2271 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:465 filemap_read_folio+0x14c/0x39c mm/filemap.c:2461 do_read_cache_folio+0x24c/0x544 mm/filemap.c:3598 do_read_cache_page mm/filemap.c:3640 [inline] read_cache_page+0x6c/0x180 mm/filemap.c:3649 read_mapping_page include/linux/pagemap.h:791 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x170/0x5a8 fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 lookup_one_qstr_excl+0x108/0x230 fs/namei.c:1605 filename_create+0x230/0x468 fs/namei.c:3879 kern_path_create+0x48/0x6c fs/namei.c:3919 unix_bind_bsd net/unix/af_unix.c:1209 [inline] unix_bind+0x274/0xc48 net/unix/af_unix.c:1312 __sys_bind+0x1e8/0x284 net/socket.c:1806 __do_sys_bind net/socket.c:1817 [inline] __se_sys_bind net/socket.c:1815 [inline] __arm64_sys_bind+0x7c/0x94 net/socket.c:1815 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 BUG: sleeping function called from invalid context at fs/buffer.c:1331 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5430, name: syz-executor.1 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.1/5430: #0: ffff0000fbeee460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3878 #2: ffff800015cc65f8 (pointers_lock#2){.+.+}-{2:2}, at: get_block+0x148/0x13b4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x148/0x13b4 fs/sysv/itree.c:221 CPU: 1 PID: 5430 Comm: syz-executor.1 Tainted: G W 6.1.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __might_resched+0x37c/0x4d8 kernel/sched/core.c:9942 __might_sleep+0x90/0xe4 kernel/sched/core.c:9871 __getblk_gfp+0x5c/0x874 fs/buffer.c:1331 __bread_gfp+0x3c/0x2ec fs/buffer.c:1367 sb_bread include/linux/buffer_head.h:338 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x164/0x13b4 fs/sysv/itree.c:222 block_read_full_folio+0x2f4/0x98c fs/buffer.c:2271 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:465 filemap_read_folio+0x14c/0x39c mm/filemap.c:2461 do_read_cache_folio+0x24c/0x544 mm/filemap.c:3598 do_read_cache_page mm/filemap.c:3640 [inline] read_cache_page+0x6c/0x180 mm/filemap.c:3649 read_mapping_page include/linux/pagemap.h:791 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x170/0x5a8 fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 lookup_one_qstr_excl+0x108/0x230 fs/namei.c:1605 filename_create+0x230/0x468 fs/namei.c:3879 kern_path_create+0x48/0x6c fs/namei.c:3919 unix_bind_bsd net/unix/af_unix.c:1209 [inline] unix_bind+0x274/0xc48 net/unix/af_unix.c:1312 __sys_bind+0x1e8/0x284 net/socket.c:1806 __do_sys_bind net/socket.c:1817 [inline] __se_sys_bind net/socket.c:1815 [inline] __arm64_sys_bind+0x7c/0x94 net/socket.c:1815 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 BUG: sleeping function called from invalid context at fs/buffer.c:1331 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5430, name: syz-executor.1 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.1/5430: #0: ffff0000fbeee460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3878 #2: ffff800015cc65f8 (pointers_lock#2){.+.+}-{2:2}, at: get_block+0x148/0x13b4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x148/0x13b4 fs/sysv/itree.c:221 CPU: 0 PID: 5430 Comm: syz-executor.1 Tainted: G W 6.1.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __might_resched+0x37c/0x4d8 kernel/sched/core.c:9942 __might_sleep+0x90/0xe4 kernel/sched/core.c:9871 __getblk_gfp+0x5c/0x874 fs/buffer.c:1331 __bread_gfp+0x3c/0x2ec fs/buffer.c:1367 sb_bread include/linux/buffer_head.h:338 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x164/0x13b4 fs/sysv/itree.c:222 block_read_full_folio+0x2f4/0x98c fs/buffer.c:2271 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:465 filemap_read_folio+0x14c/0x39c mm/filemap.c:2461 do_read_cache_folio+0x24c/0x544 mm/filemap.c:3598 do_read_cache_page mm/filemap.c:3640 [inline] read_cache_page+0x6c/0x180 mm/filemap.c:3649 read_mapping_page include/linux/pagemap.h:791 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x170/0x5a8 fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 lookup_one_qstr_excl+0x108/0x230 fs/namei.c:1605 filename_create+0x230/0x468 fs/namei.c:3879 kern_path_create+0x48/0x6c fs/namei.c:3919 unix_bind_bsd net/unix/af_unix.c:1209 [inline] unix_bind+0x274/0xc48 net/unix/af_unix.c:1312 __sys_bind+0x1e8/0x284 net/socket.c:1806 __do_sys_bind net/socket.c:1817 [inline] __se_sys_bind net/socket.c:1815 [inline] __arm64_sys_bind+0x7c/0x94 net/socket.c:1815 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 BUG: sleeping function called from invalid context at include/linux/pagemap.h:972 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5430, name: syz-executor.1 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.1/5430: #0: ffff0000fbeee460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3878 #2: ffff800015cc65f8 (pointers_lock#2){.+.+}-{2:2}, at: get_block+0x148/0x13b4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x148/0x13b4 fs/sysv/itree.c:221 CPU: 0 PID: 5430 Comm: syz-executor.1 Tainted: G W 6.1.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __might_resched+0x37c/0x4d8 kernel/sched/core.c:9942 __might_sleep+0x90/0xe4 kernel/sched/core.c:9871 folio_lock include/linux/pagemap.h:972 [inline] __filemap_get_folio+0x47c/0xb6c mm/filemap.c:1931 pagecache_get_page+0x3c/0x16c mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:646 [inline] grow_dev_page fs/buffer.c:946 [inline] grow_buffers fs/buffer.c:1011 [inline] __getblk_slow fs/buffer.c:1038 [inline] __getblk_gfp+0x1dc/0x874 fs/buffer.c:1333 __bread_gfp+0x3c/0x2ec fs/buffer.c:1367 sb_bread include/linux/buffer_head.h:338 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x164/0x13b4 fs/sysv/itree.c:222 block_read_full_folio+0x2f4/0x98c fs/buffer.c:2271 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:465 filemap_read_folio+0x14c/0x39c mm/filemap.c:2461 do_read_cache_folio+0x24c/0x544 mm/filemap.c:3598 do_read_cache_page mm/filemap.c:3640 [inline] read_cache_page+0x6c/0x180 mm/filemap.c:3649 read_mapping_page include/linux/pagemap.h:791 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x170/0x5a8 fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 lookup_one_qstr_excl+0x108/0x230 fs/namei.c:1605 filename_create+0x230/0x468 fs/namei.c:3879 kern_path_create+0x48/0x6c fs/namei.c:3919 unix_bind_bsd net/unix/af_unix.c:1209 [inline] unix_bind+0x274/0xc48 net/unix/af_unix.c:1312 __sys_bind+0x1e8/0x284 net/socket.c:1806 __do_sys_bind net/socket.c:1817 [inline] __se_sys_bind net/socket.c:1815 [inline] __arm64_sys_bind+0x7c/0x94 net/socket.c:1815 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 BUG: sleeping function called from invalid context at include/linux/pagemap.h:972 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5430, name: syz-executor.1 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.1/5430: #0: ffff0000fbeee460 (sb_writers#28){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e27cc188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3878 #2: ffff800015cc65f8 (pointers_lock#2){.+.+}-{2:2}, at: get_block+0x148/0x13b4 fs/sysv/itree.c:221 Preemption disabled at: [] get_block+0x148/0x13b4 fs/sysv/itree.c:221 CPU: 0 PID: 5430 Comm: syz-executor.1 Tainted: G W 6.1.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __might_resched+0x37c/0x4d8 kernel/sched/core.c:9942 __might_sleep+0x90/0xe4 kernel/sched/core.c:9871 folio_lock include/linux/pagemap.h:972 [inline] __filemap_get_folio+0x47c/0xb6c mm/filemap.c:1931 pagecache_get_page+0x3c/0x16c mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:646 [inline] grow_dev_page fs/buffer.c:946 [inline] grow_buffers fs/buffer.c:1011 [inline] __getblk_slow fs/buffer.c:1038 [inline] __getblk_gfp+0x1dc/0x874 fs/buffer.c:1333 __bread_gfp+0x3c/0x2ec fs/buffer.c:1367 sb_bread include/linux/buffer_head.h:338 [inline] get_branch+0x234/0x55c fs/sysv/itree.c:104 get_block+0x164/0x13b4 fs/sysv/itree.c:222 block_read_full_folio+0x2f4/0x98c fs/buffer.c:2271 sysv_read_folio+0x28/0x38 fs/sysv/itree.c:465 filemap_read_folio+0x14c/0x39c mm/filemap.c:2461 do_read_cache_folio+0x24c/0x544 mm/filemap.c:3598 do_read_cache_page mm/filemap.c:3640 [inline] read_cache_page+0x6c/0x180 mm/filemap.c:3649 read_mapping_page include/linux/pagemap.h:791 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x170/0x5a8 fs/sysv/dir.c:146 sysv_inode_by_name+0xa0/0x330 fs/sysv/dir.c:360 sysv_lookup+0x74/0xe4 fs/sysv/namei.c:38 lookup_one_qstr_excl+0x108/0x230 fs/namei.c:1605 filename_create+0x230/0x468 fs/namei.c:3879 kern_path_create+0x48/0x6c fs/namei.c:3919 unix_bind_bsd net/unix/af_unix.c:1209 [inline] unix_bind+0x274/0xc48 net/unix/af_unix.c:1312 __sys_bind+0x1e8/0x284 net/socket.c:1806 __do_sys_bind net/socket.c:1817 [inline] __se_sys_bind net/socket.c:1815 [inline] __arm64_sys_bind+0x7c/0x94 net/socket.c:1815 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585