Buffer I/O error on dev loop0, logical block 13466417, async page read attempt to access beyond end of device BTRFS: device fsid d552757d-9c39-40e3-95f0-16d819589928 devid 1 transid 8 /dev/loop2 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:1381 in_atomic(): 1, irqs_disabled(): 0, pid: 9698, name: syz-executor.0 3 locks held by syz-executor.0/9698: #0: (acct_on_mutex){+.+.}, at: [] SYSC_acct kernel/acct.c:285 [inline] #0: (acct_on_mutex){+.+.}, at: [] SyS_acct+0x65/0x850 kernel/acct.c:273 #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] inode_lock_shared include/linux/fs.h:729 [inline] #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] lookup_slow+0x129/0x400 fs/namei.c:1674 BTRFS: device fsid 24c7a497-3402-47dd-bef8-82358f5f30e0 #2: (pointers_lock){.+.+}, at: [] get_block+0x153/0x1230 fs/sysv/itree.c:217 Preemption disabled at: [< (null)>] (null) CPU: 0 PID: 9698 Comm: syz-executor.0 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6041 __getblk_gfp fs/buffer.c:1381 [inline] __bread_gfp+0x3e/0x2e0 fs/buffer.c:1428 sb_bread include/linux/buffer_head.h:343 [inline] get_branch+0x2ac/0x600 fs/sysv/itree.c:104 get_block+0x176/0x1230 fs/sysv/itree.c:218 block_read_full_page+0x25e/0x8d0 fs/buffer.c:2316 devid 1 transid 8 /dev/loop3 do_read_cache_page+0x38e/0xc10 mm/filemap.c:2713 read_mapping_page include/linux/pagemap.h:398 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x20d/0x610 fs/sysv/dir.c:146 sysv_inode_by_name+0x5b/0x330 fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x64/0xe0 fs/sysv/namei.c:46 lookup_slow+0x20a/0x400 fs/namei.c:1696 walk_component+0x6a1/0xbc0 fs/namei.c:1825 link_path_walk+0x823/0x10a0 fs/namei.c:2154 path_openat+0x15e/0x2970 fs/namei.c:3570 do_filp_open+0x179/0x3c0 fs/namei.c:3605 file_open_name+0x1d2/0x280 fs/open.c:1008 acct_on kernel/acct.c:207 [inline] SYSC_acct kernel/acct.c:286 [inline] SyS_acct+0xcb/0x850 kernel/acct.c:273 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f36857be0a9 RSP: 002b:00007f3683d30168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 00007f36858ddf80 RCX: 00007f36857be0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f3685819ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9ec08bff R14: 00007f3683d30300 R15: 0000000000022000 BTRFS info (device loop3): unrecognized mount option 'ref_verify' BTRFS error (device loop2): unsupported checksum algorithm 2 attempt to access beyond end of device loop0: rw=0, want=6491550, limit=128 BTRFS error (device loop2): superblock checksum mismatch 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 BTRFS error (device loop3): open_ctree failed BTRFS error (device loop2): open_ctree failed BUG: sleeping function called from invalid context at fs/buffer.c:1381 in_atomic(): 1, irqs_disabled(): 0, pid: 9698, name: syz-executor.0 3 locks held by syz-executor.0/9698: #0: (acct_on_mutex){+.+.}, at: [] SYSC_acct kernel/acct.c:285 [inline] #0: (acct_on_mutex){+.+.}, at: [] SyS_acct+0x65/0x850 kernel/acct.c:273 #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] inode_lock_shared include/linux/fs.h:729 [inline] #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] lookup_slow+0x129/0x400 fs/namei.c:1674 #2: (pointers_lock){.+.+}, at: [] get_block+0x153/0x1230 fs/sysv/itree.c:217 Preemption disabled at: [< (null)>] (null) CPU: 1 PID: 9698 Comm: syz-executor.0 Tainted: G W 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6041 __getblk_gfp fs/buffer.c:1381 [inline] __bread_gfp+0x3e/0x2e0 fs/buffer.c:1428 sb_bread include/linux/buffer_head.h:343 [inline] get_branch+0x2ac/0x600 fs/sysv/itree.c:104 get_block+0x176/0x1230 fs/sysv/itree.c:218 block_read_full_page+0x25e/0x8d0 fs/buffer.c:2316 do_read_cache_page+0x38e/0xc10 mm/filemap.c:2713 read_mapping_page include/linux/pagemap.h:398 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x20d/0x610 fs/sysv/dir.c:146 sysv_inode_by_name+0x5b/0x330 fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x64/0xe0 fs/sysv/namei.c:46 lookup_slow+0x20a/0x400 fs/namei.c:1696 walk_component+0x6a1/0xbc0 fs/namei.c:1825 link_path_walk+0x823/0x10a0 fs/namei.c:2154 path_openat+0x15e/0x2970 fs/namei.c:3570 do_filp_open+0x179/0x3c0 fs/namei.c:3605 file_open_name+0x1d2/0x280 fs/open.c:1008 acct_on kernel/acct.c:207 [inline] SYSC_acct kernel/acct.c:286 [inline] SyS_acct+0xcb/0x850 kernel/acct.c:273 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f36857be0a9 RSP: 002b:00007f3683d30168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 00007f36858ddf80 RCX: 00007f36857be0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f3685819ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9ec08bff R14: 00007f3683d30300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1381 in_atomic(): 1, irqs_disabled(): 0, pid: 9698, name: syz-executor.0 3 locks held by syz-executor.0/9698: #0: (acct_on_mutex){+.+.}, at: [] SYSC_acct kernel/acct.c:285 [inline] #0: (acct_on_mutex){+.+.}, at: [] SyS_acct+0x65/0x850 kernel/acct.c:273 #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] inode_lock_shared include/linux/fs.h:729 [inline] #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] lookup_slow+0x129/0x400 fs/namei.c:1674 #2: (pointers_lock){.+.+}, at: [] get_block+0x153/0x1230 fs/sysv/itree.c:217 Preemption disabled at: [< (null)>] (null) CPU: 0 PID: 9698 Comm: syz-executor.0 Tainted: G W 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6041 __getblk_gfp fs/buffer.c:1381 [inline] __bread_gfp+0x3e/0x2e0 fs/buffer.c:1428 sb_bread include/linux/buffer_head.h:343 [inline] get_branch+0x2ac/0x600 fs/sysv/itree.c:104 get_block+0x176/0x1230 fs/sysv/itree.c:218 block_read_full_page+0x25e/0x8d0 fs/buffer.c:2316 do_read_cache_page+0x38e/0xc10 mm/filemap.c:2713 read_mapping_page include/linux/pagemap.h:398 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x20d/0x610 fs/sysv/dir.c:146 sysv_inode_by_name+0x5b/0x330 fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x64/0xe0 fs/sysv/namei.c:46 lookup_slow+0x20a/0x400 fs/namei.c:1696 walk_component+0x6a1/0xbc0 fs/namei.c:1825 link_path_walk+0x823/0x10a0 fs/namei.c:2154 path_openat+0x15e/0x2970 fs/namei.c:3570 do_filp_open+0x179/0x3c0 fs/namei.c:3605 file_open_name+0x1d2/0x280 fs/open.c:1008 acct_on kernel/acct.c:207 [inline] SYSC_acct kernel/acct.c:286 [inline] SyS_acct+0xcb/0x850 kernel/acct.c:273 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f36857be0a9 RSP: 002b:00007f3683d30168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 00007f36858ddf80 RCX: 00007f36857be0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f3685819ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9ec08bff R14: 00007f3683d30300 R15: 0000000000022000 BUG: sleeping function called from invalid context at include/linux/pagemap.h:478 in_atomic(): 1, irqs_disabled(): 0, pid: 9698, name: syz-executor.0 3 locks held by syz-executor.0/9698: #0: (acct_on_mutex){+.+.}, at: [] SYSC_acct kernel/acct.c:285 [inline] #0: (acct_on_mutex){+.+.}, at: [] SyS_acct+0x65/0x850 kernel/acct.c:273 #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] inode_lock_shared include/linux/fs.h:729 [inline] #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] lookup_slow+0x129/0x400 fs/namei.c:1674 #2: (pointers_lock){.+.+}, at: [] get_block+0x153/0x1230 fs/sysv/itree.c:217 Preemption disabled at: [< (null)>] (null) CPU: 0 PID: 9698 Comm: syz-executor.0 Tainted: G W 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6041 lock_page include/linux/pagemap.h:478 [inline] pagecache_get_page+0x427/0xab0 mm/filemap.c:1478 find_or_create_page include/linux/pagemap.h:326 [inline] grow_dev_page fs/buffer.c:1004 [inline] grow_buffers fs/buffer.c:1077 [inline] __getblk_slow+0x1dd/0x7a0 fs/buffer.c:1104 __getblk_gfp fs/buffer.c:1383 [inline] __bread_gfp+0x206/0x2e0 fs/buffer.c:1428 sb_bread include/linux/buffer_head.h:343 [inline] get_branch+0x2ac/0x600 fs/sysv/itree.c:104 get_block+0x176/0x1230 fs/sysv/itree.c:218 block_read_full_page+0x25e/0x8d0 fs/buffer.c:2316 do_read_cache_page+0x38e/0xc10 mm/filemap.c:2713 read_mapping_page include/linux/pagemap.h:398 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x20d/0x610 fs/sysv/dir.c:146 sysv_inode_by_name+0x5b/0x330 fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x64/0xe0 fs/sysv/namei.c:46 lookup_slow+0x20a/0x400 fs/namei.c:1696 walk_component+0x6a1/0xbc0 fs/namei.c:1825 link_path_walk+0x823/0x10a0 fs/namei.c:2154 path_openat+0x15e/0x2970 fs/namei.c:3570 do_filp_open+0x179/0x3c0 fs/namei.c:3605 file_open_name+0x1d2/0x280 fs/open.c:1008 acct_on kernel/acct.c:207 [inline] SYSC_acct kernel/acct.c:286 [inline] SyS_acct+0xcb/0x850 kernel/acct.c:273 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f36857be0a9 RSP: 002b:00007f3683d30168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 00007f36858ddf80 RCX: 00007f36857be0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f3685819ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9ec08bff R14: 00007f3683d30300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1381 in_atomic(): 1, irqs_disabled(): 0, pid: 9698, name: syz-executor.0 3 locks held by syz-executor.0/9698: #0: (acct_on_mutex){+.+.}, at: [] SYSC_acct kernel/acct.c:285 [inline] #0: (acct_on_mutex){+.+.}, at: [] SyS_acct+0x65/0x850 kernel/acct.c:273 #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] inode_lock_shared include/linux/fs.h:729 [inline] #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] lookup_slow+0x129/0x400 fs/namei.c:1674 #2: (pointers_lock){.+.+}, at: [] get_block+0x153/0x1230 fs/sysv/itree.c:217 Preemption disabled at: [< (null)>] (null) CPU: 0 PID: 9698 Comm: syz-executor.0 Tainted: G W 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6041 __getblk_gfp fs/buffer.c:1381 [inline] __bread_gfp+0x3e/0x2e0 fs/buffer.c:1428 sb_bread include/linux/buffer_head.h:343 [inline] get_branch+0x2ac/0x600 fs/sysv/itree.c:104 get_block+0x176/0x1230 fs/sysv/itree.c:218 block_read_full_page+0x25e/0x8d0 fs/buffer.c:2316 do_read_cache_page+0x38e/0xc10 mm/filemap.c:2713 read_mapping_page include/linux/pagemap.h:398 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x20d/0x610 fs/sysv/dir.c:146 sysv_inode_by_name+0x5b/0x330 fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x64/0xe0 fs/sysv/namei.c:46 lookup_slow+0x20a/0x400 fs/namei.c:1696 walk_component+0x6a1/0xbc0 fs/namei.c:1825 link_path_walk+0x823/0x10a0 fs/namei.c:2154 path_openat+0x15e/0x2970 fs/namei.c:3570 do_filp_open+0x179/0x3c0 fs/namei.c:3605 file_open_name+0x1d2/0x280 fs/open.c:1008 acct_on kernel/acct.c:207 [inline] SYSC_acct kernel/acct.c:286 [inline] SyS_acct+0xcb/0x850 kernel/acct.c:273 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f36857be0a9 RSP: 002b:00007f3683d30168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 00007f36858ddf80 RCX: 00007f36857be0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f3685819ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9ec08bff R14: 00007f3683d30300 R15: 0000000000022000 unregister_netdevice: waiting for ip6gre0 to become free. Usage count = -1 BUG: sleeping function called from invalid context at fs/buffer.c:1381 in_atomic(): 1, irqs_disabled(): 0, pid: 9698, name: syz-executor.0 3 locks held by syz-executor.0/9698: #0: (acct_on_mutex){+.+.}, at: [] SYSC_acct kernel/acct.c:285 [inline] #0: (acct_on_mutex){+.+.}, at: [] SyS_acct+0x65/0x850 kernel/acct.c:273 #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] inode_lock_shared include/linux/fs.h:729 [inline] #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] lookup_slow+0x129/0x400 fs/namei.c:1674 #2: (pointers_lock){.+.+}, at: [] get_block+0x153/0x1230 fs/sysv/itree.c:217 Preemption disabled at: [< (null)>] (null) CPU: 1 PID: 9698 Comm: syz-executor.0 Tainted: G W 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6041 __getblk_gfp fs/buffer.c:1381 [inline] __bread_gfp+0x3e/0x2e0 fs/buffer.c:1428 sb_bread include/linux/buffer_head.h:343 [inline] get_branch+0x2ac/0x600 fs/sysv/itree.c:104 get_block+0x176/0x1230 fs/sysv/itree.c:218 block_read_full_page+0x25e/0x8d0 fs/buffer.c:2316 do_read_cache_page+0x38e/0xc10 mm/filemap.c:2713 read_mapping_page include/linux/pagemap.h:398 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x20d/0x610 fs/sysv/dir.c:146 sysv_inode_by_name+0x5b/0x330 fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x64/0xe0 fs/sysv/namei.c:46 lookup_slow+0x20a/0x400 fs/namei.c:1696 walk_component+0x6a1/0xbc0 fs/namei.c:1825 link_path_walk+0x823/0x10a0 fs/namei.c:2154 path_openat+0x15e/0x2970 fs/namei.c:3570 do_filp_open+0x179/0x3c0 fs/namei.c:3605 file_open_name+0x1d2/0x280 fs/open.c:1008 acct_on kernel/acct.c:207 [inline] SYSC_acct kernel/acct.c:286 [inline] SyS_acct+0xcb/0x850 kernel/acct.c:273 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f36857be0a9 RSP: 002b:00007f3683d30168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 00007f36858ddf80 RCX: 00007f36857be0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f3685819ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9ec08bff R14: 00007f3683d30300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1381 in_atomic(): 1, irqs_disabled(): 0, pid: 9698, name: syz-executor.0 3 locks held by syz-executor.0/9698: #0: (acct_on_mutex){+.+.}, at: [] SYSC_acct kernel/acct.c:285 [inline] #0: (acct_on_mutex){+.+.}, at: [] SyS_acct+0x65/0x850 kernel/acct.c:273 #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] inode_lock_shared include/linux/fs.h:729 [inline] #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] lookup_slow+0x129/0x400 fs/namei.c:1674 #2: (pointers_lock){.+.+}, at: [] get_block+0x153/0x1230 fs/sysv/itree.c:217 Preemption disabled at: [< (null)>] (null) CPU: 1 PID: 9698 Comm: syz-executor.0 Tainted: G W 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6041 __getblk_gfp fs/buffer.c:1381 [inline] __bread_gfp+0x3e/0x2e0 fs/buffer.c:1428 sb_bread include/linux/buffer_head.h:343 [inline] get_branch+0x2ac/0x600 fs/sysv/itree.c:104 get_block+0x176/0x1230 fs/sysv/itree.c:218 block_read_full_page+0x25e/0x8d0 fs/buffer.c:2316 do_read_cache_page+0x38e/0xc10 mm/filemap.c:2713 read_mapping_page include/linux/pagemap.h:398 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x20d/0x610 fs/sysv/dir.c:146 sysv_inode_by_name+0x5b/0x330 fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x64/0xe0 fs/sysv/namei.c:46 lookup_slow+0x20a/0x400 fs/namei.c:1696 walk_component+0x6a1/0xbc0 fs/namei.c:1825 link_path_walk+0x823/0x10a0 fs/namei.c:2154 path_openat+0x15e/0x2970 fs/namei.c:3570 do_filp_open+0x179/0x3c0 fs/namei.c:3605 file_open_name+0x1d2/0x280 fs/open.c:1008 acct_on kernel/acct.c:207 [inline] SYSC_acct kernel/acct.c:286 [inline] SyS_acct+0xcb/0x850 kernel/acct.c:273 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f36857be0a9 RSP: 002b:00007f3683d30168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 00007f36858ddf80 RCX: 00007f36857be0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f3685819ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9ec08bff R14: 00007f3683d30300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1381 in_atomic(): 1, irqs_disabled(): 0, pid: 9698, name: syz-executor.0 3 locks held by syz-executor.0/9698: #0: (acct_on_mutex){+.+.}, at: [] SYSC_acct kernel/acct.c:285 [inline] #0: (acct_on_mutex){+.+.}, at: [] SyS_acct+0x65/0x850 kernel/acct.c:273 #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] inode_lock_shared include/linux/fs.h:729 [inline] #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] lookup_slow+0x129/0x400 fs/namei.c:1674 #2: (pointers_lock){.+.+}, at: [] get_block+0x153/0x1230 fs/sysv/itree.c:217 Preemption disabled at: [< (null)>] (null) CPU: 1 PID: 9698 Comm: syz-executor.0 Tainted: G W 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6041 __getblk_gfp fs/buffer.c:1381 [inline] __bread_gfp+0x3e/0x2e0 fs/buffer.c:1428 sb_bread include/linux/buffer_head.h:343 [inline] get_branch+0x2ac/0x600 fs/sysv/itree.c:104 get_block+0x176/0x1230 fs/sysv/itree.c:218 block_read_full_page+0x25e/0x8d0 fs/buffer.c:2316 do_read_cache_page+0x38e/0xc10 mm/filemap.c:2713 read_mapping_page include/linux/pagemap.h:398 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x20d/0x610 fs/sysv/dir.c:146 sysv_inode_by_name+0x5b/0x330 fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x64/0xe0 fs/sysv/namei.c:46 lookup_slow+0x20a/0x400 fs/namei.c:1696 walk_component+0x6a1/0xbc0 fs/namei.c:1825 link_path_walk+0x823/0x10a0 fs/namei.c:2154 path_openat+0x15e/0x2970 fs/namei.c:3570 do_filp_open+0x179/0x3c0 fs/namei.c:3605 file_open_name+0x1d2/0x280 fs/open.c:1008 acct_on kernel/acct.c:207 [inline] SYSC_acct kernel/acct.c:286 [inline] SyS_acct+0xcb/0x850 kernel/acct.c:273 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f36857be0a9 RSP: 002b:00007f3683d30168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 00007f36858ddf80 RCX: 00007f36857be0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f3685819ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9ec08bff R14: 00007f3683d30300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1381 in_atomic(): 1, irqs_disabled(): 0, pid: 9698, name: syz-executor.0 3 locks held by syz-executor.0/9698: #0: (acct_on_mutex){+.+.}, at: [] SYSC_acct kernel/acct.c:285 [inline] #0: (acct_on_mutex){+.+.}, at: [] SyS_acct+0x65/0x850 kernel/acct.c:273 #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] inode_lock_shared include/linux/fs.h:729 [inline] #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] lookup_slow+0x129/0x400 fs/namei.c:1674 #2: (pointers_lock){.+.+}, at: [] get_block+0x153/0x1230 fs/sysv/itree.c:217 Preemption disabled at: [< (null)>] (null) CPU: 1 PID: 9698 Comm: syz-executor.0 Tainted: G W 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6041 __getblk_gfp fs/buffer.c:1381 [inline] __bread_gfp+0x3e/0x2e0 fs/buffer.c:1428 sb_bread include/linux/buffer_head.h:343 [inline] get_branch+0x2ac/0x600 fs/sysv/itree.c:104 get_block+0x176/0x1230 fs/sysv/itree.c:218 block_read_full_page+0x25e/0x8d0 fs/buffer.c:2316 do_read_cache_page+0x38e/0xc10 mm/filemap.c:2713 read_mapping_page include/linux/pagemap.h:398 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x20d/0x610 fs/sysv/dir.c:146 sysv_inode_by_name+0x5b/0x330 fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x64/0xe0 fs/sysv/namei.c:46 lookup_slow+0x20a/0x400 fs/namei.c:1696 walk_component+0x6a1/0xbc0 fs/namei.c:1825 link_path_walk+0x823/0x10a0 fs/namei.c:2154 path_openat+0x15e/0x2970 fs/namei.c:3570 do_filp_open+0x179/0x3c0 fs/namei.c:3605 file_open_name+0x1d2/0x280 fs/open.c:1008 acct_on kernel/acct.c:207 [inline] SYSC_acct kernel/acct.c:286 [inline] SyS_acct+0xcb/0x850 kernel/acct.c:273 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f36857be0a9 RSP: 002b:00007f3683d30168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 00007f36858ddf80 RCX: 00007f36857be0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f3685819ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9ec08bff R14: 00007f3683d30300 R15: 0000000000022000 BUG: sleeping function called from invalid context at fs/buffer.c:1381 in_atomic(): 1, irqs_disabled(): 0, pid: 9698, name: syz-executor.0 3 locks held by syz-executor.0/9698: #0: (acct_on_mutex){+.+.}, at: [] SYSC_acct kernel/acct.c:285 [inline] #0: (acct_on_mutex){+.+.}, at: [] SyS_acct+0x65/0x850 kernel/acct.c:273 #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] inode_lock_shared include/linux/fs.h:729 [inline] #1: (&type->i_mutex_dir_key#9){.+.+}, at: [] lookup_slow+0x129/0x400 fs/namei.c:1674 #2: (pointers_lock){.+.+}, at: [] get_block+0x153/0x1230 fs/sysv/itree.c:217 Preemption disabled at: [< (null)>] (null) CPU: 0 PID: 9698 Comm: syz-executor.0 Tainted: G W 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6041 __getblk_gfp fs/buffer.c:1381 [inline] __bread_gfp+0x3e/0x2e0 fs/buffer.c:1428 sb_bread include/linux/buffer_head.h:343 [inline] get_branch+0x2ac/0x600 fs/sysv/itree.c:104 get_block+0x176/0x1230 fs/sysv/itree.c:218 block_read_full_page+0x25e/0x8d0 fs/buffer.c:2316 do_read_cache_page+0x38e/0xc10 mm/filemap.c:2713 read_mapping_page include/linux/pagemap.h:398 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x20d/0x610 fs/sysv/dir.c:146 sysv_inode_by_name+0x5b/0x330 fs/sysv/dir.c:360 sysv_lookup fs/sysv/namei.c:53 [inline] sysv_lookup+0x64/0xe0 fs/sysv/namei.c:46 lookup_slow+0x20a/0x400 fs/namei.c:1696 walk_component+0x6a1/0xbc0 fs/namei.c:1825 link_path_walk+0x823/0x10a0 fs/namei.c:2154 path_openat+0x15e/0x2970 fs/namei.c:3570 do_filp_open+0x179/0x3c0 fs/namei.c:3605 file_open_name+0x1d2/0x280 fs/open.c:1008 acct_on kernel/acct.c:207 [inline] SYSC_acct kernel/acct.c:286 [inline] SyS_acct+0xcb/0x850 kernel/acct.c:273 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f36857be0a9 RSP: 002b:00007f3683d30168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 00007f36858ddf80 RCX: 00007f36857be0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f3685819ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9ec08bff R14: 00007f3683d30300 R15: 0000000000022000