loop6: detected capacity change from 0 to 1024 EXT4-fs (loop6): mounted filesystem without journal. Quota mode: none. EXT4-fs error (device loop6): ext4_update_inline_data:358: inode #15: comm syz.6.1226: missing inline data xattr ================================================================== BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0xaf2/0x21d0 fs/ext4/xattr.c:1708 Read of size 18446744073709551600 at addr ffff888132942eb8 by task syz.6.1226/4992 CPU: 1 PID: 4992 Comm: syz.6.1226 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 print_address_description+0x71/0x200 mm/kasan/report.c:316 print_report+0x4a/0x60 mm/kasan/report.c:420 kasan_report+0x122/0x150 mm/kasan/report.c:524 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x249/0x2a0 mm/kasan/generic.c:189 memmove+0x2d/0x70 mm/kasan/shadow.c:54 ext4_xattr_set_entry+0xaf2/0x21d0 fs/ext4/xattr.c:1708 ext4_xattr_ibody_set+0x24e/0x6c0 fs/ext4/xattr.c:2215 ext4_destroy_inline_data_nolock+0x234/0x5d0 fs/ext4/inline.c:468 ext4_convert_inline_data_to_extent fs/ext4/inline.c:620 [inline] ext4_try_to_write_inline_data+0x75a/0x12e0 fs/ext4/inline.c:761 ext4_write_begin+0x1f0/0xf90 fs/ext4/inode.c:1207 ext4_da_write_begin+0x3e7/0x8c0 fs/ext4/inode.c:3003 generic_perform_write+0x32d/0x740 mm/filemap.c:3914 ext4_buffered_write_iter+0x367/0x630 fs/ext4/file.c:285 ext4_file_write_iter+0x191/0x1500 fs/ext4/file.c:-1 call_write_iter include/linux/fs.h:2282 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x603/0xce0 fs/read_write.c:584 ksys_pwrite64 fs/read_write.c:699 [inline] __do_sys_pwrite64 fs/read_write.c:709 [inline] __se_sys_pwrite64 fs/read_write.c:706 [inline] __x64_sys_pwrite64+0x197/0x220 fs/read_write.c:706 x64_sys_call+0x36/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:19 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f6536b9ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f65379fb028 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007f6536e15fa0 RCX: 00007f6536b9ce59 RDX: 0000000000000001 RSI: 0000200000000140 RDI: 0000000000000006 RBP: 00007f6536c32d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000008080c61 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6536e16038 R14: 00007f6536e15fa0 R15: 00007ffe696bf218 The buggy address belongs to the physical page: page:ffffea0004ca5080 refcount:3 mapcount:1 mapping:ffff88810b712b50 index:0x4 pfn:0x132942 memcg:ffff888100238000 aops:def_blk_aops ino:700006 flags: 0x560000000002205e(referenced|uptodate|dirty|lru|workingset|private|mappedtodisk|zone=1) raw: 560000000002205e ffffea0004625a88 ffffea0004b577c8 ffff88810b712b50 raw: 0000000000000004 ffff888117353348 0000000300000000 ffff888100238000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x152c40(GFP_NOFS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_HARDWALL), pid 347, tgid 347 (udevd), ts 215759371479, free_ts 215751225200 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2672 prep_new_page+0x1c/0x110 mm/page_alloc.c:2679 get_page_from_freelist+0x2d12/0x2d80 mm/page_alloc.c:4585 __alloc_pages+0x1fa/0x610 mm/page_alloc.c:5929 __folio_alloc+0x12/0x40 mm/page_alloc.c:5962 __folio_alloc_node include/linux/gfp.h:245 [inline] folio_alloc include/linux/gfp.h:274 [inline] filemap_alloc_folio include/linux/pagemap.h:515 [inline] page_cache_ra_unbounded+0x256/0x850 mm/readahead.c:260 do_page_cache_ra mm/readahead.c:313 [inline] force_page_cache_ra mm/readahead.c:344 [inline] page_cache_sync_ra+0x3e3/0x490 mm/readahead.c:735 page_cache_sync_readahead include/linux/pagemap.h:1259 [inline] filemap_get_pages mm/filemap.c:2693 [inline] filemap_read+0x69c/0x2480 mm/filemap.c:2788 blkdev_read_iter+0x426/0x560 block/fops.c:668 call_read_iter include/linux/fs.h:2276 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x454/0x910 fs/read_write.c:470 ksys_read+0x149/0x250 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __x64_sys_read+0x7b/0x90 fs/read_write.c:621 x64_sys_call+0x2f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:1 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1580 [inline] free_pcp_prepare mm/page_alloc.c:1654 [inline] free_unref_page_prepare+0x7f8/0x800 mm/page_alloc.c:3620 free_unref_page+0x95/0x540 mm/page_alloc.c:3718 free_the_page mm/page_alloc.c:863 [inline] __free_pages+0x67/0x100 mm/page_alloc.c:6019 __free_slab+0xca/0x1a0 mm/slub.c:2044 free_slab mm/slub.c:2059 [inline] discard_slab+0x29/0x40 mm/slub.c:2065 __slab_free+0x201/0x280 mm/slub.c:3625 do_slab_free mm/slub.c:3666 [inline] ___cache_free+0xbf/0xd0 mm/slub.c:3722 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0xc6/0x140 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x14a/0x170 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x24/0x80 mm/kasan/common.c:311 kasan_slab_alloc include/linux/kasan.h:202 [inline] slab_post_alloc_hook+0x4f/0x2d0 mm/slab.h:768 slab_alloc_node mm/slub.c:3382 [inline] slab_alloc mm/slub.c:3392 [inline] __kmem_cache_alloc_lru mm/slub.c:3399 [inline] kmem_cache_alloc+0x16e/0x330 mm/slub.c:3408 getname_flags+0xb9/0x500 fs/namei.c:139 getname+0x19/0x20 fs/namei.c:218 do_sys_openat2+0xeb/0x810 fs/open.c:1337 do_sys_open fs/open.c:1359 [inline] __do_sys_openat fs/open.c:1375 [inline] __se_sys_openat fs/open.c:1370 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1370 Memory state around the buggy address: ffff888132942d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888132942e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888132942e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff888132942f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888132942f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== EXT4-fs error (device loop6): ext4_read_block_bitmap_nowait:477: comm syz.6.1226: Invalid block bitmap block 0 in block_group 0