loop0: rw=0, sector=26932834, nr_sectors = 2 limit=128
Buffer I/O error on dev loop0, logical block 13466417, async page read
syz-executor248: attempt to access beyond end of device
loop0: rw=0, sector=16147212, nr_sectors = 2 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:1331
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3628, name: syz-executor248
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
3 locks held by syz-executor248/3628:
#0: ffff88807e7e8460 (sb_writers#9){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3800
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3807
#2: ffffffff8c9640b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 3628 Comm: syz-executor248 Not tainted 6.1.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
__might_resched.cold+0x222/0x26b kernel/sched/core.c:9908
__getblk_gfp fs/buffer.c:1331 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1367
sb_bread include/linux/buffer_head.h:338 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x35b/0x9d0 fs/buffer.c:2271
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2407
do_read_cache_folio+0x1df/0x510 mm/filemap.c:3534
do_read_cache_page mm/filemap.c:3576 [inline]
read_cache_page+0x5d/0x170 mm/filemap.c:3585
read_mapping_page include/linux/pagemap.h:756 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x1eb/0x4b0 fs/sysv/dir.c:146
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_hash+0x117/0x180 fs/namei.c:1601
filename_create+0x1d6/0x4a0 fs/namei.c:3808
do_mkdirat+0x9d/0x310 fs/namei.c:4051
__do_sys_mkdir fs/namei.c:4081 [inline]
__se_sys_mkdir fs/namei.c:4079 [inline]
__x64_sys_mkdir+0xf6/0x140 fs/namei.c:4079
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:0x7f6624ba9e97
Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 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:00007ffcf237e1a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00005555563a12c0 RCX: 00007f6624ba9e97
RDX: 00000000000d058c RSI: 00000000000001ff RDI: 0000000020001700
RBP: 00007ffcf237e240 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020001700 R14: ffffffffffffffff R15: 0000000000000000
syz-executor248: attempt to access beyond end of device
loop0: rw=0, sector=6491548, nr_sectors = 2 limit=128
Buffer I/O error on dev loop0, logical block 3245774, async page read
syz-executor248: attempt to access beyond end of device
loop0: rw=0, sector=17669878, nr_sectors = 2 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:1331
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3628, name: syz-executor248
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
3 locks held by syz-executor248/3628:
#0: ffff88807e7e8460 (sb_writers#9){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3800
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3807
#2: ffffffff8c9640b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 3628 Comm: syz-executor248 Tainted: G W 6.1.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
__might_resched.cold+0x222/0x26b kernel/sched/core.c:9908
__getblk_gfp fs/buffer.c:1331 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1367
sb_bread include/linux/buffer_head.h:338 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x35b/0x9d0 fs/buffer.c:2271
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2407
do_read_cache_folio+0x1df/0x510 mm/filemap.c:3534
do_read_cache_page mm/filemap.c:3576 [inline]
read_cache_page+0x5d/0x170 mm/filemap.c:3585
read_mapping_page include/linux/pagemap.h:756 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x1eb/0x4b0 fs/sysv/dir.c:146
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_hash+0x117/0x180 fs/namei.c:1601
filename_create+0x1d6/0x4a0 fs/namei.c:3808
do_mkdirat+0x9d/0x310 fs/namei.c:4051
__do_sys_mkdir fs/namei.c:4081 [inline]
__se_sys_mkdir fs/namei.c:4079 [inline]
__x64_sys_mkdir+0xf6/0x140 fs/namei.c:4079
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:0x7f6624ba9e97
Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 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:00007ffcf237e1a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00005555563a12c0 RCX: 00007f6624ba9e97
RDX: 00000000000d058c RSI: 00000000000001ff RDI: 0000000020001700
RBP: 00007ffcf237e240 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020001700 R14: ffffffffffffffff R15: 0000000000000000
BUG: sleeping function called from invalid context at include/linux/pagemap.h:937
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3628, name: syz-executor248
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
3 locks held by syz-executor248/3628:
#0: ffff88807e7e8460 (sb_writers#9){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3800
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3807
#2: ffffffff8c9640b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 3628 Comm: syz-executor248 Tainted: G W 6.1.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
__might_resched.cold+0x222/0x26b kernel/sched/core.c:9908
folio_lock include/linux/pagemap.h:937 [inline]
__filemap_get_folio+0x464/0xd90 mm/filemap.c:1931
pagecache_get_page+0x32/0x280 mm/folio-compat.c:110
find_or_create_page include/linux/pagemap.h:613 [inline]
grow_dev_page fs/buffer.c:946 [inline]
grow_buffers fs/buffer.c:1011 [inline]
__getblk_slow+0x1f4/0x1030 fs/buffer.c:1038
__getblk_gfp fs/buffer.c:1333 [inline]
__bread_gfp+0x22c/0x330 fs/buffer.c:1367
sb_bread include/linux/buffer_head.h:338 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x35b/0x9d0 fs/buffer.c:2271
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2407
do_read_cache_folio+0x1df/0x510 mm/filemap.c:3534
do_read_cache_page mm/filemap.c:3576 [inline]
read_cache_page+0x5d/0x170 mm/filemap.c:3585
read_mapping_page include/linux/pagemap.h:756 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x1eb/0x4b0 fs/sysv/dir.c:146
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_hash+0x117/0x180 fs/namei.c:1601
filename_create+0x1d6/0x4a0 fs/namei.c:3808
do_mkdirat+0x9d/0x310 fs/namei.c:4051
__do_sys_mkdir fs/namei.c:4081 [inline]
__se_sys_mkdir fs/namei.c:4079 [inline]
__x64_sys_mkdir+0xf6/0x140 fs/namei.c:4079
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:0x7f6624ba9e97
Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 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:00007ffcf237e1a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00005555563a12c0 RCX: 00007f6624ba9e97
RDX: 00000000000d058c RSI: 00000000000001ff RDI: 0000000020001700
RBP: 00007ffcf237e240 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020001700 R14: ffffffffffffffff R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1331
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3628, name: syz-executor248
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
3 locks held by syz-executor248/3628:
#0: ffff88807e7e8460 (sb_writers#9){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3800
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3807
#2: ffffffff8c9640b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 3628 Comm: syz-executor248 Tainted: G W 6.1.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
__might_resched.cold+0x222/0x26b kernel/sched/core.c:9908
__getblk_gfp fs/buffer.c:1331 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1367
sb_bread include/linux/buffer_head.h:338 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x35b/0x9d0 fs/buffer.c:2271
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2407
do_read_cache_folio+0x1df/0x510 mm/filemap.c:3534
do_read_cache_page mm/filemap.c:3576 [inline]
read_cache_page+0x5d/0x170 mm/filemap.c:3585
read_mapping_page include/linux/pagemap.h:756 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x1eb/0x4b0 fs/sysv/dir.c:146
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_hash+0x117/0x180 fs/namei.c:1601
filename_create+0x1d6/0x4a0 fs/namei.c:3808
do_mkdirat+0x9d/0x310 fs/namei.c:4051
__do_sys_mkdir fs/namei.c:4081 [inline]
__se_sys_mkdir fs/namei.c:4079 [inline]
__x64_sys_mkdir+0xf6/0x140 fs/namei.c:4079
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:0x7f6624ba9e97
Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 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:00007ffcf237e1a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00005555563a12c0 RCX: 00007f6624ba9e97
RDX: 00000000000d058c RSI: 00000000000001ff RDI: 0000000020001700
RBP: 00007ffcf237e240 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020001700 R14: ffffffffffffffff R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1331
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3628, name: syz-executor248
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
3 locks held by syz-executor248/3628:
#0: ffff88807e7e8460 (sb_writers#9){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3800
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3807
#2: ffffffff8c9640b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 3628 Comm: syz-executor248 Tainted: G W 6.1.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
__might_resched.cold+0x222/0x26b kernel/sched/core.c:9908
__getblk_gfp fs/buffer.c:1331 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1367
sb_bread include/linux/buffer_head.h:338 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x35b/0x9d0 fs/buffer.c:2271
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2407
do_read_cache_folio+0x1df/0x510 mm/filemap.c:3534
do_read_cache_page mm/filemap.c:3576 [inline]
read_cache_page+0x5d/0x170 mm/filemap.c:3585
read_mapping_page include/linux/pagemap.h:756 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x1eb/0x4b0 fs/sysv/dir.c:146
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_hash+0x117/0x180 fs/namei.c:1601
filename_create+0x1d6/0x4a0 fs/namei.c:3808
do_mkdirat+0x9d/0x310 fs/namei.c:4051
__do_sys_mkdir fs/namei.c:4081 [inline]
__se_sys_mkdir fs/namei.c:4079 [inline]
__x64_sys_mkdir+0xf6/0x140 fs/namei.c:4079
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:0x7f6624ba9e97
Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 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:00007ffcf237e1a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00005555563a12c0 RCX: 00007f6624ba9e97
RDX: 00000000000d058c RSI: 00000000000001ff RDI: 0000000020001700
RBP: 00007ffcf237e240 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020001700 R14: ffffffffffffffff R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1331
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3628, name: syz-executor248
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
3 locks held by syz-executor248/3628:
#0: ffff88807e7e8460 (sb_writers#9){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3800
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3807
#2: ffffffff8c9640b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 3628 Comm: syz-executor248 Tainted: G W 6.1.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
__might_resched.cold+0x222/0x26b kernel/sched/core.c:9908
__getblk_gfp fs/buffer.c:1331 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1367
sb_bread include/linux/buffer_head.h:338 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x35b/0x9d0 fs/buffer.c:2271
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2407
do_read_cache_folio+0x1df/0x510 mm/filemap.c:3534
do_read_cache_page mm/filemap.c:3576 [inline]
read_cache_page+0x5d/0x170 mm/filemap.c:3585
read_mapping_page include/linux/pagemap.h:756 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x1eb/0x4b0 fs/sysv/dir.c:146
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_hash+0x117/0x180 fs/namei.c:1601
filename_create+0x1d6/0x4a0 fs/namei.c:3808
do_mkdirat+0x9d/0x310 fs/namei.c:4051
__do_sys_mkdir fs/namei.c:4081 [inline]
__se_sys_mkdir fs/namei.c:4079 [inline]
__x64_sys_mkdir+0xf6/0x140 fs/namei.c:4079
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:0x7f6624ba9e97
Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 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:00007ffcf237e1a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00005555563a12c0 RCX: 00007f6624ba9e97
RDX: 00000000000d058c RSI: 00000000000001ff RDI: 0000000020001700
RBP: 00007ffcf237e240 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020001700 R14: ffffffffffffffff R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1331
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3628, name: syz-executor248
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
3 locks held by syz-executor248/3628:
#0: ffff88807e7e8460 (sb_writers#9){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3800
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3807
#2: ffffffff8c9640b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 3628 Comm: syz-executor248 Tainted: G W 6.1.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
__might_resched.cold+0x222/0x26b kernel/sched/core.c:9908
__getblk_gfp fs/buffer.c:1331 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1367
sb_bread include/linux/buffer_head.h:338 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x35b/0x9d0 fs/buffer.c:2271
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2407
do_read_cache_folio+0x1df/0x510 mm/filemap.c:3534
do_read_cache_page mm/filemap.c:3576 [inline]
read_cache_page+0x5d/0x170 mm/filemap.c:3585
read_mapping_page include/linux/pagemap.h:756 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x1eb/0x4b0 fs/sysv/dir.c:146
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_hash+0x117/0x180 fs/namei.c:1601
filename_create+0x1d6/0x4a0 fs/namei.c:3808
do_mkdirat+0x9d/0x310 fs/namei.c:4051
__do_sys_mkdir fs/namei.c:4081 [inline]
__se_sys_mkdir fs/namei.c:4079 [inline]
__x64_sys_mkdir+0xf6/0x140 fs/namei.c:4079
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:0x7f6624ba9e97
Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 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:00007ffcf237e1a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00005555563a12c0 RCX: 00007f6624ba9e97
RDX: 00000000000d058c RSI: 00000000000001ff RDI: 0000000020001700
RBP: 00007ffcf237e240 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020001700 R14: ffffffffffffffff R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1331
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3628, name: syz-executor248
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
3 locks held by syz-executor248/3628:
#0: ffff88807e7e8460 (sb_writers#9){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3800
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3807
#2: ffffffff8c9640b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 3628 Comm: syz-executor248 Tainted: G W 6.1.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
__might_resched.cold+0x222/0x26b kernel/sched/core.c:9908
__getblk_gfp fs/buffer.c:1331 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1367
sb_bread include/linux/buffer_head.h:338 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x35b/0x9d0 fs/buffer.c:2271
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2407
do_read_cache_folio+0x1df/0x510 mm/filemap.c:3534
do_read_cache_page mm/filemap.c:3576 [inline]
read_cache_page+0x5d/0x170 mm/filemap.c:3585
read_mapping_page include/linux/pagemap.h:756 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x1eb/0x4b0 fs/sysv/dir.c:146
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_hash+0x117/0x180 fs/namei.c:1601
filename_create+0x1d6/0x4a0 fs/namei.c:3808
do_mkdirat+0x9d/0x310 fs/namei.c:4051
__do_sys_mkdir fs/namei.c:4081 [inline]
__se_sys_mkdir fs/namei.c:4079 [inline]
__x64_sys_mkdir+0xf6/0x140 fs/namei.c:4079
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:0x7f6624ba9e97
Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 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:00007ffcf237e1a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00005555563a12c0 RCX: 00007f6624ba9e97
RDX: 00000000000d058c RSI: 00000000000001ff RDI: 0000000020001700
RBP: 00007ffcf237e240 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020001700 R14: ffffffffffffffff R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1331
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3628, name: syz-executor248
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
3 locks held by syz-executor248/3628:
#0: ffff88807e7e8460 (sb_writers#9){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3800
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3807
#2: ffffffff8c9640b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 0 PID: 3628 Comm: syz-executor248 Tainted: G W 6.1.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
__might_resched.cold+0x222/0x26b kernel/sched/core.c:9908
__getblk_gfp fs/buffer.c:1331 [inline]
__bread_gfp+0x40/0x330 fs/buffer.c:1367
sb_bread include/linux/buffer_head.h:338 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x35b/0x9d0 fs/buffer.c:2271
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2407
do_read_cache_folio+0x1df/0x510 mm/filemap.c:3534
do_read_cache_page mm/filemap.c:3576 [inline]
read_cache_page+0x5d/0x170 mm/filemap.c:3585
read_mapping_page include/linux/pagemap.h:756 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x1eb/0x4b0 fs/sysv/dir.c:146
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_hash+0x117/0x180 fs/namei.c:1601
filename_create+0x1d6/0x4a0 fs/namei.c:3808
do_mkdirat+0x9d/0x310 fs/namei.c:4051
__do_sys_mkdir fs/namei.c:4081 [inline]
__se_sys_mkdir fs/namei.c:4079 [inline]
__x64_sys_mkdir+0xf6/0x140 fs/namei.c:4079
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:0x7f6624ba9e97
Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 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:00007ffcf237e1a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00005555563a12c0 RCX: 00007f6624ba9e97
RDX: 00000000000d058c RSI: 00000000000001ff RDI: 0000000020001700
RBP: 00007ffcf237e240 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020001700 R14: ffffffffffffffff R15: 0000000000000000
BUG: sleeping function called from invalid context at include/linux/pagemap.h:937
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3628, name: syz-executor248
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
3 locks held by syz-executor248/3628:
#0: ffff88807e7e8460 (sb_writers#9){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3800
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888073c70188 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3807
#2: ffffffff8c9640b8 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 0 PID: 3628 Comm: syz-executor248 Tainted: G W 6.1.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
__might_resched.cold+0x222/0x26b kernel/sched/core.c:9908
folio_lock include/linux/pagemap.h:937 [inline]
__filemap_get_folio+0x464/0xd90 mm/filemap.c:1931
pagecache_get_page+0x32/0x280 mm/folio-compat.c:110
find_or_create_page include/linux/pagemap.h:613 [inline]
grow_dev_page fs/buffer.c:946 [inline]
grow_buffers fs/buffer.c:1011 [inline]
__getblk_slow+0x1f4/0x1030 fs/buffer.c:1038
__getblk_gfp fs/buffer.c:1333 [inline]
__bread_gfp+0x22c/0x330 fs/buffer.c:1367
sb_bread include/linux/buffer_head.h:338 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x188/0x1580 fs/sysv/itree.c:218
block_read_full_folio+0x35b/0x9d0 fs/buffer.c:2271
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2407
do_read_cache_folio+0x1df/0x510 mm/filemap.c:3534
do_read_cache_page mm/filemap.c:3576 [inline]
read_cache_page+0x5d/0x170 mm/filemap.c:3585
read_mapping_page include/linux/pagemap.h:756 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x1eb/0x4b0 fs/sysv/dir.c:146
sysv_inode_by_name+0x74/0x1c0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:38 [inline]
sysv_lookup+0x80/0x100 fs/sysv/namei.c:31
__lookup_hash+0x117/0x180 fs/namei.c:1601
filename_create+0x1d6/0x4a0 fs/namei.c:3808
do_mkdirat+0x9d/0x310 fs/namei.c:4051
__do_sys_mkdir fs/namei.c:4081 [inline]
__se_sys_mkdir fs/namei.c:4079 [inline]
__x64_sys_mkdir+0xf6/0x140 fs/namei.c:4079
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:0x7f6624ba9e97
Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 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:00007ffcf237e1a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00005555563a12c0 RCX: 00007f6624ba9e97
RDX: 00000000000d058c RSI: 00000000000001ff RDI: 0000000020001700
RBP: 00007ffcf237e240 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020001700 R14: ffffffffffffffff R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1331
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3628, name: syz-executor248
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
3 locks held by syz-executor248/3628:
#0: ffff88807e7e8460 (sb_writers#9){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3800