================================================================== BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0x1326/0x3860 fs/ext4/xattr.c:1729 Read of size 18446744073709551600 at addr ffff888126c276b8 by task syz.5.364/1876 CPU: 0 PID: 1876 Comm: syz.5.364 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:77 dump_stack_lvl+0x1a7/0x208 lib/dump_stack.c:118 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report+0xe2/0x130 mm/kasan/report.c:452 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+0x1326/0x3860 fs/ext4/xattr.c:1729 ext4_xattr_ibody_set+0x122/0x360 fs/ext4/xattr.c:2229 ext4_destroy_inline_data_nolock+0x20f/0x5e0 fs/ext4/inline.c:464 ext4_convert_inline_data_nolock+0x3bb/0xcd0 fs/ext4/inline.c:1258 ext4_convert_inline_data+0x4b9/0x5f0 fs/ext4/inline.c:2075 ext4_fallocate+0xf8/0x1a70 fs/ext4/extents.c:4758 vfs_fallocate+0x4b4/0x590 fs/open.c:310 ksys_fallocate fs/open.c:333 [inline] __do_sys_fallocate fs/open.c:341 [inline] __se_sys_fallocate fs/open.c:339 [inline] __x64_sys_fallocate+0xc0/0x110 fs/open.c:339 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fd285ee8819 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:00007fd284943028 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fd286161fa0 RCX: 00007fd285ee8819 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007fd285f7ec91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000008800000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd286162038 R14: 00007fd286161fa0 R15: 00007ffec2711738 The buggy address belongs to the page: page:ffffea00049b09c0 refcount:6 mapcount:1 mapping:ffff888109198b10 index:0xd pfn:0x126c27 aops:def_blk_aops ino:0 flags: 0x4000000000022014(uptodate|lru|private|mappedtodisk) raw: 4000000000022014 ffffea0004506bc8 ffffea000446a2c8 ffff888109198b10 raw: 000000000000000d ffff88811b072930 0000000600000000 ffff88812dbf8000 page dumped because: kasan: bad access detected page->mem_cgroup:ffff88812dbf8000 page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112cc0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY), pid 1876, ts 73657176028, free_ts 73158280913 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page+0x179/0x180 mm/page_alloc.c:2462 get_page_from_freelist+0x223b/0x23d0 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x290/0x620 mm/page_alloc.c:5384 __alloc_pages include/linux/gfp.h:544 [inline] __alloc_pages_node include/linux/gfp.h:557 [inline] alloc_pages_node include/linux/gfp.h:571 [inline] alloc_pages include/linux/gfp.h:590 [inline] __page_cache_alloc include/linux/pagemap.h:290 [inline] page_cache_ra_unbounded+0x2dc/0x7e0 mm/readahead.c:226 do_page_cache_ra+0xf2/0x110 mm/readahead.c:277 do_sync_mmap_readahead mm/filemap.c:2668 [inline] filemap_fault+0x1211/0x20d0 mm/filemap.c:2811 __do_fault mm/memory.c:4064 [inline] do_read_fault mm/memory.c:4399 [inline] do_fault mm/memory.c:4527 [inline] handle_pte_fault+0x1fa5/0x3750 mm/memory.c:4791 __handle_mm_fault mm/memory.c:4944 [inline] handle_mm_fault+0xf81/0x1710 mm/memory.c:5358 faultin_page mm/gup.c:902 [inline] __get_user_pages+0xbf8/0x1400 mm/gup.c:1121 populate_vma_page_range mm/gup.c:1454 [inline] __mm_populate+0x34f/0x440 mm/gup.c:1502 mm_populate include/linux/mm.h:2793 [inline] vm_mmap_pgoff+0x254/0x370 mm/util.c:548 ksys_mmap_pgoff+0x16f/0x1e0 mm/mmap.c:1712 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:95 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __x64_sys_mmap+0xfa/0x110 arch/x86/kernel/sys_x86_64.c:86 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb page last free stack trace: reset_page_owner include/linux/page_owner.h:28 [inline] free_pages_prepare mm/page_alloc.c:1349 [inline] free_pcp_prepare mm/page_alloc.c:1421 [inline] free_unref_page_prepare+0x2b7/0x2d0 mm/page_alloc.c:3336 free_unref_page_list+0x129/0x9c0 mm/page_alloc.c:3443 release_pages+0xe52/0xea0 mm/swap.c:1103 __pagevec_release+0x71/0xe0 mm/swap.c:1123 pagevec_release include/linux/pagevec.h:88 [inline] truncate_inode_pages_range+0x819/0x16d0 mm/truncate.c:367 truncate_inode_pages+0x24/0x30 mm/truncate.c:473 kill_bdev fs/block_dev.c:86 [inline] __blkdev_put+0x337/0x7c0 fs/block_dev.c:1795 blkdev_put+0x2d6/0x3c0 fs/block_dev.c:1863 kill_block_super+0xb8/0xf0 fs/super.c:1472 kill_f2fs_super+0x303/0x3b0 fs/f2fs/super.c:4630 deactivate_locked_super+0xa0/0x100 fs/super.c:335 deactivate_super+0xaf/0xe0 fs/super.c:366 cleanup_mnt+0x45b/0x510 fs/namespace.c:1123 __cleanup_mnt+0x19/0x20 fs/namespace.c:1130 task_work_run+0x127/0x190 kernel/task_work.c:189 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop+0xcb/0xe0 kernel/entry/common.c:172 Memory state around the buggy address: ffff888126c27580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888126c27600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888126c27680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff888126c27700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888126c27780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== EXT4-fs error (device loop5): ext4_validate_block_bitmap:429: comm syz.5.364: bg 0: block 4: invalid block bitmap