EXT4-fs (loop2): mounted filesystem without journal. Quota mode: none. ================================================================== BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0xb02/0x2230 fs/ext4/xattr.c:1710 Read of size 18446744073709551600 at addr ffff888121cddeb8 by task syz.2.17/478 CPU: 0 PID: 478 Comm: syz.2.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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+0xb02/0x2230 fs/ext4/xattr.c:1710 ext4_xattr_ibody_set+0x25b/0x720 fs/ext4/xattr.c:2217 ext4_destroy_inline_data_nolock+0x234/0x5e0 fs/ext4/inline.c:468 ext4_convert_inline_data_nolock+0x3b0/0x9e0 fs/ext4/inline.c:1258 ext4_convert_inline_data+0x470/0x5b0 fs/ext4/inline.c:2127 ext4_setattr+0xf3c/0x1c80 fs/ext4/inode.c:5574 notify_change+0xd33/0x1030 fs/attr.c:499 do_truncate+0x1ac/0x240 fs/open.c:66 vfs_truncate+0x25b/0x2f0 fs/open.c:112 do_sys_truncate+0xf2/0x1c0 fs/open.c:135 __do_sys_truncate fs/open.c:147 [inline] __se_sys_truncate fs/open.c:145 [inline] __x64_sys_truncate+0x5b/0x70 fs/open.c:145 x64_sys_call+0x679/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:77 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:0x7fc466b9e159 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:00007fc467ad5028 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007fc466e25fa0 RCX: 00007fc466b9e159 RDX: 0000000000000000 RSI: 0000000002fffffd RDI: 0000200000000940 RBP: 00007fc466c3506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc466e26038 R14: 00007fc466e25fa0 R15: 00007ffce078a1b8 The buggy address belongs to the physical page: page:ffffea0004873740 refcount:3 mapcount:1 mapping:ffff88810b6edfd0 index:0x3 pfn:0x121cdd memcg:ffff88810023ba80 aops:def_blk_aops ino:700002 flags: 0x5600000010022056(referenced|uptodate|lru|workingset|private|mappedtodisk|oem_reserved_5|zone=1) raw: 5600000010022056 ffffea0004c00f88 ffffea00048d7988 ffff88810b6edfd0 raw: 0000000000000003 ffff888122b8d5e8 0000000300000000 ffff88810023ba80 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 479, tgid 479 (udevd), ts 42499531592, free_ts 41386813634 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2673 prep_new_page+0x1c/0x110 mm/page_alloc.c:2680 get_page_from_freelist+0x2ca9/0x2d20 mm/page_alloc.c:4587 __alloc_pages+0x1fa/0x610 mm/page_alloc.c:5931 __folio_alloc+0x12/0x40 mm/page_alloc.c:5964 __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+0x24d/0x850 mm/readahead.c:260 do_page_cache_ra+0x10f/0x230 mm/readahead.c:314 force_page_cache_ra mm/readahead.c:360 [inline] page_cache_sync_ra+0x32b/0x3d0 mm/readahead.c:751 page_cache_sync_readahead include/linux/pagemap.h:1259 [inline] filemap_get_pages mm/filemap.c:2706 [inline] filemap_read+0x6b6/0x23c0 mm/filemap.c:2801 blkdev_read_iter+0x439/0x580 block/fops.c:668 call_read_iter include/linux/fs.h:2276 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x46e/0x930 fs/read_write.c:470 ksys_read+0x14a/0x260 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:1581 [inline] free_pcp_prepare mm/page_alloc.c:1655 [inline] free_unref_page_prepare+0x81b/0x820 mm/page_alloc.c:3622 free_unref_page+0x93/0x530 mm/page_alloc.c:3720 free_the_page mm/page_alloc.c:863 [inline] __free_pages+0x67/0x100 mm/page_alloc.c:6021 __vunmap+0xa3c/0xc00 mm/vmalloc.c:2739 __vfree mm/vmalloc.c:2788 [inline] vfree+0x61/0x90 mm/vmalloc.c:2819 kcov_put kernel/kcov.c:437 [inline] kcov_close+0x2b/0x50 kernel/kcov.c:533 __fput+0x1fd/0x8f0 fs/file_table.c:320 ____fput+0x15/0x20 fs/file_table.c:348 task_work_run+0x1e1/0x250 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0xb0d/0x29f0 kernel/exit.c:896 do_group_exit+0x21b/0x2e0 kernel/exit.c:1040 get_signal+0x167c/0x1700 kernel/signal.c:2904 arch_do_signal_or_restart+0xd1/0x11c0 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 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303 Memory state around the buggy address: ffff888121cddd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888121cdde00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888121cdde80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff888121cddf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888121cddf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== EXT4-fs error (device loop2): ext4_read_block_bitmap_nowait:477: comm syz.2.17: Invalid block bitmap block 448 in block_group 0 EXT4-fs (loop2): Remounting filesystem read-only EXT4-fs error (device loop2) in ext4_setattr:5697: error 28 EXT4-fs (loop2): Remounting filesystem read-only