EXT4-fs (loop0): 1 truncate cleaned up EXT4-fs (loop0): 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 ffff88810b7beeb8 by task syz-executor202/305 CPU: 0 PID: 305 Comm: syz-executor202 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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:0x7f576b91ad59 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:00007ffed52411d8 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 6f6f6c2f7665642f RCX: 00007f576b91ad59 RDX: ffffffffffffffd8 RSI: 0000000002fffffd RDI: 0000200000000940 RBP: 00007ffed52411e8 R08: 00007f576b8fe4c0 R09: 00007f576b8fe4c0 R10: 00007f576b8fe4c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000002 R14: 00007f576b9a3c80 R15: 0000000000000002 The buggy address belongs to the physical page: page:ffffea00042def80 refcount:3 mapcount:1 mapping:ffff8881004894d0 index:0x3 pfn:0x10b7be memcg:ffff88810023c440 aops:def_blk_aops ino:700000 flags: 0x6600000000022056(referenced|uptodate|lru|workingset|private|mappedtodisk|zone=1) raw: 6600000000022056 ffffea00043ea248 ffffea0004404f48 ffff8881004894d0 raw: 0000000000000003 ffff8881245fc150 0000000300000000 ffff88810023c440 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 305, tgid 305 (syz-executor202), ts 24767463096, free_ts 24767002230 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 mm/readahead.c:313 [inline] page_cache_ra_order+0xb0c/0xe50 mm/readahead.c:584 do_sync_mmap_readahead+0x8a4/0xb20 mm/filemap.c:3215 filemap_fault+0x3e3/0x1370 mm/filemap.c:3312 __do_fault mm/memory.c:4376 [inline] do_read_fault mm/memory.c:4751 [inline] do_fault+0x19de/0x1e30 mm/memory.c:4887 handle_pte_fault mm/memory.c:5183 [inline] __handle_mm_fault mm/memory.c:5325 [inline] handle_mm_fault+0x1363/0x26b0 mm/memory.c:5465 faultin_page mm/gup.c:1026 [inline] __get_user_pages+0x34b/0xdb0 mm/gup.c:1250 populate_vma_page_range mm/gup.c:1607 [inline] __mm_populate+0x2ea/0x430 mm/gup.c:1721 mm_populate include/linux/mm.h:3148 [inline] vm_mmap_pgoff+0x271/0x3f0 mm/util.c:530 ksys_mmap_pgoff+0x161/0x1d0 mm/mmap.c:1537 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [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 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+0x13/0x20 mm/page_alloc.c:863 page_frag_free+0x10a/0x120 mm/page_alloc.c:6160 skb_free_frag include/linux/skbuff.h:3315 [inline] skb_free_head net/core/skbuff.c:763 [inline] skb_release_data+0x70d/0x8a0 net/core/skbuff.c:794 skb_release_all net/core/skbuff.c:859 [inline] __kfree_skb+0x50/0x70 net/core/skbuff.c:873 tcp_rcv_established+0xdc1/0x1ab0 net/ipv4/tcp_input.c:6030 tcp_v4_do_rcv+0x446/0x9c0 net/ipv4/tcp_ipv4.c:1684 tcp_v4_rcv+0x239f/0x2ae0 net/ipv4/tcp_ipv4.c:2115 ip_protocol_deliver_rcu+0x371/0x780 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x23e/0x400 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:305 [inline] ip_local_deliver+0x1dc/0x350 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:463 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:580 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:631 [inline] ip_sublist_rcv+0x787/0x8d0 net/ipv4/ip_input.c:639 ip_list_rcv+0x3e4/0x430 net/ipv4/ip_input.c:674 __netif_receive_skb_list_ptype net/core/dev.c:5678 [inline] __netif_receive_skb_list_core+0x5a8/0x7b0 net/core/dev.c:5726 __netif_receive_skb_list net/core/dev.c:5778 [inline] netif_receive_skb_list_internal+0x7f8/0xaa0 net/core/dev.c:5869 Memory state around the buggy address: ffff88810b7bed80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88810b7bee00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88810b7bee80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff88810b7bef00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88810b7bef80: 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:477: