loop2: detected capacity change from 0 to 1024 EXT4-fs (loop2): mounted filesystem without journal. Opts: block_validity,errors=remount-ro,sysvgroups,norecovery,debug_want_extra_isize=0x0000000000000080,grpjquota=,nogrpid,noauto_da_alloc,norecovery,. Quota mode: none. ================================================================== BUG: KASAN: use-after-free in xattr_find_entry fs/ext4/xattr.c:294 [inline] BUG: KASAN: use-after-free in ext4_xattr_ibody_get+0x606/0x670 fs/ext4/xattr.c:601 Read of size 4 at addr ffff88811e649004 by task syz.2.18/374 CPU: 0 PID: 374 Comm: syz.2.18 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:427 [inline] kasan_report+0x10f/0x150 mm/kasan/report.c:444 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308 xattr_find_entry fs/ext4/xattr.c:294 [inline] ext4_xattr_ibody_get+0x606/0x670 fs/ext4/xattr.c:601 ext4_xattr_get+0x116/0x830 fs/ext4/xattr.c:655 ext4_get_acl+0x85/0x6c0 fs/ext4/acl.c:165 get_acl+0x161/0x270 fs/posix_acl.c:153 posix_acl_chmod+0xe9/0x250 fs/posix_acl.c:602 ext4_setattr+0xb6b/0x1b10 fs/ext4/inode.c:5672 notify_change+0xc30/0xf40 fs/attr.c:505 chmod_common+0x21a/0x3c0 fs/open.c:583 do_fchmodat+0xd4/0x1a0 fs/open.c:622 __do_sys_fchmodat fs/open.c:635 [inline] __se_sys_fchmodat fs/open.c:632 [inline] __x64_sys_fchmodat+0x7b/0x90 fs/open.c:632 x64_sys_call+0x1b7/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:269 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7ff261301e99 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:00007fffdedeb388 EFLAGS: 00000246 ORIG_RAX: 000000000000010c RAX: ffffffffffffffda RBX: 00007ff261589fa0 RCX: 00007ff261301e99 RDX: 00000000ffffff50 RSI: 0000200000000300 RDI: ffffffffffffff9c RBP: 00007ff261397eaf R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff261589fac R14: 00007ff261589fa0 R15: 00007ff261589fa0 Allocated by task 229: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:433 [inline] __kasan_slab_alloc+0xb7/0xe0 mm/kasan/common.c:466 kasan_slab_alloc include/linux/kasan.h:217 [inline] slab_post_alloc_hook+0x4f/0x2b0 mm/slab.h:550 slab_alloc_node mm/slub.c:3245 [inline] slab_alloc mm/slub.c:3255 [inline] kmem_cache_alloc+0xf7/0x260 mm/slub.c:3260 skb_clone+0x1c7/0x370 net/core/skbuff.c:1547 dev_queue_xmit_nit+0x353/0x9c0 net/core/dev.c:2362 xmit_one net/core/dev.c:3665 [inline] dev_hard_start_xmit+0x163/0x680 net/core/dev.c:3686 sch_direct_xmit+0x279/0x9c0 net/sched/sch_generic.c:345 __dev_xmit_skb net/core/dev.c:3905 [inline] __dev_queue_xmit+0x14f1/0x2d60 net/core/dev.c:4274 dev_queue_xmit+0x17/0x20 net/core/dev.c:4355 neigh_hh_output include/net/neighbour.h:501 [inline] neigh_output include/net/neighbour.h:515 [inline] ip_finish_output2+0xb1f/0xec0 net/ipv4/ip_output.c:228 __ip_finish_output+0x161/0x360 net/ipv4/ip_output.c:-1 ip_finish_output+0x31/0x220 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:294 [inline] ip_output+0x1ea/0x390 net/ipv4/ip_output.c:434 dst_output include/net/dst.h:453 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x10ca/0x1c30 net/ipv4/ip_output.c:538 ip_queue_xmit+0x4d/0x70 net/ipv4/ip_output.c:552 __tcp_transmit_skb+0x1e23/0x35f0 net/ipv4/tcp_output.c:1404 tcp_transmit_skb net/ipv4/tcp_output.c:1422 [inline] tcp_write_xmit+0x16f4/0x5f00 net/ipv4/tcp_output.c:2718 __tcp_push_pending_frames+0x99/0x2f0 net/ipv4/tcp_output.c:2903 tcp_push_pending_frames include/net/tcp.h:1916 [inline] tcp_data_snd_check+0x7d/0xb0 net/ipv4/tcp_input.c:5574 tcp_rcv_established+0x1137/0x1ad0 net/ipv4/tcp_input.c:6028 tcp_v4_do_rcv+0x591/0x9f0 net/ipv4/tcp_ipv4.c:1726 tcp_v4_rcv+0x221a/0x2880 net/ipv4/tcp_ipv4.c:2138 ip_protocol_deliver_rcu+0x360/0x760 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ip_local_deliver+0x2dd/0x520 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:463 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline] ip_sublist_rcv+0x75b/0x8a0 net/ipv4/ip_input.c:636 ip_list_rcv+0x3e4/0x430 net/ipv4/ip_input.c:671 __netif_receive_skb_list_ptype net/core/dev.c:5602 [inline] __netif_receive_skb_list_core+0x57e/0x770 net/core/dev.c:5650 __netif_receive_skb_list net/core/dev.c:5702 [inline] netif_receive_skb_list_internal+0x7f8/0xaa0 net/core/dev.c:5793 gro_normal_list net/core/dev.c:5947 [inline] napi_complete_done+0x375/0x7a0 net/core/dev.c:6685 virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline] virtnet_poll+0x8f4/0xe90 drivers/net/virtio_net.c:1624 __napi_poll+0xbb/0x580 net/core/dev.c:7109 napi_poll net/core/dev.c:7176 [inline] net_rx_action+0x37f/0x910 net/core/dev.c:7266 handle_softirqs+0x250/0x560 kernel/softirq.c:583 __do_softirq kernel/softirq.c:621 [inline] invoke_softirq kernel/softirq.c:443 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:670 irq_exit_rcu+0x9/0x10 kernel/softirq.c:682 common_interrupt+0xbe/0xe0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x27/0x40 arch/x86/include/asm/idtentry.h:667 Freed by task 229: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4a/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:365 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:373 kasan_slab_free include/linux/kasan.h:193 [inline] slab_free_hook mm/slub.c:1728 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1754 slab_free mm/slub.c:3526 [inline] kmem_cache_free+0x100/0x320 mm/slub.c:3544 kfree_skbmem+0x10c/0x180 net/core/skbuff.c:-1 __kfree_skb net/core/skbuff.c:758 [inline] consume_skb+0xb3/0x1f0 net/core/skbuff.c:930 packet_rcv+0x16e/0x1310 net/packet/af_packet.c:2243 dev_queue_xmit_nit+0x939/0x9c0 net/core/dev.c:2394 xmit_one net/core/dev.c:3665 [inline] dev_hard_start_xmit+0x163/0x680 net/core/dev.c:3686 sch_direct_xmit+0x279/0x9c0 net/sched/sch_generic.c:345 __dev_xmit_skb net/core/dev.c:3905 [inline] __dev_queue_xmit+0x14f1/0x2d60 net/core/dev.c:4274 dev_queue_xmit+0x17/0x20 net/core/dev.c:4355 neigh_hh_output include/net/neighbour.h:501 [inline] neigh_output include/net/neighbour.h:515 [inline] ip_finish_output2+0xb1f/0xec0 net/ipv4/ip_output.c:228 __ip_finish_output+0x161/0x360 net/ipv4/ip_output.c:-1 ip_finish_output+0x31/0x220 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:294 [inline] ip_output+0x1ea/0x390 net/ipv4/ip_output.c:434 dst_output include/net/dst.h:453 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x10ca/0x1c30 net/ipv4/ip_output.c:538 ip_queue_xmit+0x4d/0x70 net/ipv4/ip_output.c:552 __tcp_transmit_skb+0x1e23/0x35f0 net/ipv4/tcp_output.c:1404 tcp_transmit_skb net/ipv4/tcp_output.c:1422 [inline] tcp_write_xmit+0x16f4/0x5f00 net/ipv4/tcp_output.c:2718 __tcp_push_pending_frames+0x99/0x2f0 net/ipv4/tcp_output.c:2903 tcp_push_pending_frames include/net/tcp.h:1916 [inline] tcp_data_snd_check+0x7d/0xb0 net/ipv4/tcp_input.c:5574 tcp_rcv_established+0x1137/0x1ad0 net/ipv4/tcp_input.c:6028 tcp_v4_do_rcv+0x591/0x9f0 net/ipv4/tcp_ipv4.c:1726 tcp_v4_rcv+0x221a/0x2880 net/ipv4/tcp_ipv4.c:2138 ip_protocol_deliver_rcu+0x360/0x760 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ip_local_deliver+0x2dd/0x520 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:463 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline] ip_sublist_rcv+0x75b/0x8a0 net/ipv4/ip_input.c:636 ip_list_rcv+0x3e4/0x430 net/ipv4/ip_input.c:671 __netif_receive_skb_list_ptype net/core/dev.c:5602 [inline] __netif_receive_skb_list_core+0x57e/0x770 net/core/dev.c:5650 __netif_receive_skb_list net/core/dev.c:5702 [inline] netif_receive_skb_list_internal+0x7f8/0xaa0 net/core/dev.c:5793 gro_normal_list net/core/dev.c:5947 [inline] napi_complete_done+0x375/0x7a0 net/core/dev.c:6685 virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline] virtnet_poll+0x8f4/0xe90 drivers/net/virtio_net.c:1624 __napi_poll+0xbb/0x580 net/core/dev.c:7109 napi_poll net/core/dev.c:7176 [inline] net_rx_action+0x37f/0x910 net/core/dev.c:7266 handle_softirqs+0x250/0x560 kernel/softirq.c:583 __do_softirq kernel/softirq.c:621 [inline] invoke_softirq kernel/softirq.c:443 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:670 irq_exit_rcu+0x9/0x10 kernel/softirq.c:682 common_interrupt+0xbe/0xe0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x27/0x40 arch/x86/include/asm/idtentry.h:667 The buggy address belongs to the object at ffff88811e649000 which belongs to the cache skbuff_head_cache of size 248 The buggy address is located 4 bytes inside of 248-byte region [ffff88811e649000, ffff88811e6490f8) The buggy address belongs to the page: page:ffffea0004799240 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11e649 flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 0000000000000000 dead000000000122 ffff8881081aa300 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY), pid 229, ts 11806558436, free_ts 0 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x192/0x1b0 mm/page_alloc.c:2607 prep_new_page+0x1c/0x110 mm/page_alloc.c:2613 get_page_from_freelist+0x2c3a/0x2cd0 mm/page_alloc.c:4487 __alloc_pages+0x1a2/0x460 mm/page_alloc.c:5824 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1937 [inline] new_slab+0xa0/0x4d0 mm/slub.c:2000 ___slab_alloc+0x3ac/0x840 mm/slub.c:3033 __slab_alloc+0x49/0x90 mm/slub.c:3120 slab_alloc_node mm/slub.c:3211 [inline] slab_alloc mm/slub.c:3255 [inline] kmem_cache_alloc+0x138/0x260 mm/slub.c:3260 kmem_cache_alloc_node include/linux/slab.h:492 [inline] __alloc_skb+0xe4/0x730 net/core/skbuff.c:416 alloc_skb include/linux/skbuff.h:1183 [inline] __tcp_send_ack+0x9b/0x6c0 net/ipv4/tcp_output.c:3997 tcp_send_ack+0x3b/0x60 net/ipv4/tcp_output.c:4029 tcp_cleanup_rbuf+0x281/0x5b0 net/ipv4/tcp.c:1600 tcp_recvmsg_locked+0x1c95/0x24f0 net/ipv4/tcp.c:2536 tcp_recvmsg+0x233/0x770 net/ipv4/tcp.c:2566 inet_recvmsg+0x13a/0x470 net/ipv4/af_inet.c:861 sock_recvmsg_nosec net/socket.c:967 [inline] sock_recvmsg net/socket.c:985 [inline] sock_read_iter+0x2c2/0x380 net/socket.c:1058 page_owner free stack trace missing Memory state around the buggy address: ffff88811e648f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88811e648f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88811e649000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88811e649080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc ffff88811e649100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ================================================================== EXT4-fs error (device loop2): xattr_find_entry:297: inode #12: comm syz.2.18: corrupted xattr entries EXT4-fs (loop2): Remounting filesystem read-only