vlan2: entered allmulticast mode bridge0: port 3(vlan2) entered blocking state bridge0: port 3(vlan2) entered disabled state vlan2: entered promiscuous mode bridge0: port 3(vlan2) entered blocking state bridge0: port 3(vlan2) entered forwarding state loop0: detected capacity change from 0 to 8 cramfs: Unknown parameter '|' loop0: detected capacity change from 0 to 32768 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= JBD2: Ignoring recovery information on journal ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. (syz.0.0,5337,0):ocfs2_check_set_options:1244 ERROR: Invalid heartbeat mount options loop0: detected capacity change from 32768 to 32767 OCFS2: ERROR (device loop0): int ocfs2_validate_dx_root(struct super_block *, struct buffer_head *): Dir Index Root # 74 has bad signature XDIR01 On-disk corruption discovered. Please run fsck.ocfs2 once the filesystem is unmounted. OCFS2: File system is now read-only. (syz.0.0,5337,0):ocfs2_find_entry_dx:1029 ERROR: status = -30 ================================================================== BUG: KASAN: use-after-free in ocfs2_dx_dir_lookup_rec+0x1f4/0x790 fs/ocfs2/dir.c:805 Read of size 4 at addr ffff8880546c82c0 by task syz.0.0/5337 CPU: 0 UID: 0 PID: 5337 Comm: syz.0.0 Not tainted 6.16.0-rc7-syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xca/0x230 mm/kasan/report.c:480 kasan_report+0x118/0x150 mm/kasan/report.c:593 ocfs2_dx_dir_lookup_rec+0x1f4/0x790 fs/ocfs2/dir.c:805 ocfs2_dx_dir_lookup+0xdb/0x520 fs/ocfs2/dir.c:860 ocfs2_dx_dir_search fs/ocfs2/dir.c:920 [inline] ocfs2_find_entry_dx fs/ocfs2/dir.c:1034 [inline] ocfs2_find_entry+0x1004/0x2000 fs/ocfs2/dir.c:1071 ocfs2_check_dir_for_entry+0x14c/0x3f0 fs/ocfs2/dir.c:2040 ocfs2_mknod+0x697/0x2050 fs/ocfs2/namei.c:288 ocfs2_create+0x1a5/0x440 fs/ocfs2/namei.c:673 lookup_open fs/namei.c:3717 [inline] open_last_lookups fs/namei.c:3816 [inline] path_openat+0x14f4/0x3830 fs/namei.c:4052 do_filp_open+0x1fa/0x410 fs/namei.c:4082 do_sys_openat2+0x121/0x1c0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1463 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdc82d8e9a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdc83b2e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fdc82fb5fa0 RCX: 00007fdc82d8e9a9 RDX: 0000000000105042 RSI: 0000200000000080 RDI: ffffffffffffff9c RBP: 00007fdc82e10d69 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000001ff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdc82fb5fa0 R15: 00007ffc86331dc8 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x546c8 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 ffffea000151b248 ffffea000151b1c8 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffff8880546c8180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880546c8200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff8880546c8280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8880546c8300: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880546c8380: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================