loop0: detected capacity change from 2048 to 0 attempt to access beyond end of device loop0: rw=0, want=576460752303423532, limit=2048 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6028 at include/linux/backing-dev.h:283 inode_to_wb include/linux/backing-dev.h:283 [inline] WARNING: CPU: 0 PID: 6028 at include/linux/backing-dev.h:283 account_page_dirtied+0x5b8/0x7e0 mm/page-writeback.c:2430 Modules linked in: CPU: 0 PID: 6028 Comm: syz-executor.0 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:inode_to_wb include/linux/backing-dev.h:283 [inline] RIP: 0010:account_page_dirtied+0x5b8/0x7e0 mm/page-writeback.c:2430 Code: c1 ea 03 80 3c 02 00 0f 85 11 02 00 00 49 8b 85 a8 01 00 00 be ff ff ff ff 48 8d 78 70 e8 20 70 a0 06 85 c0 0f 85 fc fb ff ff <0f> 0b e9 f5 fb ff ff 48 89 ee 4c 89 ef e8 86 07 2c 00 e9 a9 fb ff RSP: 0018:ffffc90001c07180 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff888146374000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff888ad5a0 RDI: ffffffff88ddad60 RBP: ffffea00009ad540 R08: 0000000000000001 R09: ffff88802ff00497 R10: ffffed1005fe0092 R11: 0000000000000001 R12: ffff88802ff00490 R13: ffff88802ff002e8 R14: ffff88802ff00138 R15: ffffea00009ad548 FS: 00007f9e7f6ca700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000c380 CR3: 0000000015982000 CR4: 0000000000350ef0 Call Trace: __set_page_dirty+0x62/0x2a0 fs/buffer.c:608 mark_buffer_dirty+0x2c2/0x3e0 fs/buffer.c:1137 nilfs_btree_do_insert fs/nilfs2/btree.c:811 [inline] nilfs_btree_do_insert+0x284/0x3d0 fs/nilfs2/btree.c:798 nilfs_btree_commit_insert fs/nilfs2/btree.c:1212 [inline] nilfs_btree_insert+0xc6d/0x1970 fs/nilfs2/btree.c:1240 nilfs_bmap_do_insert fs/nilfs2/bmap.c:121 [inline] nilfs_bmap_insert+0x221/0x390 fs/nilfs2/bmap.c:147 nilfs_mdt_insert_new_block fs/nilfs2/mdt.c:44 [inline] nilfs_mdt_create_block fs/nilfs2/mdt.c:93 [inline] nilfs_mdt_get_block+0x492/0xaa0 fs/nilfs2/mdt.c:254 nilfs_palloc_get_block+0x99/0x270 fs/nilfs2/alloc.c:216 nilfs_palloc_get_desc_block+0xfb/0x1a0 fs/nilfs2/alloc.c:265 nilfs_palloc_prepare_alloc_entry+0x1aa/0x8c0 fs/nilfs2/alloc.c:524 nilfs_dat_prepare_alloc+0x12/0x80 fs/nilfs2/dat.c:65 nilfs_bmap_prepare_alloc_ptr fs/nilfs2/bmap.h:183 [inline] nilfs_direct_insert+0x311/0x410 fs/nilfs2/direct.c:122 nilfs_bmap_do_insert fs/nilfs2/bmap.c:121 [inline] nilfs_bmap_insert+0x221/0x390 fs/nilfs2/bmap.c:147 nilfs_get_block+0x2cf/0x930 fs/nilfs2/inode.c:97 __block_write_begin_int+0x324/0x11a0 fs/buffer.c:2011 __block_write_begin fs/buffer.c:2061 [inline] block_write_begin+0x3f/0x220 fs/buffer.c:2120 nilfs_write_begin+0x8e/0x190 fs/nilfs2/inode.c:259 __page_symlink+0x123/0x1b0 fs/namei.c:4654 nilfs_symlink+0x1e9/0x350 fs/nilfs2/namei.c:152 vfs_symlink fs/namei.c:3962 [inline] vfs_symlink+0x385/0x590 fs/namei.c:3948 do_symlinkat+0x1c3/0x210 fs/namei.c:3989 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f9e803575a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007f9e7f6ca168 EFLAGS: 00000246 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 00007f9e80477f80 RCX: 00007f9e803575a9 RDX: 0000000020000780 RSI: 0000000000000003 RDI: 00000000200001c0 RBP: 00007f9e803b27b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd606d728f R14: 00007f9e7f6ca300 R15: 0000000000022000