EXT4-fs: Ignoring removed nobh option ================================================================== 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+0x5ce/0x4040 fs/ext4/inode.c:4907 Read of size 8 at addr ffff88806894ff30 by task syz.1.2009/9028 CPU: 0 PID: 9028 Comm: syz.1.2009 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0xa8/0x210 mm/kasan/report.c:420 kasan_report+0x10b/0x140 mm/kasan/report.c:524 check_igot_inode fs/ext4/inode.c:-1 [inline] __ext4_iget+0x5ce/0x4040 fs/ext4/inode.c:4907 __ext4_fill_super fs/ext4/super.c:5473 [inline] ext4_fill_super+0x5ffd/0x77b0 fs/ext4/super.c:5700 get_tree_bdev+0x3e6/0x610 fs/super.c:1377 vfs_get_tree+0x88/0x270 fs/super.c:1584 do_new_mount+0x247/0xa50 fs/namespace.c:3104 do_mount fs/namespace.c:3475 [inline] __do_sys_mount fs/namespace.c:3683 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3660 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:0x7f92fa9aa7fa Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f92fb8dde58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f92fb8ddee0 RCX: 00007f92fa9aa7fa RDX: 0000200000000180 RSI: 0000200000000100 RDI: 00007f92fb8ddea0 RBP: 0000200000000180 R08: 00007f92fb8ddee0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000100 R13: 00007f92fb8ddea0 R14: 0000000000000484 R15: 000000000000002c Allocated by task 8281: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 __kasan_slab_alloc+0x6b/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x490 mm/slab.h:742 slab_alloc_node mm/slub.c:3366 [inline] slab_alloc mm/slub.c:3374 [inline] __kmem_cache_alloc_lru mm/slub.c:3381 [inline] kmem_cache_alloc_lru+0x182/0x2e0 mm/slub.c:3397 alloc_inode_sb include/linux/fs.h:3278 [inline] ocfs2_alloc_inode+0x26/0xe0 fs/ocfs2/super.c:549 alloc_inode fs/inode.c:261 [inline] iget5_locked+0x9e/0x260 fs/inode.c:1326 ocfs2_iget+0x252/0x1c80 fs/ocfs2/inode.c:180 _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:139 [inline] ocfs2_get_system_file_inode+0x38a/0x820 fs/ocfs2/sysfile.c:110 ocfs2_init_local_system_inodes fs/ocfs2/super.c:487 [inline] ocfs2_mount_volume+0x307/0x1550 fs/ocfs2/super.c:1813 ocfs2_fill_super+0x357e/0x5010 fs/ocfs2/super.c:1082 mount_bdev+0x28a/0x3c0 fs/super.c:1454 legacy_get_tree+0xe6/0x180 fs/fs_context.c:632 vfs_get_tree+0x88/0x270 fs/super.c:1584 do_new_mount+0x247/0xa50 fs/namespace.c:3104 do_mount fs/namespace.c:3475 [inline] __do_sys_mount fs/namespace.c:3683 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3660 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 Last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:46 __kasan_record_aux_stack+0xb2/0xc0 mm/kasan/generic.c:486 call_rcu+0x14f/0x950 kernel/rcu/tree.c:2849 destroy_inode fs/inode.c:316 [inline] evict+0x915/0x9d0 fs/inode.c:718 ocfs2_release_system_inodes+0x38b/0x480 fs/ocfs2/super.c:535 ocfs2_dismount_volume+0x3e6/0x940 fs/ocfs2/super.c:1909 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7c/0xe0 fs/super.c:1481 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x471/0x4f0 fs/namespace.c:1191 task_work_run+0x1d0/0x260 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:180 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213 __syscall_exit_to_user_mode_work kernel/entry/common.c:295 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:306 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Second to last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:46 __kasan_record_aux_stack+0xb2/0xc0 mm/kasan/generic.c:486 call_rcu+0x14f/0x950 kernel/rcu/tree.c:2849 destroy_inode fs/inode.c:316 [inline] evict+0x915/0x9d0 fs/inode.c:718 ocfs2_release_system_inodes+0x38b/0x480 fs/ocfs2/super.c:535 ocfs2_mount_volume+0x13a9/0x1550 fs/ocfs2/super.c:1839 ocfs2_fill_super+0x357e/0x5010 fs/ocfs2/super.c:1082 mount_bdev+0x28a/0x3c0 fs/super.c:1454 legacy_get_tree+0xe6/0x180 fs/fs_context.c:632 vfs_get_tree+0x88/0x270 fs/super.c:1584 do_new_mount+0x247/0xa50 fs/namespace.c:3104 do_mount fs/namespace.c:3475 [inline] __do_sys_mount fs/namespace.c:3683 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3660 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 The buggy address belongs to the object at ffff88806894e3c0 which belongs to the cache ocfs2_inode_cache of size 3520 The buggy address is located 3504 bytes to the right of 3520-byte region [ffff88806894e3c0, ffff88806894f180) The buggy address belongs to the physical page: page:ffffea0001a25200 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888068948000 pfn:0x68948 head:ffffea0001a25200 order:3 compound_mapcount:0 compound_pincount:0 memcg:ffff8880553e6c81 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 dead000000000001 ffff8881456b1dc0 raw: ffff888068948000 0000000080080000 00000001ffffffff ffff8880553e6c81 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 5007, tgid 5006 (syz.3.274), ts 116943513050, free_ts 115109018793 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2560 prep_new_page mm/page_alloc.c:2567 [inline] get_page_from_freelist+0x206b/0x2180 mm/page_alloc.c:4358 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5658 alloc_slab_page+0x5d/0x180 mm/slub.c:1805 allocate_slab mm/slub.c:1950 [inline] new_slab+0x87/0x2d0 mm/slub.c:2003 ___slab_alloc+0xbc5/0x1240 mm/slub.c:3161 __slab_alloc mm/slub.c:3247 [inline] slab_alloc_node mm/slub.c:3332 [inline] slab_alloc mm/slub.c:3374 [inline] __kmem_cache_alloc_lru mm/slub.c:3381 [inline] kmem_cache_alloc_lru+0x104/0x2e0 mm/slub.c:3397 alloc_inode_sb include/linux/fs.h:3278 [inline] ocfs2_alloc_inode+0x26/0xe0 fs/ocfs2/super.c:549 alloc_inode fs/inode.c:261 [inline] iget5_locked+0x9e/0x260 fs/inode.c:1326 ocfs2_iget+0x252/0x1c80 fs/ocfs2/inode.c:180 ocfs2_init_global_system_inodes+0xc5/0x6e0 fs/ocfs2/super.c:437 ocfs2_initialize_super fs/ocfs2/super.c:2251 [inline] ocfs2_fill_super+0x3bb7/0x5010 fs/ocfs2/super.c:994 mount_bdev+0x28a/0x3c0 fs/super.c:1454 legacy_get_tree+0xe6/0x180 fs/fs_context.c:632 vfs_get_tree+0x88/0x270 fs/super.c:1584 do_new_mount+0x247/0xa50 fs/namespace.c:3104 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1487 [inline] free_pcp_prepare mm/page_alloc.c:1537 [inline] free_unref_page_prepare+0x8e5/0x9e0 mm/page_alloc.c:3414 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3509 qlink_free mm/kasan/quarantine.c:166 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x490 mm/slab.h:742 slab_alloc_node mm/slub.c:3366 [inline] kmem_cache_alloc_node+0x1ad/0x310 mm/slub.c:3411 __alloc_skb+0xf9/0x7d0 net/core/skbuff.c:505 alloc_skb include/linux/skbuff.h:1303 [inline] alloc_skb_with_frags+0xa7/0x710 net/core/skbuff.c:6198 sock_alloc_send_pskb+0x965/0xa70 net/core/sock.c:2786 unix_dgram_sendmsg+0x5c1/0x16f0 net/unix/af_unix.c:1957 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] __sys_sendto+0x497/0x650 net/socket.c:2153 __do_sys_sendto net/socket.c:2165 [inline] __se_sys_sendto net/socket.c:2161 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2161 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 Memory state around the buggy address: ffff88806894fe00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88806894fe80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88806894ff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88806894ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888068950000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================