syz-executor173: attempt to access beyond end of device
loop0: rw=0, sector=13466417, nr_sectors = 1 limit=128
Buffer I/O error on dev loop0, logical block 13466417, async page read
syz-executor173: attempt to access beyond end of device
loop0: rw=0, sector=8073605, nr_sectors = 1 limit=128
Buffer I/O error on dev loop0, logical block 8073605, async page read
BUG: sleeping function called from invalid context at fs/buffer.c:1380
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4998, name: syz-executor173
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by syz-executor173/4998:
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1706 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: walk_component+0x332/0x5a0 fs/namei.c:1998
#1: ffffffff8cb91498 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 4998 Comm: syz-executor173 Not tainted 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
__might_resched+0x358/0x580 kernel/sched/core.c:10153
__getblk_gfp fs/buffer.c:1380 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1416
sb_bread include/linux/buffer_head.h:347 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x41d/0xab0 fs/buffer.c:2349
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2427
do_read_cache_folio+0x1f2/0x510 mm/filemap.c:3686
do_read_cache_page mm/filemap.c:3752 [inline]
read_cache_page+0x5d/0x160 mm/filemap.c:3761
read_mapping_page include/linux/pagemap.h:772 [inline]
dir_get_page fs/sysv/dir.c:64 [inline]
sysv_find_entry+0x1e8/0x4b0 fs/sysv/dir.c:157
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:374
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_slow+0x24c/0x460 fs/namei.c:1690
lookup_slow fs/namei.c:1707 [inline]
walk_component+0x33f/0x5a0 fs/namei.c:1998
link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2325
link_path_walk fs/namei.c:2250 [inline]
path_openat+0x25c/0x2750 fs/namei.c:3787
do_filp_open+0x1ba/0x410 fs/namei.c:3818
do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_openat fs/open.c:1388 [inline]
__se_sys_openat fs/open.c:1383 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1383
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6b2741a69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc22308778 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff6b2741a69
RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007ff6b2701070 R08: 0000000000009e23 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff6b2701100
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
syz-executor173: attempt to access beyond end of device
loop0: rw=0, sector=3245518, nr_sectors = 1 limit=128
Buffer I/O error on dev loop0, logical block 3245518, async page read
syz-executor173: attempt to access beyond end of device
loop0: rw=0, sector=8769403, nr_sectors = 1 limit=128
Buffer I/O error on dev loop0, logical block 8769403, async page read
BUG: sleeping function called from invalid context at fs/buffer.c:1380
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4998, name: syz-executor173
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by syz-executor173/4998:
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1706 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: walk_component+0x332/0x5a0 fs/namei.c:1998
#1: ffffffff8cb91498 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 4998 Comm: syz-executor173 Tainted: G W 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
__might_resched+0x358/0x580 kernel/sched/core.c:10153
__getblk_gfp fs/buffer.c:1380 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1416
sb_bread include/linux/buffer_head.h:347 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x41d/0xab0 fs/buffer.c:2349
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2427
do_read_cache_folio+0x1f2/0x510 mm/filemap.c:3686
do_read_cache_page mm/filemap.c:3752 [inline]
read_cache_page+0x5d/0x160 mm/filemap.c:3761
read_mapping_page include/linux/pagemap.h:772 [inline]
dir_get_page fs/sysv/dir.c:64 [inline]
sysv_find_entry+0x1e8/0x4b0 fs/sysv/dir.c:157
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:374
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_slow+0x24c/0x460 fs/namei.c:1690
lookup_slow fs/namei.c:1707 [inline]
walk_component+0x33f/0x5a0 fs/namei.c:1998
link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2325
link_path_walk fs/namei.c:2250 [inline]
path_openat+0x25c/0x2750 fs/namei.c:3787
do_filp_open+0x1ba/0x410 fs/namei.c:3818
do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_openat fs/open.c:1388 [inline]
__se_sys_openat fs/open.c:1383 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1383
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6b2741a69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc22308778 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff6b2741a69
RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007ff6b2701070 R08: 0000000000009e23 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff6b2701100
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1380
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4998, name: syz-executor173
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by syz-executor173/4998:
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1706 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: walk_component+0x332/0x5a0 fs/namei.c:1998
#1: ffffffff8cb91498 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 4998 Comm: syz-executor173 Tainted: G W 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
__might_resched+0x358/0x580 kernel/sched/core.c:10153
__getblk_gfp fs/buffer.c:1380 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1416
sb_bread include/linux/buffer_head.h:347 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x41d/0xab0 fs/buffer.c:2349
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2427
do_read_cache_folio+0x1f2/0x510 mm/filemap.c:3686
do_read_cache_page mm/filemap.c:3752 [inline]
read_cache_page+0x5d/0x160 mm/filemap.c:3761
read_mapping_page include/linux/pagemap.h:772 [inline]
dir_get_page fs/sysv/dir.c:64 [inline]
sysv_find_entry+0x1e8/0x4b0 fs/sysv/dir.c:157
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:374
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_slow+0x24c/0x460 fs/namei.c:1690
lookup_slow fs/namei.c:1707 [inline]
walk_component+0x33f/0x5a0 fs/namei.c:1998
link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2325
link_path_walk fs/namei.c:2250 [inline]
path_openat+0x25c/0x2750 fs/namei.c:3787
do_filp_open+0x1ba/0x410 fs/namei.c:3818
do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_openat fs/open.c:1388 [inline]
__se_sys_openat fs/open.c:1383 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1383
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6b2741a69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc22308778 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff6b2741a69
RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007ff6b2701070 R08: 0000000000009e23 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff6b2701100
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
BUG: sleeping function called from invalid context at include/linux/pagemap.h:953
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4998, name: syz-executor173
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by syz-executor173/4998:
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1706 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: walk_component+0x332/0x5a0 fs/namei.c:1998
#1: ffffffff8cb91498 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 4998 Comm: syz-executor173 Tainted: G W 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
__might_resched+0x358/0x580 kernel/sched/core.c:10153
folio_lock include/linux/pagemap.h:953 [inline]
__filemap_get_folio+0xc3/0x990 mm/filemap.c:1937
pagecache_get_page+0x2e/0x270 mm/folio-compat.c:99
find_or_create_page include/linux/pagemap.h:635 [inline]
grow_dev_page fs/buffer.c:995 [inline]
grow_buffers fs/buffer.c:1060 [inline]
__getblk_slow+0x1f2/0x1230 fs/buffer.c:1087
__getblk_gfp fs/buffer.c:1382 [inline]
__bread_gfp+0x22c/0x330 fs/buffer.c:1416
sb_bread include/linux/buffer_head.h:347 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x41d/0xab0 fs/buffer.c:2349
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2427
do_read_cache_folio+0x1f2/0x510 mm/filemap.c:3686
do_read_cache_page mm/filemap.c:3752 [inline]
read_cache_page+0x5d/0x160 mm/filemap.c:3761
read_mapping_page include/linux/pagemap.h:772 [inline]
dir_get_page fs/sysv/dir.c:64 [inline]
sysv_find_entry+0x1e8/0x4b0 fs/sysv/dir.c:157
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:374
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_slow+0x24c/0x460 fs/namei.c:1690
lookup_slow fs/namei.c:1707 [inline]
walk_component+0x33f/0x5a0 fs/namei.c:1998
link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2325
link_path_walk fs/namei.c:2250 [inline]
path_openat+0x25c/0x2750 fs/namei.c:3787
do_filp_open+0x1ba/0x410 fs/namei.c:3818
do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_openat fs/open.c:1388 [inline]
__se_sys_openat fs/open.c:1383 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1383
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6b2741a69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc22308778 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff6b2741a69
RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007ff6b2701070 R08: 0000000000009e23 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff6b2701100
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1380
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4998, name: syz-executor173
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by syz-executor173/4998:
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1706 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: walk_component+0x332/0x5a0 fs/namei.c:1998
#1: ffffffff8cb91498 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 4998 Comm: syz-executor173 Tainted: G W 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
__might_resched+0x358/0x580 kernel/sched/core.c:10153
__getblk_gfp fs/buffer.c:1380 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1416
sb_bread include/linux/buffer_head.h:347 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x41d/0xab0 fs/buffer.c:2349
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2427
do_read_cache_folio+0x1f2/0x510 mm/filemap.c:3686
do_read_cache_page mm/filemap.c:3752 [inline]
read_cache_page+0x5d/0x160 mm/filemap.c:3761
read_mapping_page include/linux/pagemap.h:772 [inline]
dir_get_page fs/sysv/dir.c:64 [inline]
sysv_find_entry+0x1e8/0x4b0 fs/sysv/dir.c:157
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:374
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_slow+0x24c/0x460 fs/namei.c:1690
lookup_slow fs/namei.c:1707 [inline]
walk_component+0x33f/0x5a0 fs/namei.c:1998
link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2325
link_path_walk fs/namei.c:2250 [inline]
path_openat+0x25c/0x2750 fs/namei.c:3787
do_filp_open+0x1ba/0x410 fs/namei.c:3818
do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_openat fs/open.c:1388 [inline]
__se_sys_openat fs/open.c:1383 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1383
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6b2741a69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc22308778 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff6b2741a69
RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007ff6b2701070 R08: 0000000000009e23 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff6b2701100
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1380
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4998, name: syz-executor173
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by syz-executor173/4998:
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1706 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: walk_component+0x332/0x5a0 fs/namei.c:1998
#1: ffffffff8cb91498 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 4998 Comm: syz-executor173 Tainted: G W 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
__might_resched+0x358/0x580 kernel/sched/core.c:10153
__getblk_gfp fs/buffer.c:1380 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1416
sb_bread include/linux/buffer_head.h:347 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x41d/0xab0 fs/buffer.c:2349
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2427
do_read_cache_folio+0x1f2/0x510 mm/filemap.c:3686
do_read_cache_page mm/filemap.c:3752 [inline]
read_cache_page+0x5d/0x160 mm/filemap.c:3761
read_mapping_page include/linux/pagemap.h:772 [inline]
dir_get_page fs/sysv/dir.c:64 [inline]
sysv_find_entry+0x1e8/0x4b0 fs/sysv/dir.c:157
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:374
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_slow+0x24c/0x460 fs/namei.c:1690
lookup_slow fs/namei.c:1707 [inline]
walk_component+0x33f/0x5a0 fs/namei.c:1998
link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2325
link_path_walk fs/namei.c:2250 [inline]
path_openat+0x25c/0x2750 fs/namei.c:3787
do_filp_open+0x1ba/0x410 fs/namei.c:3818
do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_openat fs/open.c:1388 [inline]
__se_sys_openat fs/open.c:1383 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1383
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6b2741a69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc22308778 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff6b2741a69
RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007ff6b2701070 R08: 0000000000009e23 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff6b2701100
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1380
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4998, name: syz-executor173
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by syz-executor173/4998:
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1706 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: walk_component+0x332/0x5a0 fs/namei.c:1998
#1: ffffffff8cb91498 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 4998 Comm: syz-executor173 Tainted: G W 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
__might_resched+0x358/0x580 kernel/sched/core.c:10153
__getblk_gfp fs/buffer.c:1380 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1416
sb_bread include/linux/buffer_head.h:347 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x41d/0xab0 fs/buffer.c:2349
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2427
do_read_cache_folio+0x1f2/0x510 mm/filemap.c:3686
do_read_cache_page mm/filemap.c:3752 [inline]
read_cache_page+0x5d/0x160 mm/filemap.c:3761
read_mapping_page include/linux/pagemap.h:772 [inline]
dir_get_page fs/sysv/dir.c:64 [inline]
sysv_find_entry+0x1e8/0x4b0 fs/sysv/dir.c:157
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:374
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_slow+0x24c/0x460 fs/namei.c:1690
lookup_slow fs/namei.c:1707 [inline]
walk_component+0x33f/0x5a0 fs/namei.c:1998
link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2325
link_path_walk fs/namei.c:2250 [inline]
path_openat+0x25c/0x2750 fs/namei.c:3787
do_filp_open+0x1ba/0x410 fs/namei.c:3818
do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_openat fs/open.c:1388 [inline]
__se_sys_openat fs/open.c:1383 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1383
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6b2741a69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc22308778 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff6b2741a69
RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007ff6b2701070 R08: 0000000000009e23 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff6b2701100
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
BUG: sleeping function called from invalid context at include/linux/pagemap.h:953
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4998, name: syz-executor173
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by syz-executor173/4998:
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1706 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: walk_component+0x332/0x5a0 fs/namei.c:1998
#1: ffffffff8cb91498 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 0 PID: 4998 Comm: syz-executor173 Tainted: G W 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
__might_resched+0x358/0x580 kernel/sched/core.c:10153
folio_lock include/linux/pagemap.h:953 [inline]
__filemap_get_folio+0xc3/0x990 mm/filemap.c:1937
pagecache_get_page+0x2e/0x270 mm/folio-compat.c:99
find_or_create_page include/linux/pagemap.h:635 [inline]
grow_dev_page fs/buffer.c:995 [inline]
grow_buffers fs/buffer.c:1060 [inline]
__getblk_slow+0x1f2/0x1230 fs/buffer.c:1087
__getblk_gfp fs/buffer.c:1382 [inline]
__bread_gfp+0x22c/0x330 fs/buffer.c:1416
sb_bread include/linux/buffer_head.h:347 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x41d/0xab0 fs/buffer.c:2349
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2427
do_read_cache_folio+0x1f2/0x510 mm/filemap.c:3686
do_read_cache_page mm/filemap.c:3752 [inline]
read_cache_page+0x5d/0x160 mm/filemap.c:3761
read_mapping_page include/linux/pagemap.h:772 [inline]
dir_get_page fs/sysv/dir.c:64 [inline]
sysv_find_entry+0x1e8/0x4b0 fs/sysv/dir.c:157
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:374
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_slow+0x24c/0x460 fs/namei.c:1690
lookup_slow fs/namei.c:1707 [inline]
walk_component+0x33f/0x5a0 fs/namei.c:1998
link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2325
link_path_walk fs/namei.c:2250 [inline]
path_openat+0x25c/0x2750 fs/namei.c:3787
do_filp_open+0x1ba/0x410 fs/namei.c:3818
do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_openat fs/open.c:1388 [inline]
__se_sys_openat fs/open.c:1383 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1383
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6b2741a69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc22308778 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff6b2741a69
RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007ff6b2701070 R08: 0000000000009e23 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff6b2701100
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1380
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4998, name: syz-executor173
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by syz-executor173/4998:
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1706 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: walk_component+0x332/0x5a0 fs/namei.c:1998
#1: ffffffff8cb91498 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 0 PID: 4998 Comm: syz-executor173 Tainted: G W 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
__might_resched+0x358/0x580 kernel/sched/core.c:10153
__getblk_gfp fs/buffer.c:1380 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1416
sb_bread include/linux/buffer_head.h:347 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x41d/0xab0 fs/buffer.c:2349
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2427
do_read_cache_folio+0x1f2/0x510 mm/filemap.c:3686
do_read_cache_page mm/filemap.c:3752 [inline]
read_cache_page+0x5d/0x160 mm/filemap.c:3761
read_mapping_page include/linux/pagemap.h:772 [inline]
dir_get_page fs/sysv/dir.c:64 [inline]
sysv_find_entry+0x1e8/0x4b0 fs/sysv/dir.c:157
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:374
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_slow+0x24c/0x460 fs/namei.c:1690
lookup_slow fs/namei.c:1707 [inline]
walk_component+0x33f/0x5a0 fs/namei.c:1998
link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2325
link_path_walk fs/namei.c:2250 [inline]
path_openat+0x25c/0x2750 fs/namei.c:3787
do_filp_open+0x1ba/0x410 fs/namei.c:3818
do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_openat fs/open.c:1388 [inline]
__se_sys_openat fs/open.c:1383 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1383
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6b2741a69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc22308778 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff6b2741a69
RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007ff6b2701070 R08: 0000000000009e23 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff6b2701100
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
BUG: sleeping function called from invalid context at include/linux/pagemap.h:953
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4998, name: syz-executor173
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by syz-executor173/4998:
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1706 [inline]
#0: ffff888073854188 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: walk_component+0x332/0x5a0 fs/namei.c:1998
#1: ffffffff8cb91498 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 4998 Comm: syz-executor173 Tainted: G W 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
__might_resched+0x358/0x580 kernel/sched/core.c:10153
folio_lock include/linux/pagemap.h:953 [inline]
__filemap_get_folio+0xc3/0x990 mm/filemap.c:1937
pagecache_get_page+0x2e/0x270 mm/folio-compat.c:99
find_or_create_page include/linux/pagemap.h:635 [inline]
grow_dev_page fs/buffer.c:995 [inline]
grow_buffers fs/buffer.c:1060 [inline]
__getblk_slow+0x1f2/0x1230 fs/buffer.c:1087
__getblk_gfp fs/buffer.c:1382 [inline]
__bread_gfp+0x22c/0x330 fs/buffer.c:1416
sb_bread include/linux/buffer_head.h:347 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x41d/0xab0 fs/buffer.c:2349
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2427
do_read_cache_folio+0x1f2/0x510 mm/filemap.c:3686
do_read_cache_page mm/filemap.c:3752 [inline]
read_cache_page+0x5d/0x160 mm/filemap.c:3761
read_mapping_page include/linux/pagemap.h:772 [inline]
dir_get_page fs/sysv/dir.c:64 [inline]
sysv_find_entry+0x1e8/0x4b0 fs/sysv/dir.c:157
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:374
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_slow+0x24c/0x460 fs/namei.c:1690
lookup_slow fs/namei.c:1707 [inline]
walk_component+0x33f/0x5a0 fs/namei.c:1998
link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2325
link_path_walk fs/namei.c:2250 [inline]
path_openat+0x25c/0x2750 fs/namei.c:3787
do_filp_open+0x1ba/0x410 fs/namei.c:3818
do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_openat fs/open.c:1388 [inline]
__se_sys_openat fs/open.c:1383 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1383
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6b2741a69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc22308778 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff6b2741a69
RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007ff6b2701070 R08: 0000000000009e23 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff6b2701100
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000