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:1319
in_atomic(): 1, irqs_disabled(): 0, pid: 8121, name: syz-executor162
2 locks held by syz-executor162/8121:
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline]
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638
#1: 00000000c1f1ae44 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] (null)
CPU: 1 PID: 8121 Comm: syz-executor162 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192
__getblk_gfp fs/buffer.c:1319 [inline]
__bread_gfp+0x3f/0x300 fs/buffer.c:1366
sb_bread include/linux/buffer_head.h:309 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x194/0x1510 fs/sysv/itree.c:218
block_read_full_page+0x288/0xd10 fs/buffer.c:2259
do_read_cache_page+0x533/0x1170 mm/filemap.c:2828
read_mapping_page include/linux/pagemap.h:402 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x21a/0x6f0 fs/sysv/dir.c:146
sysv_inode_by_name+0x6d/0x3d0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:53 [inline]
sysv_lookup+0x7c/0x100 fs/sysv/namei.c:46
__lookup_hash+0x117/0x180 fs/namei.c:1547
filename_create+0x186/0x490 fs/namei.c:3639
user_path_create fs/namei.c:3696 [inline]
do_mkdirat+0xa0/0x2d0 fs/namei.c:3834
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f766f081b47
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:00007ffdb7164c78 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000555555c122c0 RCX: 00007f766f081b47
RDX: 00000000018084a1 RSI: 00000000000001ff RDI: 0000000020000080
RBP: 00007ffdb7164d00 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020000080 R14: 0000000020000140 R15: 0000000000000000
attempt to access beyond end of device
loop0: rw=0, want=6491550, limit=128
Buffer I/O error on dev loop0, logical block 3245774, async page read
attempt to access beyond end of device
loop0: rw=0, want=17669880, limit=128
Buffer I/O error on dev loop0, logical block 8834939, async page read
BUG: sleeping function called from invalid context at fs/buffer.c:1319
in_atomic(): 1, irqs_disabled(): 0, pid: 8121, name: syz-executor162
2 locks held by syz-executor162/8121:
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline]
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638
#1: 00000000c1f1ae44 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] (null)
CPU: 1 PID: 8121 Comm: syz-executor162 Tainted: G W 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192
__getblk_gfp fs/buffer.c:1319 [inline]
__bread_gfp+0x3f/0x300 fs/buffer.c:1366
sb_bread include/linux/buffer_head.h:309 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x194/0x1510 fs/sysv/itree.c:218
block_read_full_page+0x288/0xd10 fs/buffer.c:2259
do_read_cache_page+0x533/0x1170 mm/filemap.c:2828
read_mapping_page include/linux/pagemap.h:402 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x21a/0x6f0 fs/sysv/dir.c:146
sysv_inode_by_name+0x6d/0x3d0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:53 [inline]
sysv_lookup+0x7c/0x100 fs/sysv/namei.c:46
__lookup_hash+0x117/0x180 fs/namei.c:1547
filename_create+0x186/0x490 fs/namei.c:3639
user_path_create fs/namei.c:3696 [inline]
do_mkdirat+0xa0/0x2d0 fs/namei.c:3834
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f766f081b47
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:00007ffdb7164c78 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000555555c122c0 RCX: 00007f766f081b47
RDX: 00000000018084a1 RSI: 00000000000001ff RDI: 0000000020000080
RBP: 00007ffdb7164d00 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020000080 R14: 0000000020000140 R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1319
in_atomic(): 1, irqs_disabled(): 0, pid: 8121, name: syz-executor162
2 locks held by syz-executor162/8121:
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline]
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638
#1: 00000000c1f1ae44 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] (null)
CPU: 1 PID: 8121 Comm: syz-executor162 Tainted: G W 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192
__getblk_gfp fs/buffer.c:1319 [inline]
__bread_gfp+0x3f/0x300 fs/buffer.c:1366
sb_bread include/linux/buffer_head.h:309 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x194/0x1510 fs/sysv/itree.c:218
block_read_full_page+0x288/0xd10 fs/buffer.c:2259
do_read_cache_page+0x533/0x1170 mm/filemap.c:2828
read_mapping_page include/linux/pagemap.h:402 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x21a/0x6f0 fs/sysv/dir.c:146
sysv_inode_by_name+0x6d/0x3d0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:53 [inline]
sysv_lookup+0x7c/0x100 fs/sysv/namei.c:46
__lookup_hash+0x117/0x180 fs/namei.c:1547
filename_create+0x186/0x490 fs/namei.c:3639
user_path_create fs/namei.c:3696 [inline]
do_mkdirat+0xa0/0x2d0 fs/namei.c:3834
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f766f081b47
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:00007ffdb7164c78 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000555555c122c0 RCX: 00007f766f081b47
RDX: 00000000018084a1 RSI: 00000000000001ff RDI: 0000000020000080
RBP: 00007ffdb7164d00 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020000080 R14: 0000000020000140 R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1319
in_atomic(): 1, irqs_disabled(): 0, pid: 8121, name: syz-executor162
2 locks held by syz-executor162/8121:
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline]
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638
#1: 00000000c1f1ae44 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] (null)
CPU: 1 PID: 8121 Comm: syz-executor162 Tainted: G W 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192
__getblk_gfp fs/buffer.c:1319 [inline]
__bread_gfp+0x3f/0x300 fs/buffer.c:1366
sb_bread include/linux/buffer_head.h:309 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x194/0x1510 fs/sysv/itree.c:218
block_read_full_page+0x288/0xd10 fs/buffer.c:2259
do_read_cache_page+0x533/0x1170 mm/filemap.c:2828
read_mapping_page include/linux/pagemap.h:402 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x21a/0x6f0 fs/sysv/dir.c:146
sysv_inode_by_name+0x6d/0x3d0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:53 [inline]
sysv_lookup+0x7c/0x100 fs/sysv/namei.c:46
__lookup_hash+0x117/0x180 fs/namei.c:1547
filename_create+0x186/0x490 fs/namei.c:3639
user_path_create fs/namei.c:3696 [inline]
do_mkdirat+0xa0/0x2d0 fs/namei.c:3834
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f766f081b47
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:00007ffdb7164c78 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000555555c122c0 RCX: 00007f766f081b47
RDX: 00000000018084a1 RSI: 00000000000001ff RDI: 0000000020000080
RBP: 00007ffdb7164d00 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020000080 R14: 0000000020000140 R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1319
in_atomic(): 1, irqs_disabled(): 0, pid: 8121, name: syz-executor162
2 locks held by syz-executor162/8121:
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline]
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638
#1: 00000000c1f1ae44 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] (null)
CPU: 1 PID: 8121 Comm: syz-executor162 Tainted: G W 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192
__getblk_gfp fs/buffer.c:1319 [inline]
__bread_gfp+0x3f/0x300 fs/buffer.c:1366
sb_bread include/linux/buffer_head.h:309 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x194/0x1510 fs/sysv/itree.c:218
block_read_full_page+0x288/0xd10 fs/buffer.c:2259
do_read_cache_page+0x533/0x1170 mm/filemap.c:2828
read_mapping_page include/linux/pagemap.h:402 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x21a/0x6f0 fs/sysv/dir.c:146
sysv_inode_by_name+0x6d/0x3d0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:53 [inline]
sysv_lookup+0x7c/0x100 fs/sysv/namei.c:46
__lookup_hash+0x117/0x180 fs/namei.c:1547
filename_create+0x186/0x490 fs/namei.c:3639
user_path_create fs/namei.c:3696 [inline]
do_mkdirat+0xa0/0x2d0 fs/namei.c:3834
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f766f081b47
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:00007ffdb7164c78 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000555555c122c0 RCX: 00007f766f081b47
RDX: 00000000018084a1 RSI: 00000000000001ff RDI: 0000000020000080
RBP: 00007ffdb7164d00 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020000080 R14: 0000000020000140 R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1319
in_atomic(): 1, irqs_disabled(): 0, pid: 8121, name: syz-executor162
2 locks held by syz-executor162/8121:
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline]
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638
#1: 00000000c1f1ae44 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] (null)
CPU: 1 PID: 8121 Comm: syz-executor162 Tainted: G W 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192
__getblk_gfp fs/buffer.c:1319 [inline]
__bread_gfp+0x3f/0x300 fs/buffer.c:1366
sb_bread include/linux/buffer_head.h:309 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x194/0x1510 fs/sysv/itree.c:218
block_read_full_page+0x288/0xd10 fs/buffer.c:2259
do_read_cache_page+0x533/0x1170 mm/filemap.c:2828
read_mapping_page include/linux/pagemap.h:402 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x21a/0x6f0 fs/sysv/dir.c:146
sysv_inode_by_name+0x6d/0x3d0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:53 [inline]
sysv_lookup+0x7c/0x100 fs/sysv/namei.c:46
__lookup_hash+0x117/0x180 fs/namei.c:1547
filename_create+0x186/0x490 fs/namei.c:3639
user_path_create fs/namei.c:3696 [inline]
do_mkdirat+0xa0/0x2d0 fs/namei.c:3834
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f766f081b47
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:00007ffdb7164c78 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000555555c122c0 RCX: 00007f766f081b47
RDX: 00000000018084a1 RSI: 00000000000001ff RDI: 0000000020000080
RBP: 00007ffdb7164d00 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020000080 R14: 0000000020000140 R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1319
in_atomic(): 1, irqs_disabled(): 0, pid: 8121, name: syz-executor162
2 locks held by syz-executor162/8121:
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline]
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638
#1: 00000000c1f1ae44 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] (null)
CPU: 1 PID: 8121 Comm: syz-executor162 Tainted: G W 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192
__getblk_gfp fs/buffer.c:1319 [inline]
__bread_gfp+0x3f/0x300 fs/buffer.c:1366
sb_bread include/linux/buffer_head.h:309 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x194/0x1510 fs/sysv/itree.c:218
block_read_full_page+0x288/0xd10 fs/buffer.c:2259
do_read_cache_page+0x533/0x1170 mm/filemap.c:2828
read_mapping_page include/linux/pagemap.h:402 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x21a/0x6f0 fs/sysv/dir.c:146
sysv_inode_by_name+0x6d/0x3d0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:53 [inline]
sysv_lookup+0x7c/0x100 fs/sysv/namei.c:46
__lookup_hash+0x117/0x180 fs/namei.c:1547
filename_create+0x186/0x490 fs/namei.c:3639
user_path_create fs/namei.c:3696 [inline]
do_mkdirat+0xa0/0x2d0 fs/namei.c:3834
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f766f081b47
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:00007ffdb7164c78 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000555555c122c0 RCX: 00007f766f081b47
RDX: 00000000018084a1 RSI: 00000000000001ff RDI: 0000000020000080
RBP: 00007ffdb7164d00 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020000080 R14: 0000000020000140 R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1319
in_atomic(): 1, irqs_disabled(): 0, pid: 8121, name: syz-executor162
2 locks held by syz-executor162/8121:
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline]
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638
#1: 00000000c1f1ae44 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] (null)
CPU: 1 PID: 8121 Comm: syz-executor162 Tainted: G W 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192
__getblk_gfp fs/buffer.c:1319 [inline]
__bread_gfp+0x3f/0x300 fs/buffer.c:1366
sb_bread include/linux/buffer_head.h:309 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x194/0x1510 fs/sysv/itree.c:218
block_read_full_page+0x288/0xd10 fs/buffer.c:2259
do_read_cache_page+0x533/0x1170 mm/filemap.c:2828
read_mapping_page include/linux/pagemap.h:402 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x21a/0x6f0 fs/sysv/dir.c:146
sysv_inode_by_name+0x6d/0x3d0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:53 [inline]
sysv_lookup+0x7c/0x100 fs/sysv/namei.c:46
__lookup_hash+0x117/0x180 fs/namei.c:1547
filename_create+0x186/0x490 fs/namei.c:3639
user_path_create fs/namei.c:3696 [inline]
do_mkdirat+0xa0/0x2d0 fs/namei.c:3834
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f766f081b47
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:00007ffdb7164c78 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000555555c122c0 RCX: 00007f766f081b47
RDX: 00000000018084a1 RSI: 00000000000001ff RDI: 0000000020000080
RBP: 00007ffdb7164d00 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020000080 R14: 0000000020000140 R15: 0000000000000000
BUG: sleeping function called from invalid context at fs/buffer.c:1319
in_atomic(): 1, irqs_disabled(): 0, pid: 8121, name: syz-executor162
2 locks held by syz-executor162/8121:
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline]
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638
#1: 00000000c1f1ae44 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] (null)
CPU: 1 PID: 8121 Comm: syz-executor162 Tainted: G W 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192
__getblk_gfp fs/buffer.c:1319 [inline]
__bread_gfp+0x3f/0x300 fs/buffer.c:1366
sb_bread include/linux/buffer_head.h:309 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x194/0x1510 fs/sysv/itree.c:218
block_read_full_page+0x288/0xd10 fs/buffer.c:2259
do_read_cache_page+0x533/0x1170 mm/filemap.c:2828
read_mapping_page include/linux/pagemap.h:402 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x21a/0x6f0 fs/sysv/dir.c:146
sysv_inode_by_name+0x6d/0x3d0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:53 [inline]
sysv_lookup+0x7c/0x100 fs/sysv/namei.c:46
__lookup_hash+0x117/0x180 fs/namei.c:1547
filename_create+0x186/0x490 fs/namei.c:3639
user_path_create fs/namei.c:3696 [inline]
do_mkdirat+0xa0/0x2d0 fs/namei.c:3834
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f766f081b47
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:00007ffdb7164c78 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000555555c122c0 RCX: 00007f766f081b47
RDX: 00000000018084a1 RSI: 00000000000001ff RDI: 0000000020000080
RBP: 00007ffdb7164d00 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020000080 R14: 0000000020000140 R15: 0000000000000000
BUG: sleeping function called from invalid context at include/linux/pagemap.h:482
in_atomic(): 1, irqs_disabled(): 0, pid: 8121, name: syz-executor162
2 locks held by syz-executor162/8121:
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline]
#0: 0000000030ac6a00 (&type->i_mutex_dir_key#7/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638
#1: 00000000c1f1ae44 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217
Preemption disabled at:
[<0000000000000000>] (null)
CPU: 1 PID: 8121 Comm: syz-executor162 Tainted: G W 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192
lock_page include/linux/pagemap.h:482 [inline]
pagecache_get_page+0x5f2/0xd50 mm/filemap.c:1577
find_or_create_page include/linux/pagemap.h:322 [inline]
grow_dev_page fs/buffer.c:948 [inline]
grow_buffers fs/buffer.c:1017 [inline]
__getblk_slow+0x216/0x9e0 fs/buffer.c:1044
__getblk_gfp fs/buffer.c:1321 [inline]
__bread_gfp+0x218/0x300 fs/buffer.c:1366
sb_bread include/linux/buffer_head.h:309 [inline]
get_branch+0x2cd/0x640 fs/sysv/itree.c:104
get_block+0x194/0x1510 fs/sysv/itree.c:218
block_read_full_page+0x288/0xd10 fs/buffer.c:2259
do_read_cache_page+0x533/0x1170 mm/filemap.c:2828
read_mapping_page include/linux/pagemap.h:402 [inline]
dir_get_page fs/sysv/dir.c:58 [inline]
sysv_find_entry+0x21a/0x6f0 fs/sysv/dir.c:146
sysv_inode_by_name+0x6d/0x3d0 fs/sysv/dir.c:360
sysv_lookup fs/sysv/namei.c:53 [inline]
sysv_lookup+0x7c/0x100 fs/sysv/namei.c:46
__lookup_hash+0x117/0x180 fs/namei.c:1547
filename_create+0x186/0x490 fs/namei.c:3639
user_path_create fs/namei.c:3696 [inline]
do_mkdirat+0xa0/0x2d0 fs/namei.c:3834
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f766f081b47
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:00007ffdb7164c78 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000555555c122c0 RCX: 00007f766f081b47
RDX: 00000000018084a1 RSI: 00000000000001ff RDI: 0000000020000080
RBP: 00007ffdb7164d00 R08: 0000000000000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
R13: 0000000020000080 R14: 0000000020000140 R15: 0000000000000000