EXT4-fs (loop0): 1 truncate cleaned up EXT4-fs (loop0): mounted filesystem without journal. Opts: debug_want_extra_isize=0x000000000000002e,lazytime,jqfmt=vfsv0,stripe=0x0000000000004000,errors=remount-ro,max_batch_time=0x0000000000000004, ================================================================== BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0x1159/0x3860 fs/ext4/xattr.c:1731 Read of size 18446744073709551600 at addr ffff88810ab10eb8 by task syz-executor728/297 CPU: 1 PID: 297 Comm: syz-executor728 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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+0x100/0x140 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+0x1159/0x3860 fs/ext4/xattr.c:1731 ext4_xattr_ibody_set+0x114/0x330 fs/ext4/xattr.c:2231 ext4_destroy_inline_data_nolock+0x20f/0x5e0 fs/ext4/inline.c:464 ext4_convert_inline_data_nolock+0x3df/0xcc0 fs/ext4/inline.c:1266 ext4_convert_inline_data+0x470/0x5b0 fs/ext4/inline.c:2083 ext4_setattr+0xdf4/0x1980 fs/ext4/inode.c:5624 notify_change+0xab5/0xe40 fs/attr.c:410 do_truncate+0x1a3/0x240 fs/open.c:65 vfs_truncate+0x235/0x2d0 fs/open.c:111 do_sys_truncate+0xf2/0x1c0 fs/open.c:134 __do_sys_truncate fs/open.c:146 [inline] __se_sys_truncate fs/open.c:144 [inline] __x64_sys_truncate+0x5b/0x70 fs/open.c:144 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f8829118d19 Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffed28745d8 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 6f6f6c2f7665642f RCX: 00007f8829118d19 RDX: ffffffffffffffd8 RSI: 0000000002fffffd RDI: 0000200000000940 RBP: 00007ffed28745e8 R08: 00007f88290fc4c0 R09: 00007f88290fc4c0 R10: 00007f88290fc4c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000002 R14: 00007f88291a1c80 R15: 0000000000000002 The buggy address belongs to the page: page:ffffea00042ac400 refcount:3 mapcount:1 mapping:ffff888109198290 index:0x3 pfn:0x10ab10 aops:def_blk_aops ino:0 flags: 0x4000000000022036(referenced|uptodate|lru|active|private|mappedtodisk) raw: 4000000000022036 ffffea00042abf08 ffffea00042abc08 ffff888109198290 raw: 0000000000000003 ffff88811c7bfd20 0000000300000000 ffff888100140000 page dumped because: kasan: bad access detected page->mem_cgroup:ffff888100140000 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 299, ts 25096622091, free_ts 25095964729 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page+0x176/0x190 mm/page_alloc.c:2462 get_page_from_freelist+0x225f/0x23f0 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x29a/0x640 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+0x2d2/0x790 mm/readahead.c:226 do_page_cache_ra mm/readahead.c:277 [inline] force_page_cache_ra+0x3a7/0x400 mm/readahead.c:308 page_cache_sync_ra+0x237/0x2a0 mm/readahead.c:582 page_cache_sync_readahead include/linux/pagemap.h:837 [inline] generic_file_buffered_read+0x570/0x26d0 mm/filemap.c:2250 generic_file_read_iter+0x10b/0x580 mm/filemap.c:2568 blkdev_read_iter+0x12f/0x160 fs/block_dev.c:1956 call_read_iter include/linux/fs.h:2060 [inline] new_sync_read fs/read_write.c:415 [inline] vfs_read+0x62a/0xa50 fs/read_write.c:496 ksys_read+0x14a/0x260 fs/read_write.c:634 __do_sys_read fs/read_write.c:644 [inline] __se_sys_read fs/read_write.c:642 [inline] __x64_sys_read+0x7b/0x90 fs/read_write.c:642 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 mm/page_alloc.c:3391 [inline] free_the_page mm/page_alloc.c:5443 [inline] __free_pages+0x146/0x390 mm/page_alloc.c:5454 __free_slab+0xcf/0x190 mm/slub.c:1899 free_slab mm/slub.c:1914 [inline] discard_slab mm/slub.c:1920 [inline] unfreeze_partials+0x150/0x180 mm/slub.c:2415 put_cpu_partial+0xc1/0x180 mm/slub.c:2451 __slab_free+0x2c9/0x3a0 mm/slub.c:3100 do_slab_free mm/slub.c:3196 [inline] ___cache_free+0x10e/0x130 mm/slub.c:3215 qlink_free+0x50/0x90 mm/kasan/quarantine.c:157 qlist_free_all+0x5f/0xb0 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x14a/0x160 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xe0 mm/kasan/common.c:440 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook+0x5d/0x2f0 mm/slab.h:580 slab_alloc_node mm/slub.c:2952 [inline] slab_alloc mm/slub.c:2960 [inline] kmem_cache_alloc+0x15a/0x2d0 mm/slub.c:2965 getname_flags+0xba/0x510 fs/namei.c:141 getname+0x19/0x20 fs/namei.c:212 do_sys_openat2+0xde/0x750 fs/open.c:1213 Memory state around the buggy address: ffff88810ab10d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88810ab10e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88810ab10e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff88810ab10f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88810ab10f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== EXT4-fs error (device loop0): ext4_read_block_bitmap_nowait:476: comm syz-executor728: Invalid block bitmap block 448 in block_group 0 EXT4-fs (loop0): Remounting filesystem