EXT4-fs (loop1): mounted filesystem without journal. Quota mode: none. ================================================================== BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0xaf2/0x21d0 fs/ext4/xattr.c:1708 Read of size 18446744073709551600 at addr ffff8881464eb2fc by task syz.1.2016/6441 CPU: 1 PID: 6441 Comm: syz.1.2016 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/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_nolock+0x3c0/0x9e0 fs/ext4/inline.c:1250 ext4_convert_inline_data+0x4b9/0x5f0 fs/ext4/inline.c:2119 ext4_fallocate+0xfd/0x1dc0 fs/ext4/extents.c:4761 vfs_fallocate+0x4c5/0x5a0 fs/open.c:324 ioctl_preallocate fs/ioctl.c:290 [inline] file_ioctl fs/ioctl.c:333 [inline] do_vfs_ioctl+0x19cb/0x1cd0 fs/ioctl.c:849 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl+0x9f/0x1b0 fs/ioctl.c:856 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856 x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17 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:0x7feac1f9c819 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:00007feac2e4f028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007feac2215fa0 RCX: 00007feac1f9c819 RDX: 0000200000000240 RSI: 0000000040305829 RDI: 0000000000000005 RBP: 00007feac2032c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007feac2216038 R14: 00007feac2215fa0 R15: 00007ffd45308f08 The buggy address belongs to the physical page: page:ffffea0005193ac0 refcount:3 mapcount:1 mapping:ffff88810b2fb2d0 index:0x2 pfn:0x1464eb memcg:ffff8881135da700 aops:def_blk_aops ino:700001 flags: 0x560000000002205e(referenced|uptodate|dirty|lru|workingset|private|mappedtodisk|zone=1) raw: 560000000002205e ffffea000497c7c8 ffff8881135d6cd0 ffff88810b2fb2d0 raw: 0000000000000002 ffff888139e17930 0000000300000000 ffff8881135da700 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Movable, gfp_mask 0x148c48(GFP_NOFS|__GFP_NOFAIL|__GFP_COMP|__GFP_HARDWALL|__GFP_MOVABLE), pid 6441, tgid 6439 (syz.1.2016), ts 285361261560, free_ts 285162308712 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:5926 __folio_alloc+0x12/0x40 mm/page_alloc.c:5959 __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] __filemap_get_folio+0x6ee/0xa60 mm/filemap.c:2019 pagecache_get_page+0x2b/0x110 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:656 [inline] grow_dev_page fs/buffer.c:989 [inline] grow_buffers fs/buffer.c:1054 [inline] __getblk_slow fs/buffer.c:1081 [inline] __getblk_gfp+0x217/0x7d0 fs/buffer.c:1376 sb_getblk include/linux/buffer_head.h:356 [inline] __ext4_get_inode_loc+0x481/0xdf0 fs/ext4/inode.c:4520 __ext4_get_inode_loc_noinmem fs/ext4/inode.c:4633 [inline] __ext4_iget+0x448/0x3e40 fs/ext4/inode.c:4880 ext4_orphan_get+0x1d1/0x620 fs/ext4/ialloc.c:1399 ext4_orphan_cleanup+0x9cd/0x1220 fs/ext4/orphan.c:465 __ext4_fill_super fs/ext4/super.c:5543 [inline] ext4_fill_super+0x7050/0x7590 fs/ext4/super.c:5674 get_tree_bdev+0x447/0x690 fs/super.c:1371 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5704 vfs_get_tree+0x9a/0x270 fs/super.c:1578 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_list+0x117/0x8c0 mm/page_alloc.c:3771 release_pages+0xc93/0xcf0 mm/swap.c:1048 free_pages_and_swap_cache+0x86/0xa0 mm/swap_state.c:316 tlb_batch_pages_flush mm/mmu_gather.c:59 [inline] tlb_flush_mmu_free mm/mmu_gather.c:254 [inline] tlb_flush_mmu+0x107/0x1f0 mm/mmu_gather.c:261 zap_pte_range mm/memory.c:1550 [inline] zap_pmd_range mm/memory.c:1599 [inline] zap_pud_range mm/memory.c:1628 [inline] zap_p4d_range mm/memory.c:1649 [inline] unmap_page_range+0x20d2/0x2330 mm/memory.c:1670 unmap_single_vma mm/memory.c:1716 [inline] unmap_vmas+0x34c/0x480 mm/memory.c:1756 exit_mmap+0x29b/0xc10 mm/mmap.c:3371 __mmput+0x93/0x360 kernel/fork.c:1319 mmput+0x4b/0x150 kernel/fork.c:1343 exit_mm kernel/exit.c:568 [inline] do_exit+0x994/0x2660 kernel/exit.c:873 do_group_exit+0x210/0x2d0 kernel/exit.c:1028 get_signal+0x13b5/0x1520 kernel/signal.c:2891 arch_do_signal_or_restart+0xd1/0x1140 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x7a/0xb0 kernel/entry/common.c:174 exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210 Memory state around the buggy address: ffff8881464eb180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881464eb200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881464eb280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff8881464eb300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881464eb380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== EXT4-fs error (device loop1): ext4_validate_block_bitmap:438: comm syz.1.2016: bg 0: block 3072: padding at end of block bitmap is not set