Buffer I/O error on dev loop0, logical block 13466417, async page read attempt to access beyond end of device loop0: rw=0, want=8073606, 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:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 9760, name: syz-executor.0 3 locks held by syz-executor.0/9760: netlink: 12 bytes leftover after parsing attributes in process `syz-executor.5'. #0: 000000002c108e73 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000002c108e73 (sb_writers#15){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 #2: 000000009fde8366 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 9760 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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_open+0x698/0x1a20 fs/namei.c:3214 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5215d790f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f52142eb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5215e98f80 RCX: 00007f5215d790f9 RDX: 0000000000000241 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f5215dd4ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec445510f R14: 00007f52142eb300 R15: 0000000000022000 attempt to access beyond end of device loop0: rw=0, want=3245519, limit=128 Buffer I/O error on dev loop0, logical block 3245518, async page read attempt to access beyond end of device loop0: rw=0, want=8769404, limit=128 Buffer I/O error on dev loop0, logical block 8769403, async page read netlink: 12 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.5'. ntfs: volume version 3.1. BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 9760, name: syz-executor.0 3 locks held by syz-executor.0/9760: #0: 000000002c108e73 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000002c108e73 (sb_writers#15){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 #2: 000000009fde8366 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 9760 Comm: syz-executor.0 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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_open+0x698/0x1a20 fs/namei.c:3214 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5215d790f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f52142eb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5215e98f80 RCX: 00007f5215d790f9 RDX: 0000000000000241 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f5215dd4ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec445510f R14: 00007f52142eb300 R15: 0000000000022000 BUG: sleeping function called from invalid context at include/linux/pagemap.h:482 in_atomic(): 1, irqs_disabled(): 0, pid: 9760, name: syz-executor.0 3 locks held by syz-executor.0/9760: #0: 000000002c108e73 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000002c108e73 (sb_writers#15){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 #2: 000000009fde8366 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 9760 Comm: syz-executor.0 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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_open+0x698/0x1a20 fs/namei.c:3214 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5215d790f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f52142eb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5215e98f80 RCX: 00007f5215d790f9 RDX: 0000000000000241 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f5215dd4ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec445510f R14: 00007f52142eb300 R15: 0000000000022000 IPVS: ftp: loaded support on port[0] = 21 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 9760, name: syz-executor.0 3 locks held by syz-executor.0/9760: #0: 000000002c108e73 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000002c108e73 (sb_writers#15){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 #2: 000000009fde8366 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 9760 Comm: syz-executor.0 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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_open+0x698/0x1a20 fs/namei.c:3214 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5215d790f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f52142eb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5215e98f80 RCX: 00007f5215d790f9 RDX: 0000000000000241 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f5215dd4ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec445510f R14: 00007f52142eb300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 9760, name: syz-executor.0 3 locks held by syz-executor.0/9760: #0: 000000002c108e73 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000002c108e73 (sb_writers#15){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 #2: 000000009fde8366 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 9760 Comm: syz-executor.0 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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_open+0x698/0x1a20 fs/namei.c:3214 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5215d790f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f52142eb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5215e98f80 RCX: 00007f5215d790f9 RDX: 0000000000000241 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f5215dd4ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec445510f R14: 00007f52142eb300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 9760, name: syz-executor.0 3 locks held by syz-executor.0/9760: #0: 000000002c108e73 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000002c108e73 (sb_writers#15){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 #2: 000000009fde8366 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 9760 Comm: syz-executor.0 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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_open+0x698/0x1a20 fs/namei.c:3214 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5215d790f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f52142eb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5215e98f80 RCX: 00007f5215d790f9 RDX: 0000000000000241 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f5215dd4ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec445510f R14: 00007f52142eb300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 9760, name: syz-executor.0 3 locks held by syz-executor.0/9760: #0: 000000002c108e73 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000002c108e73 (sb_writers#15){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 #2: 000000009fde8366 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 9760 Comm: syz-executor.0 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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_open+0x698/0x1a20 fs/namei.c:3214 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5215d790f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f52142eb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5215e98f80 RCX: 00007f5215d790f9 RDX: 0000000000000241 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f5215dd4ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec445510f R14: 00007f52142eb300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 9760, name: syz-executor.0 3 locks held by syz-executor.0/9760: #0: 000000002c108e73 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000002c108e73 (sb_writers#15){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 #2: 000000009fde8366 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 9760 Comm: syz-executor.0 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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_open+0x698/0x1a20 fs/namei.c:3214 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5215d790f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f52142eb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5215e98f80 RCX: 00007f5215d790f9 RDX: 0000000000000241 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f5215dd4ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec445510f R14: 00007f52142eb300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 9760, name: syz-executor.0 3 locks held by syz-executor.0/9760: #0: 000000002c108e73 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000002c108e73 (sb_writers#15){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 #2: 000000009fde8366 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 9760 Comm: syz-executor.0 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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_open+0x698/0x1a20 fs/namei.c:3214 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5215d790f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f52142eb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5215e98f80 RCX: 00007f5215d790f9 RDX: 0000000000000241 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f5215dd4ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec445510f R14: 00007f52142eb300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 9760, name: syz-executor.0 3 locks held by syz-executor.0/9760: #0: 000000002c108e73 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000002c108e73 (sb_writers#15){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 #2: 000000009fde8366 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 9760 Comm: syz-executor.0 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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_open+0x698/0x1a20 fs/namei.c:3214 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5215d790f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f52142eb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5215e98f80 RCX: 00007f5215d790f9 RDX: 0000000000000241 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f5215dd4ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec445510f R14: 00007f52142eb300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 9760, name: syz-executor.0 3 locks held by syz-executor.0/9760: #0: 000000002c108e73 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000002c108e73 (sb_writers#15){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000033052fd8 (&type->i_mutex_dir_key#8){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 #2: 000000009fde8366 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: