EXT4-fs (loop1): mounted filesystem without journal. Opts: grpquota,delalloc,resuid=0x0000000000000000,debug,dioread_nolock,bsddf,nomblk_io_submit,noauto_da_alloc,,errors=continue. Quota mode: writeback. ================================================================== BUG: KASAN: slab-out-of-bounds in ext4_get_inode_usage+0x3a1/0x520 fs/ext4/xattr.c:821 Read of size 4 at addr ffff888106198158 by task syz.1.12742/7783 CPU: 1 PID: 7783 Comm: syz.1.12742 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/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+0xf1/0x140 mm/kasan/report.c:444 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308 ext4_get_inode_usage+0x3a1/0x520 fs/ext4/xattr.c:821 __dquot_transfer+0x192/0x2150 fs/quota/dquot.c:2015 dquot_transfer+0x2f1/0x460 fs/quota/dquot.c:2167 ext4_setattr+0x700/0x1ac0 fs/ext4/inode.c:5508 notify_change+0xbca/0xe90 fs/attr.c:505 chown_common+0x4b8/0x680 fs/open.c:681 vfs_fchown fs/open.c:749 [inline] ksys_fchown+0xef/0x160 fs/open.c:760 __do_sys_fchown fs/open.c:768 [inline] __se_sys_fchown fs/open.c:766 [inline] __x64_sys_fchown+0x7a/0x90 fs/open.c:766 x64_sys_call+0x95f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:94 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:0x7f0de143de59 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:00007f0ddfe98028 EFLAGS: 00000246 ORIG_RAX: 000000000000005d RAX: ffffffffffffffda RBX: 00007f0de16b6fa0 RCX: 00007f0de143de59 RDX: 000000000000ee01 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f0de14d3d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0de16b7038 R14: 00007f0de16b6fa0 R15: 00007ffee5d2a8a8 Allocated by task 1: 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+0xbd/0xf0 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 kmem_cache_zalloc include/linux/slab.h:740 [inline] __kernfs_new_node+0xe3/0x6b0 fs/kernfs/dir.c:593 kernfs_new_node+0x150/0x260 fs/kernfs/dir.c:669 __kernfs_create_file+0x4e/0x270 fs/kernfs/file.c:987 sysfs_add_file_mode_ns+0x29a/0x350 fs/sysfs/file.c:317 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x495/0xd00 fs/sysfs/group.c:149 internal_create_groups fs/sysfs/group.c:189 [inline] sysfs_create_groups+0x58/0x120 fs/sysfs/group.c:215 device_add_groups drivers/base/core.c:2501 [inline] device_add_attrs+0x155/0x700 drivers/base/core.c:2660 device_add+0x5e3/0xed0 drivers/base/core.c:3373 wakeup_source_device_create drivers/base/power/wakeup_stats.c:161 [inline] wakeup_source_sysfs_add+0x1f7/0x2e0 drivers/base/power/wakeup_stats.c:181 wakeup_source_register+0x1a5/0x3d0 drivers/base/power/wakeup.c:231 acpi_add_pm_notifier+0x16c/0x270 drivers/acpi/device_pm.c:501 pci_acpi_add_pm_notifier drivers/pci/pci-acpi.c:883 [inline] pci_acpi_setup+0x438/0x8d0 drivers/pci/pci-acpi.c:1390 acpi_device_notify+0x1e5/0x210 drivers/acpi/glue.c:-1 device_platform_notify drivers/base/core.c:2070 [inline] device_add+0x3ec/0xed0 drivers/base/core.c:3364 pci_device_add+0xfd0/0x15e0 drivers/pci/probe.c:2569 pci_scan_single_device+0x367/0x440 drivers/pci/probe.c:2587 pci_scan_slot+0x19b/0x7c0 drivers/pci/probe.c:2662 pci_scan_child_bus_extend+0x62/0x820 drivers/pci/probe.c:2879 pci_scan_child_bus+0x17/0x20 drivers/pci/probe.c:3009 acpi_pci_root_create+0xafc/0xd00 drivers/acpi/pci_root.c:925 pci_acpi_scan_root+0x2ba/0x510 arch/x86/pci/acpi.c:487 acpi_pci_root_add+0xc3a/0x20c0 drivers/acpi/pci_root.c:597 acpi_scan_attach_handler drivers/acpi/scan.c:2137 [inline] acpi_bus_attach+0x755/0xbc0 drivers/acpi/scan.c:2185 acpi_bus_attach+0x2ec/0xbc0 drivers/acpi/scan.c:2206 acpi_bus_attach+0x2ec/0xbc0 drivers/acpi/scan.c:2206 acpi_bus_scan+0xe1/0x1a0 drivers/acpi/scan.c:2378 acpi_scan_init+0x1f5/0x6b0 drivers/acpi/scan.c:2553 acpi_init+0x162/0x220 drivers/acpi/bus.c:1356 do_one_initcall+0x1fc/0x5a0 init/main.c:1318 do_initcall_level+0x16f/0x2d0 init/main.c:1391 do_initcalls+0x50/0xa0 init/main.c:1407 do_basic_setup+0x81/0x90 init/main.c:1426 kernel_init_freeable+0x294/0x3d0 init/main.c:1631 kernel_init+0x1d/0x1b0 init/main.c:1522 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 The buggy address belongs to the object at ffff8881061980c8 which belongs to the cache kernfs_node_cache of size 136 The buggy address is located 8 bytes to the right of 136-byte region [ffff8881061980c8, ffff888106198150) The buggy address belongs to the page: page:ffffea0004186600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106198 flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 0000000000000000 dead000000000122 ffff8881001c5680 raw: 0000000000000000 0000000000140014 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 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, ts 1173849937, free_ts 0 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x192/0x1b0 mm/page_alloc.c:2605 prep_new_page+0x1c/0x110 mm/page_alloc.c:2611 get_page_from_freelist+0x2d3a/0x2dc0 mm/page_alloc.c:4485 __alloc_pages+0x1a2/0x460 mm/page_alloc.c:5822 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1937 [inline] new_slab+0xa1/0x4d0 mm/slub.c:2000 ___slab_alloc+0x381/0x810 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_zalloc include/linux/slab.h:740 [inline] __kernfs_new_node+0xe3/0x6b0 fs/kernfs/dir.c:593 kernfs_new_node+0x150/0x260 fs/kernfs/dir.c:669 __kernfs_create_file+0x4e/0x270 fs/kernfs/file.c:987 sysfs_add_file_mode_ns+0x29a/0x350 fs/sysfs/file.c:317 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x495/0xd00 fs/sysfs/group.c:149 internal_create_groups fs/sysfs/group.c:189 [inline] sysfs_create_groups+0x58/0x120 fs/sysfs/group.c:215 device_add_groups drivers/base/core.c:2501 [inline] device_add_attrs+0x155/0x700 drivers/base/core.c:2660 device_add+0x5e3/0xed0 drivers/base/core.c:3373 page_owner free stack trace missing Memory state around the buggy address: ffff888106198000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888106198080: 00 fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 >ffff888106198100: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc ^ ffff888106198180: fc fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888106198200: 00 00 00 fc fc fc fc fc fc fc fc 00 00 00 00 00 ==================================================================