loop0: detected capacity change from 0 to 512 EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode ================================================================== BUG: KASAN: slab-out-of-bounds in check_igot_inode fs/ext4/inode.c:-1 [inline] BUG: KASAN: slab-out-of-bounds in __ext4_iget+0x2bd/0x3e70 fs/ext4/inode.c:4832 Read of size 8 at addr ffff88806bbbff30 by task syz.0.3863/14634 CPU: 1 PID: 14634 Comm: syz.0.3863 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0xac/0x220 mm/kasan/report.c:468 kasan_report+0x117/0x150 mm/kasan/report.c:581 check_igot_inode fs/ext4/inode.c:-1 [inline] __ext4_iget+0x2bd/0x3e70 fs/ext4/inode.c:4832 __ext4_fill_super fs/ext4/super.c:5504 [inline] ext4_fill_super+0x4b09/0x66c0 fs/ext4/super.c:5731 get_tree_bdev+0x3e4/0x510 fs/super.c:1591 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3377 do_mount fs/namespace.c:3717 [inline] __do_sys_mount fs/namespace.c:3926 [inline] __se_sys_mount+0x2da/0x3c0 fs/namespace.c:3903 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc70cb9076a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc70da69e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fc70da69ef0 RCX: 00007fc70cb9076a RDX: 0000200000000040 RSI: 0000200000000000 RDI: 00007fc70da69eb0 RBP: 0000200000000040 R08: 00007fc70da69ef0 R09: 000000000000000e R10: 000000000000000e R11: 0000000000000246 R12: 0000200000000000 R13: 00007fc70da69eb0 R14: 000000000000044a R15: 000000000000002c Allocated by task 13387: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4e/0x70 mm/kasan/common.c:52 __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x6e/0x4d0 mm/slab.h:767 slab_alloc_node mm/slub.c:3495 [inline] slab_alloc mm/slub.c:3503 [inline] __kmem_cache_alloc_lru mm/slub.c:3510 [inline] kmem_cache_alloc_lru+0x115/0x2e0 mm/slub.c:3526 alloc_inode_sb include/linux/fs.h:2946 [inline] ocfs2_alloc_inode+0x2a/0xf0 fs/ocfs2/super.c:549 alloc_inode fs/inode.c:261 [inline] iget5_locked+0xa2/0x260 fs/inode.c:1314 ocfs2_iget+0x21d/0x1960 fs/ocfs2/inode.c:147 ocfs2_init_global_system_inodes+0x16d/0x650 fs/ocfs2/super.c:445 ocfs2_initialize_super fs/ocfs2/super.c:2254 [inline] ocfs2_fill_super+0x3a53/0x4d90 fs/ocfs2/super.c:994 mount_bdev+0x22b/0x2d0 fs/super.c:1643 legacy_get_tree+0xea/0x180 fs/fs_context.c:662 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3377 do_mount fs/namespace.c:3717 [inline] __do_sys_mount fs/namespace.c:3926 [inline] __se_sys_mount+0x2da/0x3c0 fs/namespace.c:3903 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Last potentially related work creation: kasan_save_stack+0x3e/0x60 mm/kasan/common.c:45 __kasan_record_aux_stack+0xaf/0xc0 mm/kasan/generic.c:492 __call_rcu_common kernel/rcu/tree.c:2721 [inline] call_rcu+0x158/0x930 kernel/rcu/tree.c:2837 destroy_inode fs/inode.c:316 [inline] evict+0x7db/0x870 fs/inode.c:720 ocfs2_release_system_inodes+0x263/0x480 fs/ocfs2/super.c:520 ocfs2_mount_volume+0x12d0/0x14d0 fs/ocfs2/super.c:1840 ocfs2_fill_super+0x3462/0x4d90 fs/ocfs2/super.c:1084 mount_bdev+0x22b/0x2d0 fs/super.c:1643 legacy_get_tree+0xea/0x180 fs/fs_context.c:662 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3377 do_mount fs/namespace.c:3717 [inline] __do_sys_mount fs/namespace.c:3926 [inline] __se_sys_mount+0x2da/0x3c0 fs/namespace.c:3903 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Second to last potentially related work creation: kasan_save_stack+0x3e/0x60 mm/kasan/common.c:45 __kasan_record_aux_stack+0xaf/0xc0 mm/kasan/generic.c:492 __call_rcu_common kernel/rcu/tree.c:2721 [inline] call_rcu+0x158/0x930 kernel/rcu/tree.c:2837 destroy_inode fs/inode.c:316 [inline] evict+0x7db/0x870 fs/inode.c:720 ocfs2_release_system_inodes+0x133/0x480 fs/ocfs2/super.c:513 ocfs2_initialize_super fs/ocfs2/super.c:2296 [inline] ocfs2_fill_super+0x41a9/0x4d90 fs/ocfs2/super.c:994 mount_bdev+0x22b/0x2d0 fs/super.c:1643 legacy_get_tree+0xea/0x180 fs/fs_context.c:662 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3377 do_mount fs/namespace.c:3717 [inline] __do_sys_mount fs/namespace.c:3926 [inline] __se_sys_mount+0x2da/0x3c0 fs/namespace.c:3903 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 The buggy address belongs to the object at ffff88806bbbe3c0 which belongs to the cache ocfs2_inode_cache of size 3520 The buggy address is located 3504 bytes to the right of allocated 3520-byte region [ffff88806bbbe3c0, ffff88806bbbf180) The buggy address belongs to the physical page: page:ffffea0001aeee00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88806bbbaac0 pfn:0x6bbb8 head:ffffea0001aeee00 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff888026537301 ksm flags: 0xfff00000000840(slab|head|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000840 ffff888145684280 ffffea0001e37400 0000000000000003 raw: ffff88806bbbaac0 0000000080080000 00000001ffffffff ffff888026537301 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Reclaimable, gfp_mask 0x1d2050(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL|__GFP_RECLAIMABLE), pid 6369, tgid 6368 (syz.1.318), ts 106230828214, free_ts 102644522644 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1cd/0x210 mm/page_alloc.c:1554 prep_new_page mm/page_alloc.c:1561 [inline] get_page_from_freelist+0x195c/0x19f0 mm/page_alloc.c:3191 __alloc_pages+0x1e3/0x460 mm/page_alloc.c:4457 alloc_slab_page+0x5d/0x170 mm/slub.c:1881 allocate_slab mm/slub.c:2028 [inline] new_slab+0x87/0x2e0 mm/slub.c:2081 ___slab_alloc+0xc6d/0x1300 mm/slub.c:3253 __slab_alloc mm/slub.c:3339 [inline] __slab_alloc_node mm/slub.c:3392 [inline] slab_alloc_node mm/slub.c:3485 [inline] slab_alloc mm/slub.c:3503 [inline] __kmem_cache_alloc_lru mm/slub.c:3510 [inline] kmem_cache_alloc_lru+0x1ae/0x2e0 mm/slub.c:3526 alloc_inode_sb include/linux/fs.h:2946 [inline] ocfs2_alloc_inode+0x2a/0xf0 fs/ocfs2/super.c:549 alloc_inode fs/inode.c:261 [inline] iget5_locked+0xa2/0x260 fs/inode.c:1314 ocfs2_iget+0x21d/0x1960 fs/ocfs2/inode.c:147 ocfs2_init_global_system_inodes+0xc6/0x650 fs/ocfs2/super.c:437 ocfs2_initialize_super fs/ocfs2/super.c:2254 [inline] ocfs2_fill_super+0x3a53/0x4d90 fs/ocfs2/super.c:994 mount_bdev+0x22b/0x2d0 fs/super.c:1643 legacy_get_tree+0xea/0x180 fs/fs_context.c:662 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3377 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1154 [inline] free_unref_page_prepare+0x7ce/0x8e0 mm/page_alloc.c:2336 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2429 discard_slab mm/slub.c:2127 [inline] __unfreeze_partials+0x1cf/0x210 mm/slub.c:2667 put_cpu_partial+0x17c/0x250 mm/slub.c:2743 __slab_free+0x31d/0x410 mm/slub.c:3700 qlink_free mm/kasan/quarantine.c:166 [inline] qlist_free_all+0x75/0xe0 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x6e/0x4d0 mm/slab.h:767 slab_alloc_node mm/slub.c:3495 [inline] __kmem_cache_alloc_node+0x13e/0x260 mm/slub.c:3534 kmalloc_trace+0x2a/0xe0 mm/slab_common.c:1098 kmalloc include/linux/slab.h:600 [inline] usb_control_msg+0x74/0x3e0 drivers/usb/core/message.c:144 get_port_status drivers/usb/core/hub.c:609 [inline] hub_ext_port_status+0x103/0x6d0 drivers/usb/core/hub.c:626 usb_hub_port_status drivers/usb/core/hub.c:648 [inline] hub_port_debounce+0x221/0x300 drivers/usb/core/hub.c:4665 hub_port_debounce_be_stable drivers/usb/core/hub.h:181 [inline] hub_port_connect drivers/usb/core/hub.c:5381 [inline] hub_port_connect_change drivers/usb/core/hub.c:5669 [inline] port_event drivers/usb/core/hub.c:5833 [inline] hub_event+0x1d78/0x49c0 drivers/usb/core/hub.c:5915 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 Memory state around the buggy address: ffff88806bbbfe00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88806bbbfe80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88806bbbff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88806bbbff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88806bbc0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================