SELinux: failed to load policy EXT4-fs error (device loop1): ext4_lookup:1862: inode #2: comm syz.1.705: deleted inode referenced: 12 EXT4-fs error (device loop1): ext4_lookup:1862: inode #2: comm syz.1.705: deleted inode referenced: 12 ================================================================== BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0xaf2/0x21d0 fs/ext4/xattr.c:1708 Read of size 18446744073709551600 at addr ffff888121221eb8 by task syz.1.705/3136 CPU: 0 PID: 3136 Comm: syz.1.705 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/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_setattr+0xf11/0x1bb0 fs/ext4/inode.c:5574 notify_change+0xcc3/0xf80 fs/attr.c:499 do_truncate+0x1ac/0x240 fs/open.c:66 vfs_truncate+0x26a/0x300 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:0x7f4ee239ce59 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:00007f4ee32a1028 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f4ee2615fa0 RCX: 00007f4ee239ce59 RDX: 0000000000000000 RSI: 0000000003000000 RDI: 0000200000000900 RBP: 00007f4ee2432d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4ee2616038 R14: 00007f4ee2615fa0 R15: 00007ffcc9c4ceb8 The buggy address belongs to the physical page: page:ffffea0004848840 refcount:2 mapcount:0 mapping:ffff88810bb26ed0 index:0x8 pfn:0x121221 memcg:ffff88810023b0c0 aops:def_blk_aops ino:700001 flags: 0x5600000000022056(referenced|uptodate|lru|workingset|private|mappedtodisk|zone=1) raw: 5600000000022056 ffffea00051b9048 ffffea00047862c8 ffff88810bb26ed0 raw: 0000000000000008 ffff888132d549d8 00000002ffffffff ffff88810023b0c0 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 1027, tgid 1027 (udevd), ts 142592071664, free_ts 142545996379 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_list+0x117/0x8c0 mm/page_alloc.c:3771 release_pages+0xc93/0xcf0 mm/swap.c:1053 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 mm/mmu_gather.c:261 [inline] tlb_finish_mmu+0x1aa/0x370 mm/mmu_gather.c:361 exit_mmap+0x412/0xc10 mm/mmap.c:3384 __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+0x225/0x2e0 kernel/exit.c:1029 __do_sys_exit_group kernel/exit.c:1040 [inline] __se_sys_exit_group kernel/exit.c:1038 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1038 x64_sys_call+0x7b4/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232 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 Memory state around the buggy address: ffff888121221d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888121221e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888121221e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff888121221f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888121221f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== EXT4-fs error (device loop1): ext4_read_block_bitmap_nowait:477: comm syz.1.705: Invalid block bitmap block 0 in block_group 0 EXT4-fs error (device loop1) in ext4_setattr:5697: Corrupt filesystem EXT4-fs (loop1): unmounting filesystem.