loop0: rw=0, want=26932836, limit=128 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:1318 in_atomic(): 1, irqs_disabled(): 0, pid: 3057, name: syz-executor.0 2 locks held by syz-executor.0/3057: #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: do_last fs/namei.c:3323 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: path_openat+0x1312/0x2a50 fs/namei.c:3534 #1: 000000005a6c3ca0 (pointers_lock){.+.+}, at: get_block+0x158/0x1160 fs/sysv/itree.c:217 Preemption disabled at: [] get_block+0x158/0x1160 fs/sysv/itree.c:217 CPU: 0 PID: 3057 Comm: syz-executor.0 Not tainted 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20a lib/dump_stack.c:113 ___might_sleep.cold.15+0x1f1/0x265 kernel/sched/core.c:6143 __might_sleep+0x95/0x190 kernel/sched/core.c:6096 __getblk_gfp+0x3a/0x700 fs/buffer.c:1318 __bread_gfp+0xa/0x190 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] get_branch+0x290/0x630 fs/sysv/itree.c:104 get_block+0x179/0x1160 fs/sysv/itree.c:218 block_read_full_page+0x26f/0xbd0 fs/buffer.c:2247 sysv_readpage+0x13/0x20 fs/sysv/itree.c:461 do_read_cache_page.part.6+0x3dc/0x880 mm/filemap.c:2805 do_read_cache_page mm/filemap.c:2781 [inline] read_cache_page+0x40/0x70 mm/filemap.c:2893 read_mapping_page include/linux/pagemap.h:402 [inline] dir_get_page.isra.0+0x5e/0xc0 fs/sysv/dir.c:58 sysv_find_entry+0x19c/0x470 fs/sysv/dir.c:146 sysv_inode_by_name+0x66/0x25a fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x59/0xc0 fs/sysv/namei.c:46 lookup_open+0x5bd/0x1d30 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x132a/0x2a50 fs/namei.c:3534 do_filp_open+0x177/0x250 fs/namei.c:3564 do_sys_open+0x1dc/0x350 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1076 do_syscall_64+0xd0/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08a832aae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08a7ead0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f08a8449f80 RCX: 00007f08a832aae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f08a837647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f08a8449f80 R15: 00007ffe714a90d8 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 include/linux/pagemap.h:481 in_atomic(): 1, irqs_disabled(): 0, pid: 3057, name: syz-executor.0 2 locks held by syz-executor.0/3057: #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: do_last fs/namei.c:3323 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: path_openat+0x1312/0x2a50 fs/namei.c:3534 #1: 000000005a6c3ca0 (pointers_lock){.+.+}, at: get_block+0x158/0x1160 fs/sysv/itree.c:217 Preemption disabled at: [] get_block+0x158/0x1160 fs/sysv/itree.c:217 CPU: 0 PID: 3057 Comm: syz-executor.0 Tainted: G W 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20a lib/dump_stack.c:113 ___might_sleep.cold.15+0x1f1/0x265 kernel/sched/core.c:6143 __might_sleep+0x95/0x190 kernel/sched/core.c:6096 lock_page include/linux/pagemap.h:481 [inline] pagecache_get_page+0x33e/0x6c0 mm/filemap.c:1554 find_or_create_page include/linux/pagemap.h:322 [inline] grow_dev_page fs/buffer.c:947 [inline] grow_buffers fs/buffer.c:1016 [inline] __getblk_slow fs/buffer.c:1043 [inline] __getblk_gfp+0x1f6/0x700 fs/buffer.c:1320 __bread_gfp+0xa/0x190 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] get_branch+0x290/0x630 fs/sysv/itree.c:104 get_block+0x179/0x1160 fs/sysv/itree.c:218 block_read_full_page+0x26f/0xbd0 fs/buffer.c:2247 sysv_readpage+0x13/0x20 fs/sysv/itree.c:461 do_read_cache_page.part.6+0x3dc/0x880 mm/filemap.c:2805 do_read_cache_page mm/filemap.c:2781 [inline] read_cache_page+0x40/0x70 mm/filemap.c:2893 read_mapping_page include/linux/pagemap.h:402 [inline] dir_get_page.isra.0+0x5e/0xc0 fs/sysv/dir.c:58 sysv_find_entry+0x19c/0x470 fs/sysv/dir.c:146 sysv_inode_by_name+0x66/0x25a fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x59/0xc0 fs/sysv/namei.c:46 lookup_open+0x5bd/0x1d30 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x132a/0x2a50 fs/namei.c:3534 do_filp_open+0x177/0x250 fs/namei.c:3564 do_sys_open+0x1dc/0x350 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1076 do_syscall_64+0xd0/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08a832aae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08a7ead0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f08a8449f80 RCX: 00007f08a832aae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f08a837647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f08a8449f80 R15: 00007ffe714a90d8 BUG: sleeping function called from invalid context at fs/buffer.c:1318 in_atomic(): 1, irqs_disabled(): 0, pid: 3057, name: syz-executor.0 2 locks held by syz-executor.0/3057: #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: do_last fs/namei.c:3323 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: path_openat+0x1312/0x2a50 fs/namei.c:3534 #1: 000000005a6c3ca0 (pointers_lock){.+.+}, at: get_block+0x158/0x1160 fs/sysv/itree.c:217 Preemption disabled at: [] get_block+0x158/0x1160 fs/sysv/itree.c:217 CPU: 0 PID: 3057 Comm: syz-executor.0 Tainted: G W 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20a lib/dump_stack.c:113 ___might_sleep.cold.15+0x1f1/0x265 kernel/sched/core.c:6143 __might_sleep+0x95/0x190 kernel/sched/core.c:6096 __getblk_gfp+0x3a/0x700 fs/buffer.c:1318 __bread_gfp+0xa/0x190 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] get_branch+0x290/0x630 fs/sysv/itree.c:104 get_block+0x179/0x1160 fs/sysv/itree.c:218 block_read_full_page+0x26f/0xbd0 fs/buffer.c:2247 sysv_readpage+0x13/0x20 fs/sysv/itree.c:461 do_read_cache_page.part.6+0x3dc/0x880 mm/filemap.c:2805 do_read_cache_page mm/filemap.c:2781 [inline] read_cache_page+0x40/0x70 mm/filemap.c:2893 read_mapping_page include/linux/pagemap.h:402 [inline] dir_get_page.isra.0+0x5e/0xc0 fs/sysv/dir.c:58 sysv_find_entry+0x19c/0x470 fs/sysv/dir.c:146 sysv_inode_by_name+0x66/0x25a fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x59/0xc0 fs/sysv/namei.c:46 lookup_open+0x5bd/0x1d30 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x132a/0x2a50 fs/namei.c:3534 do_filp_open+0x177/0x250 fs/namei.c:3564 do_sys_open+0x1dc/0x350 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1076 do_syscall_64+0xd0/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08a832aae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08a7ead0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f08a8449f80 RCX: 00007f08a832aae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f08a837647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f08a8449f80 R15: 00007ffe714a90d8 BUG: sleeping function called from invalid context at fs/buffer.c:1318 in_atomic(): 1, irqs_disabled(): 0, pid: 3057, name: syz-executor.0 2 locks held by syz-executor.0/3057: #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: do_last fs/namei.c:3323 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: path_openat+0x1312/0x2a50 fs/namei.c:3534 #1: 000000005a6c3ca0 (pointers_lock){.+.+}, at: get_block+0x158/0x1160 fs/sysv/itree.c:217 Preemption disabled at: [] get_block+0x158/0x1160 fs/sysv/itree.c:217 CPU: 0 PID: 3057 Comm: syz-executor.0 Tainted: G W 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20a lib/dump_stack.c:113 ___might_sleep.cold.15+0x1f1/0x265 kernel/sched/core.c:6143 __might_sleep+0x95/0x190 kernel/sched/core.c:6096 __getblk_gfp+0x3a/0x700 fs/buffer.c:1318 __bread_gfp+0xa/0x190 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] get_branch+0x290/0x630 fs/sysv/itree.c:104 get_block+0x179/0x1160 fs/sysv/itree.c:218 block_read_full_page+0x26f/0xbd0 fs/buffer.c:2247 sysv_readpage+0x13/0x20 fs/sysv/itree.c:461 do_read_cache_page.part.6+0x3dc/0x880 mm/filemap.c:2805 do_read_cache_page mm/filemap.c:2781 [inline] read_cache_page+0x40/0x70 mm/filemap.c:2893 read_mapping_page include/linux/pagemap.h:402 [inline] dir_get_page.isra.0+0x5e/0xc0 fs/sysv/dir.c:58 sysv_find_entry+0x19c/0x470 fs/sysv/dir.c:146 sysv_inode_by_name+0x66/0x25a fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x59/0xc0 fs/sysv/namei.c:46 lookup_open+0x5bd/0x1d30 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x132a/0x2a50 fs/namei.c:3534 do_filp_open+0x177/0x250 fs/namei.c:3564 do_sys_open+0x1dc/0x350 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1076 do_syscall_64+0xd0/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08a832aae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08a7ead0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f08a8449f80 RCX: 00007f08a832aae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f08a837647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f08a8449f80 R15: 00007ffe714a90d8 BUG: sleeping function called from invalid context at fs/buffer.c:1318 in_atomic(): 1, irqs_disabled(): 0, pid: 3057, name: syz-executor.0 2 locks held by syz-executor.0/3057: #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: do_last fs/namei.c:3323 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: path_openat+0x1312/0x2a50 fs/namei.c:3534 #1: 000000005a6c3ca0 (pointers_lock){.+.+}, at: get_block+0x158/0x1160 fs/sysv/itree.c:217 Preemption disabled at: [] get_block+0x158/0x1160 fs/sysv/itree.c:217 CPU: 0 PID: 3057 Comm: syz-executor.0 Tainted: G W 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20a lib/dump_stack.c:113 ___might_sleep.cold.15+0x1f1/0x265 kernel/sched/core.c:6143 __might_sleep+0x95/0x190 kernel/sched/core.c:6096 __getblk_gfp+0x3a/0x700 fs/buffer.c:1318 __bread_gfp+0xa/0x190 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] get_branch+0x290/0x630 fs/sysv/itree.c:104 get_block+0x179/0x1160 fs/sysv/itree.c:218 block_read_full_page+0x26f/0xbd0 fs/buffer.c:2247 sysv_readpage+0x13/0x20 fs/sysv/itree.c:461 do_read_cache_page.part.6+0x3dc/0x880 mm/filemap.c:2805 do_read_cache_page mm/filemap.c:2781 [inline] read_cache_page+0x40/0x70 mm/filemap.c:2893 read_mapping_page include/linux/pagemap.h:402 [inline] dir_get_page.isra.0+0x5e/0xc0 fs/sysv/dir.c:58 sysv_find_entry+0x19c/0x470 fs/sysv/dir.c:146 sysv_inode_by_name+0x66/0x25a fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x59/0xc0 fs/sysv/namei.c:46 lookup_open+0x5bd/0x1d30 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x132a/0x2a50 fs/namei.c:3534 do_filp_open+0x177/0x250 fs/namei.c:3564 do_sys_open+0x1dc/0x350 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1076 do_syscall_64+0xd0/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08a832aae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08a7ead0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f08a8449f80 RCX: 00007f08a832aae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f08a837647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f08a8449f80 R15: 00007ffe714a90d8 BUG: sleeping function called from invalid context at fs/buffer.c:1318 in_atomic(): 1, irqs_disabled(): 0, pid: 3057, name: syz-executor.0 2 locks held by syz-executor.0/3057: #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: do_last fs/namei.c:3323 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: path_openat+0x1312/0x2a50 fs/namei.c:3534 #1: 000000005a6c3ca0 (pointers_lock){.+.+}, at: get_block+0x158/0x1160 fs/sysv/itree.c:217 Preemption disabled at: [] get_block+0x158/0x1160 fs/sysv/itree.c:217 CPU: 0 PID: 3057 Comm: syz-executor.0 Tainted: G W 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20a lib/dump_stack.c:113 ___might_sleep.cold.15+0x1f1/0x265 kernel/sched/core.c:6143 __might_sleep+0x95/0x190 kernel/sched/core.c:6096 __getblk_gfp+0x3a/0x700 fs/buffer.c:1318 __bread_gfp+0xa/0x190 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] get_branch+0x290/0x630 fs/sysv/itree.c:104 get_block+0x179/0x1160 fs/sysv/itree.c:218 block_read_full_page+0x26f/0xbd0 fs/buffer.c:2247 sysv_readpage+0x13/0x20 fs/sysv/itree.c:461 do_read_cache_page.part.6+0x3dc/0x880 mm/filemap.c:2805 do_read_cache_page mm/filemap.c:2781 [inline] read_cache_page+0x40/0x70 mm/filemap.c:2893 read_mapping_page include/linux/pagemap.h:402 [inline] dir_get_page.isra.0+0x5e/0xc0 fs/sysv/dir.c:58 sysv_find_entry+0x19c/0x470 fs/sysv/dir.c:146 sysv_inode_by_name+0x66/0x25a fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x59/0xc0 fs/sysv/namei.c:46 lookup_open+0x5bd/0x1d30 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x132a/0x2a50 fs/namei.c:3534 do_filp_open+0x177/0x250 fs/namei.c:3564 do_sys_open+0x1dc/0x350 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1076 do_syscall_64+0xd0/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08a832aae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08a7ead0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f08a8449f80 RCX: 00007f08a832aae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f08a837647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f08a8449f80 R15: 00007ffe714a90d8 BUG: sleeping function called from invalid context at fs/buffer.c:1318 in_atomic(): 1, irqs_disabled(): 0, pid: 3057, name: syz-executor.0 2 locks held by syz-executor.0/3057: #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: do_last fs/namei.c:3323 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: path_openat+0x1312/0x2a50 fs/namei.c:3534 #1: 000000005a6c3ca0 (pointers_lock){.+.+}, at: get_block+0x158/0x1160 fs/sysv/itree.c:217 Preemption disabled at: [] get_block+0x158/0x1160 fs/sysv/itree.c:217 CPU: 0 PID: 3057 Comm: syz-executor.0 Tainted: G W 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20a lib/dump_stack.c:113 ___might_sleep.cold.15+0x1f1/0x265 kernel/sched/core.c:6143 __might_sleep+0x95/0x190 kernel/sched/core.c:6096 __getblk_gfp+0x3a/0x700 fs/buffer.c:1318 __bread_gfp+0xa/0x190 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] get_branch+0x290/0x630 fs/sysv/itree.c:104 get_block+0x179/0x1160 fs/sysv/itree.c:218 block_read_full_page+0x26f/0xbd0 fs/buffer.c:2247 sysv_readpage+0x13/0x20 fs/sysv/itree.c:461 do_read_cache_page.part.6+0x3dc/0x880 mm/filemap.c:2805 do_read_cache_page mm/filemap.c:2781 [inline] read_cache_page+0x40/0x70 mm/filemap.c:2893 read_mapping_page include/linux/pagemap.h:402 [inline] dir_get_page.isra.0+0x5e/0xc0 fs/sysv/dir.c:58 sysv_find_entry+0x19c/0x470 fs/sysv/dir.c:146 sysv_inode_by_name+0x66/0x25a fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x59/0xc0 fs/sysv/namei.c:46 lookup_open+0x5bd/0x1d30 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x132a/0x2a50 fs/namei.c:3534 do_filp_open+0x177/0x250 fs/namei.c:3564 do_sys_open+0x1dc/0x350 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1076 do_syscall_64+0xd0/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08a832aae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08a7ead0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f08a8449f80 RCX: 00007f08a832aae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f08a837647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f08a8449f80 R15: 00007ffe714a90d8 BUG: sleeping function called from invalid context at fs/buffer.c:1318 in_atomic(): 1, irqs_disabled(): 0, pid: 3057, name: syz-executor.0 2 locks held by syz-executor.0/3057: #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: do_last fs/namei.c:3323 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: path_openat+0x1312/0x2a50 fs/namei.c:3534 #1: 000000005a6c3ca0 (pointers_lock){.+.+}, at: get_block+0x158/0x1160 fs/sysv/itree.c:217 Preemption disabled at: [] get_block+0x158/0x1160 fs/sysv/itree.c:217 CPU: 0 PID: 3057 Comm: syz-executor.0 Tainted: G W 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20a lib/dump_stack.c:113 ___might_sleep.cold.15+0x1f1/0x265 kernel/sched/core.c:6143 __might_sleep+0x95/0x190 kernel/sched/core.c:6096 __getblk_gfp+0x3a/0x700 fs/buffer.c:1318 __bread_gfp+0xa/0x190 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] get_branch+0x290/0x630 fs/sysv/itree.c:104 get_block+0x179/0x1160 fs/sysv/itree.c:218 block_read_full_page+0x26f/0xbd0 fs/buffer.c:2247 sysv_readpage+0x13/0x20 fs/sysv/itree.c:461 do_read_cache_page.part.6+0x3dc/0x880 mm/filemap.c:2805 do_read_cache_page mm/filemap.c:2781 [inline] read_cache_page+0x40/0x70 mm/filemap.c:2893 read_mapping_page include/linux/pagemap.h:402 [inline] dir_get_page.isra.0+0x5e/0xc0 fs/sysv/dir.c:58 sysv_find_entry+0x19c/0x470 fs/sysv/dir.c:146 sysv_inode_by_name+0x66/0x25a fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x59/0xc0 fs/sysv/namei.c:46 lookup_open+0x5bd/0x1d30 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x132a/0x2a50 fs/namei.c:3534 do_filp_open+0x177/0x250 fs/namei.c:3564 do_sys_open+0x1dc/0x350 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1076 do_syscall_64+0xd0/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08a832aae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08a7ead0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f08a8449f80 RCX: 00007f08a832aae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f08a837647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f08a8449f80 R15: 00007ffe714a90d8 BUG: sleeping function called from invalid context at include/linux/pagemap.h:481 in_atomic(): 1, irqs_disabled(): 0, pid: 3057, name: syz-executor.0 2 locks held by syz-executor.0/3057: #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: do_last fs/namei.c:3323 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: path_openat+0x1312/0x2a50 fs/namei.c:3534 #1: 000000005a6c3ca0 (pointers_lock){.+.+}, at: get_block+0x158/0x1160 fs/sysv/itree.c:217 Preemption disabled at: [] get_block+0x158/0x1160 fs/sysv/itree.c:217 CPU: 0 PID: 3057 Comm: syz-executor.0 Tainted: G W 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20a lib/dump_stack.c:113 ___might_sleep.cold.15+0x1f1/0x265 kernel/sched/core.c:6143 __might_sleep+0x95/0x190 kernel/sched/core.c:6096 lock_page include/linux/pagemap.h:481 [inline] pagecache_get_page+0x33e/0x6c0 mm/filemap.c:1554 find_or_create_page include/linux/pagemap.h:322 [inline] grow_dev_page fs/buffer.c:947 [inline] grow_buffers fs/buffer.c:1016 [inline] __getblk_slow fs/buffer.c:1043 [inline] __getblk_gfp+0x1f6/0x700 fs/buffer.c:1320 __bread_gfp+0xa/0x190 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] get_branch+0x290/0x630 fs/sysv/itree.c:104 get_block+0x179/0x1160 fs/sysv/itree.c:218 block_read_full_page+0x26f/0xbd0 fs/buffer.c:2247 sysv_readpage+0x13/0x20 fs/sysv/itree.c:461 do_read_cache_page.part.6+0x3dc/0x880 mm/filemap.c:2805 do_read_cache_page mm/filemap.c:2781 [inline] read_cache_page+0x40/0x70 mm/filemap.c:2893 read_mapping_page include/linux/pagemap.h:402 [inline] dir_get_page.isra.0+0x5e/0xc0 fs/sysv/dir.c:58 sysv_find_entry+0x19c/0x470 fs/sysv/dir.c:146 sysv_inode_by_name+0x66/0x25a fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x59/0xc0 fs/sysv/namei.c:46 lookup_open+0x5bd/0x1d30 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x132a/0x2a50 fs/namei.c:3534 do_filp_open+0x177/0x250 fs/namei.c:3564 do_sys_open+0x1dc/0x350 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1076 do_syscall_64+0xd0/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08a832aae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08a7ead0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f08a8449f80 RCX: 00007f08a832aae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f08a837647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f08a8449f80 R15: 00007ffe714a90d8 BUG: sleeping function called from invalid context at fs/buffer.c:1318 in_atomic(): 1, irqs_disabled(): 0, pid: 3057, name: syz-executor.0 2 locks held by syz-executor.0/3057: #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: do_last fs/namei.c:3323 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: path_openat+0x1312/0x2a50 fs/namei.c:3534 #1: 000000005a6c3ca0 (pointers_lock){.+.+}, at: get_block+0x158/0x1160 fs/sysv/itree.c:217 Preemption disabled at: [] get_block+0x158/0x1160 fs/sysv/itree.c:217 CPU: 0 PID: 3057 Comm: syz-executor.0 Tainted: G W 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20a lib/dump_stack.c:113 ___might_sleep.cold.15+0x1f1/0x265 kernel/sched/core.c:6143 __might_sleep+0x95/0x190 kernel/sched/core.c:6096 __getblk_gfp+0x3a/0x700 fs/buffer.c:1318 __bread_gfp+0xa/0x190 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] get_branch+0x290/0x630 fs/sysv/itree.c:104 get_block+0x179/0x1160 fs/sysv/itree.c:218 block_read_full_page+0x26f/0xbd0 fs/buffer.c:2247 sysv_readpage+0x13/0x20 fs/sysv/itree.c:461 do_read_cache_page.part.6+0x3dc/0x880 mm/filemap.c:2805 do_read_cache_page mm/filemap.c:2781 [inline] read_cache_page+0x40/0x70 mm/filemap.c:2893 read_mapping_page include/linux/pagemap.h:402 [inline] dir_get_page.isra.0+0x5e/0xc0 fs/sysv/dir.c:58 sysv_find_entry+0x19c/0x470 fs/sysv/dir.c:146 sysv_inode_by_name+0x66/0x25a fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x59/0xc0 fs/sysv/namei.c:46 lookup_open+0x5bd/0x1d30 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x132a/0x2a50 fs/namei.c:3534 do_filp_open+0x177/0x250 fs/namei.c:3564 do_sys_open+0x1dc/0x350 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1076 do_syscall_64+0xd0/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08a832aae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08a7ead0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f08a8449f80 RCX: 00007f08a832aae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f08a837647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f08a8449f80 R15: 00007ffe714a90d8 BUG: sleeping function called from invalid context at fs/buffer.c:1318 in_atomic(): 1, irqs_disabled(): 0, pid: 3057, name: syz-executor.0 2 locks held by syz-executor.0/3057: #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: inode_lock_shared include/linux/fs.h:748 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: do_last fs/namei.c:3323 [inline] #0: 000000001ef7a4c7 (&type->i_mutex_dir_key#8){.+.+}, at: path_openat+0x1312/0x2a50 fs/namei.c:3534 #1: 000000005a6c3ca0 (pointers_lock){.+.+}, at: get_block+0x158/0x1160 fs/sysv/itree.c:217 Preemption disabled at: [] get_block+0x158/0x1160 fs/sysv/itree.c:217