================================================================== BUG: KASAN: slab-use-after-free in xfs_inode_item_push+0x396/0x720 fs/xfs/xfs_inode_item.c:798 Read of size 8 at addr ffff888055ad3a70 by task xfsaild/loop5/6967 CPU: 0 UID: 0 PID: 6967 Comm: xfsaild/loop5 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 xfs_inode_item_push+0x396/0x720 fs/xfs/xfs_inode_item.c:798 xfsaild_push_item fs/xfs/xfs_trans_ail.c:390 [inline] xfsaild_push fs/xfs/xfs_trans_ail.c:518 [inline] xfsaild+0x10bd/0x2af0 fs/xfs/xfs_trans_ail.c:700 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 6950: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 unpoison_slab_object mm/kasan/common.c:340 [inline] __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:366 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4542 [inline] slab_alloc_node mm/slub.c:4869 [inline] kmem_cache_alloc_noprof+0x2bc/0x650 mm/slub.c:4876 xfs_inode_item_init+0x33/0xc0 fs/xfs/xfs_inode_item.c:926 xfs_trans_ijoin+0xe5/0x130 fs/xfs/libxfs/xfs_trans_inode.c:36 xfs_vn_update_time+0x378/0x5a0 fs/xfs/xfs_iops.c:1225 touch_atime+0x2f8/0x6b0 fs/inode.c:2271 file_accessed include/linux/fs.h:2263 [inline] filemap_read+0x1053/0x1230 mm/filemap.c:2877 xfs_file_buffered_read+0x18a/0x370 fs/xfs/xfs_file.c:315 xfs_file_read_iter+0x280/0x510 fs/xfs/xfs_file.c:340 __kernel_read+0x504/0x9b0 fs/read_write.c:532 integrity_kernel_read+0x89/0xd0 security/integrity/iint.c:28 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:486 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:517 [inline] ima_calc_file_hash+0x12c3/0x17f0 security/integrity/ima/ima_crypto.c:574 ima_collect_measurement+0x51d/0x9c0 security/integrity/ima/ima_api.c:300 process_measurement+0x12cd/0x1c80 security/integrity/ima/ima_main.c:430 ima_file_check+0xe1/0x130 security/integrity/ima/ima_main.c:690 security_file_post_open+0xb3/0x260 security/security.c:2652 do_open fs/namei.c:4673 [inline] path_openat+0x2e4d/0x3860 fs/namei.c:4830 do_file_open+0x23e/0x4a0 fs/namei.c:4859 do_sys_openat2+0x113/0x200 fs/open.c:1366 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1383 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 5875: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:253 [inline] __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:285 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2692 [inline] slab_free mm/slub.c:6168 [inline] kmem_cache_free+0x189/0x630 mm/slub.c:6298 xfs_inode_free_callback+0x14f/0x1c0 fs/xfs/xfs_icache.c:161 rcu_do_batch kernel/rcu/tree.c:2617 [inline] rcu_core+0x7cd/0x1070 kernel/rcu/tree.c:2869 handle_softirqs+0x22a/0x870 kernel/softirq.c:626 __do_softirq kernel/softirq.c:660 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:739 irq_exit_rcu+0x9/0x30 kernel/softirq.c:756 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 The buggy address belongs to the object at ffff888055ad3a40 which belongs to the cache xfs_ili of size 264 The buggy address is located 48 bytes inside of freed 264-byte region [ffff888055ad3a40, ffff888055ad3b48) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888055ad3cd0 pfn:0x55ad3 flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000200 ffff88801f30cc80 ffff88801f30d348 ffffea000156b510 raw: ffff888055ad3cd0 00000008000c0009 00000000f5000000 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Reclaimable, gfp_mask 0xd2c50(GFP_NOFS|__GFP_RECLAIMABLE|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 6062, tgid 6061 (syz.3.42), ts 79967098655, free_ts 21042479175 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x231/0x280 mm/page_alloc.c:1856 prep_new_page mm/page_alloc.c:1864 [inline] get_page_from_freelist+0x239b/0x2440 mm/page_alloc.c:3923 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5210 alloc_slab_page mm/slub.c:3296 [inline] allocate_slab+0x77/0x660 mm/slub.c:3485 new_slab mm/slub.c:3543 [inline] refill_objects+0x331/0x3c0 mm/slub.c:7178 __pcs_replace_empty_main+0x2f9/0x5e0 mm/slub.c:-1 alloc_from_pcs mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:4854 [inline] kmem_cache_alloc_noprof+0x37d/0x650 mm/slub.c:4876 xfs_inode_item_init+0x33/0xc0 fs/xfs/xfs_inode_item.c:926 xfs_trans_ijoin+0xe5/0x130 fs/xfs/libxfs/xfs_trans_inode.c:36 xfs_icreate+0xea/0x170 fs/xfs/xfs_inode.c:605 xfs_qm_qino_alloc+0x266/0x730 fs/xfs/xfs_qm.c:962 xfs_qm_init_quotainos+0x7bd/0xa00 fs/xfs/xfs_qm.c:1779 xfs_qm_init_quotainfo+0x188/0x11c0 fs/xfs/xfs_qm.c:788 xfs_qm_mount_quotas+0xa6/0x670 fs/xfs/xfs_qm.c:1633 xfs_mountfs+0x1b16/0x22e0 fs/xfs/xfs_mount.c:1189 xfs_fs_fill_super+0x11b5/0x1600 fs/xfs/xfs_super.c:1938 page last free pid 1 tgid 1 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1400 [inline] __free_frozen_pages+0xbf0/0xd00 mm/page_alloc.c:2941 __free_pages mm/page_alloc.c:5329 [inline] free_contig_range+0xb7/0x100 mm/page_alloc.c:7333 destroy_args+0x4e5/0x570 mm/debug_vm_pgtable.c:993 debug_vm_pgtable+0x3f8/0x410 mm/debug_vm_pgtable.c:1368 do_one_initcall+0x250/0x8d0 init/main.c:1384 do_initcall_level+0x104/0x190 init/main.c:1446 do_initcalls+0x59/0xa0 init/main.c:1462 kernel_init_freeable+0x2a6/0x3e0 init/main.c:1694 kernel_init+0x1d/0x1d0 init/main.c:1584 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Memory state around the buggy address: ffff888055ad3900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888055ad3980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888055ad3a00: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ^ ffff888055ad3a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888055ad3b00: fb fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc ==================================================================