audit: type=1800 audit(1674844743.020:31): pid=11339 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.1" name="bus" dev="sda1" ino=14068 res=0 attempt to access beyond end of device loop3: rw=0, want=16147214, limit=128 Buffer I/O error on dev loop3, 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: 11285, name: syz-executor.3 2 locks held by syz-executor.3/11285: #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: lookup_slow fs/namei.c:1688 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: walk_component+0x798/0xda0 fs/namei.c:1811 #1: 0000000048ee6823 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 11285 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/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_slow+0x246/0x4a0 fs/namei.c:1672 lookup_slow fs/namei.c:1689 [inline] walk_component+0x7ac/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x95/0x190 fs/xattr.c:534 __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbb636de0c9 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:00007fbb61c50168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fbb637fdf80 RCX: 00007fbb636de0c9 RDX: 00000000200004c0 RSI: 0000000020000480 RDI: 0000000020000400 RBP: 00007fbb63739ae9 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe044f44f R14: 00007fbb61c50300 R15: 0000000000022000 attempt to access beyond end of device loop3: rw=0, want=6491550, limit=128 Buffer I/O error on dev loop3, logical block 3245774, async page read attempt to access beyond end of device loop3: rw=0, want=17669880, limit=128 Buffer I/O error on dev loop3, 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: 11285, name: syz-executor.3 2 locks held by syz-executor.3/11285: #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: lookup_slow fs/namei.c:1688 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: walk_component+0x798/0xda0 fs/namei.c:1811 #1: 0000000048ee6823 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 11285 Comm: syz-executor.3 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/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_slow+0x246/0x4a0 fs/namei.c:1672 lookup_slow fs/namei.c:1689 [inline] walk_component+0x7ac/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x95/0x190 fs/xattr.c:534 __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbb636de0c9 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:00007fbb61c50168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fbb637fdf80 RCX: 00007fbb636de0c9 RDX: 00000000200004c0 RSI: 0000000020000480 RDI: 0000000020000400 RBP: 00007fbb63739ae9 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe044f44f R14: 00007fbb61c50300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 11285, name: syz-executor.3 2 locks held by syz-executor.3/11285: #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: lookup_slow fs/namei.c:1688 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: walk_component+0x798/0xda0 fs/namei.c:1811 #1: 0000000048ee6823 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 11285 Comm: syz-executor.3 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/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_slow+0x246/0x4a0 fs/namei.c:1672 lookup_slow fs/namei.c:1689 [inline] walk_component+0x7ac/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x95/0x190 fs/xattr.c:534 __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbb636de0c9 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:00007fbb61c50168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fbb637fdf80 RCX: 00007fbb636de0c9 RDX: 00000000200004c0 RSI: 0000000020000480 RDI: 0000000020000400 RBP: 00007fbb63739ae9 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe044f44f R14: 00007fbb61c50300 R15: 0000000000022000 ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 11285, name: syz-executor.3 2 locks held by syz-executor.3/11285: #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: lookup_slow fs/namei.c:1688 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: walk_component+0x798/0xda0 fs/namei.c:1811 #1: 0000000048ee6823 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 11285 Comm: syz-executor.3 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/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_slow+0x246/0x4a0 fs/namei.c:1672 lookup_slow fs/namei.c:1689 [inline] walk_component+0x7ac/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x95/0x190 fs/xattr.c:534 __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbb636de0c9 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:00007fbb61c50168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fbb637fdf80 RCX: 00007fbb636de0c9 RDX: 00000000200004c0 RSI: 0000000020000480 RDI: 0000000020000400 RBP: 00007fbb63739ae9 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe044f44f R14: 00007fbb61c50300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 11285, name: syz-executor.3 2 locks held by syz-executor.3/11285: #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: lookup_slow fs/namei.c:1688 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: walk_component+0x798/0xda0 fs/namei.c:1811 #1: 0000000048ee6823 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 11285 Comm: syz-executor.3 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/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_slow+0x246/0x4a0 fs/namei.c:1672 lookup_slow fs/namei.c:1689 [inline] walk_component+0x7ac/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x95/0x190 fs/xattr.c:534 __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbb636de0c9 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:00007fbb61c50168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fbb637fdf80 RCX: 00007fbb636de0c9 RDX: 00000000200004c0 RSI: 0000000020000480 RDI: 0000000020000400 RBP: 00007fbb63739ae9 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe044f44f R14: 00007fbb61c50300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 11285, name: syz-executor.3 2 locks held by syz-executor.3/11285: #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: lookup_slow fs/namei.c:1688 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: walk_component+0x798/0xda0 fs/namei.c:1811 #1: 0000000048ee6823 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 11285 Comm: syz-executor.3 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/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_slow+0x246/0x4a0 fs/namei.c:1672 lookup_slow fs/namei.c:1689 [inline] walk_component+0x7ac/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x95/0x190 fs/xattr.c:534 __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbb636de0c9 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:00007fbb61c50168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fbb637fdf80 RCX: 00007fbb636de0c9 RDX: 00000000200004c0 RSI: 0000000020000480 RDI: 0000000020000400 RBP: 00007fbb63739ae9 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe044f44f R14: 00007fbb61c50300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 11285, name: syz-executor.3 2 locks held by syz-executor.3/11285: #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: lookup_slow fs/namei.c:1688 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: walk_component+0x798/0xda0 fs/namei.c:1811 #1: 0000000048ee6823 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 11285 Comm: syz-executor.3 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/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_slow+0x246/0x4a0 fs/namei.c:1672 lookup_slow fs/namei.c:1689 [inline] walk_component+0x7ac/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x95/0x190 fs/xattr.c:534 __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbb636de0c9 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:00007fbb61c50168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fbb637fdf80 RCX: 00007fbb636de0c9 RDX: 00000000200004c0 RSI: 0000000020000480 RDI: 0000000020000400 RBP: 00007fbb63739ae9 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe044f44f R14: 00007fbb61c50300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 11285, name: syz-executor.3 2 locks held by syz-executor.3/11285: #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: lookup_slow fs/namei.c:1688 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: walk_component+0x798/0xda0 fs/namei.c:1811 #1: 0000000048ee6823 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 11285 Comm: syz-executor.3 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/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_slow+0x246/0x4a0 fs/namei.c:1672 lookup_slow fs/namei.c:1689 [inline] walk_component+0x7ac/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x95/0x190 fs/xattr.c:534 __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbb636de0c9 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:00007fbb61c50168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fbb637fdf80 RCX: 00007fbb636de0c9 RDX: 00000000200004c0 RSI: 0000000020000480 RDI: 0000000020000400 RBP: 00007fbb63739ae9 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe044f44f R14: 00007fbb61c50300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 11285, name: syz-executor.3 2 locks held by syz-executor.3/11285: #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: lookup_slow fs/namei.c:1688 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: walk_component+0x798/0xda0 fs/namei.c:1811 #1: 0000000048ee6823 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 11285 Comm: syz-executor.3 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/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_slow+0x246/0x4a0 fs/namei.c:1672 lookup_slow fs/namei.c:1689 [inline] walk_component+0x7ac/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x95/0x190 fs/xattr.c:534 __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbb636de0c9 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:00007fbb61c50168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fbb637fdf80 RCX: 00007fbb636de0c9 RDX: 00000000200004c0 RSI: 0000000020000480 RDI: 0000000020000400 RBP: 00007fbb63739ae9 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe044f44f R14: 00007fbb61c50300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 11285, name: syz-executor.3 2 locks held by syz-executor.3/11285: #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: lookup_slow fs/namei.c:1688 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: walk_component+0x798/0xda0 fs/namei.c:1811 #1: 0000000048ee6823 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 11285 Comm: syz-executor.3 Tainted: G W 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/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_slow+0x246/0x4a0 fs/namei.c:1672 lookup_slow fs/namei.c:1689 [inline] walk_component+0x7ac/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x95/0x190 fs/xattr.c:534 __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbb636de0c9 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:00007fbb61c50168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fbb637fdf80 RCX: 00007fbb636de0c9 RDX: 00000000200004c0 RSI: 0000000020000480 RDI: 0000000020000400 RBP: 00007fbb63739ae9 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe044f44f R14: 00007fbb61c50300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 11285, name: syz-executor.3 2 locks held by syz-executor.3/11285: #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: lookup_slow fs/namei.c:1688 [inline] #0: 00000000de35ccd7 (&type->i_mutex_dir_key#11){.+.+}, at: walk_component+0x798/0xda0 fs/namei.c:1811 #1: 0000000048ee6823 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null)