OCFS2: ERROR (device loop0): int ocfs2_validate_inode_block(struct super_block *, struct buffer_head *): Invalid dinode #17059: signature = On-disk corruption discovered. Please run fsck.ocfs2 once the filesystem is unmounted. OCFS2: File system is now read-only. (syz.0.0,5319,0):ocfs2_symlink_get_block:65 ERROR: status = -30 (syz.0.0,5319,0):ocfs2_symlink_get_block:74 ERROR: block offset is outside the allocated size: 1 ------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:804! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted 6.14.0-rc7-syzkaller-00069-g81e4f8d68c66 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_reserve_suballoc_bits+0x4798/0x4e70 fs/ocfs2/suballoc.c:804 Code: e1 07 80 c1 03 38 c1 0f 8c 75 dd ff ff 48 8d bc 24 b0 01 00 00 e8 c8 3f 62 fe e9 63 dd ff ff e8 0e 1c 42 08 e8 69 ff fa fd 90 <0f> 0b e8 61 ff fa fd 48 c7 c7 e0 09 04 8f 48 8b 74 24 20 48 89 da RSP: 0018:ffffc9000d4de260 EFLAGS: 00010287 RAX: ffffffff83c6e117 RBX: 00000000ffffffff RCX: 0000000000100000 RDX: ffffc9000ed0b000 RSI: 00000000000004c2 RDI: 00000000000004c3 RBP: ffffc9000d4de750 R08: ffffffff83c69bf5 R09: 1ffffffff2079f4e R10: dffffc0000000000 R11: fffffbfff2079f4f R12: 1ffff92001a9bccc R13: ffff8880440c4400 R14: ffff888054a8fe00 R15: dffffc0000000000 FS: 00007f79452066c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000400000001580 CR3: 000000003f4ec000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_reserve_cluster_bitmap_bits fs/ocfs2/suballoc.c:1132 [inline] ocfs2_reserve_clusters_with_limit+0x3dd/0xb60 fs/ocfs2/suballoc.c:1177 ocfs2_convert_inline_data_to_extents+0x29d/0x1800 fs/ocfs2/alloc.c:7089 ocfs2_try_to_write_inline_data fs/ocfs2/aops.c:1548 [inline] ocfs2_write_begin_nolock+0x1c82/0x4e40 fs/ocfs2/aops.c:1655 ocfs2_write_begin+0x205/0x3a0 fs/ocfs2/aops.c:1889 generic_perform_write+0x327/0xa00 mm/filemap.c:4102 __generic_file_write_iter+0x1b5/0x230 mm/filemap.c:4216 ocfs2_file_write_iter+0x19af/0x2180 fs/ocfs2/file.c:2469 iter_file_splice_write+0xbfa/0x1510 fs/splice.c:743 do_splice_from fs/splice.c:941 [inline] direct_splice_actor+0x11b/0x220 fs/splice.c:1164 splice_direct_to_actor+0x586/0xc80 fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x289/0x3e0 fs/splice.c:1233 do_sendfile+0x564/0x8a0 fs/read_write.c:1363 __do_sys_sendfile64 fs/read_write.c:1424 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1410 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f794438d169 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:00007f7945206038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f79445a6080 RCX: 00007f794438d169 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007f794440e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000800000009 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f79445a6080 R15: 00007ffc142abb08 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_reserve_suballoc_bits+0x4798/0x4e70 fs/ocfs2/suballoc.c:804 Code: e1 07 80 c1 03 38 c1 0f 8c 75 dd ff ff 48 8d bc 24 b0 01 00 00 e8 c8 3f 62 fe e9 63 dd ff ff e8 0e 1c 42 08 e8 69 ff fa fd 90 <0f> 0b e8 61 ff fa fd 48 c7 c7 e0 09 04 8f 48 8b 74 24 20 48 89 da RSP: 0018:ffffc9000d4de260 EFLAGS: 00010287 RAX: ffffffff83c6e117 RBX: 00000000ffffffff RCX: 0000000000100000 RDX: ffffc9000ed0b000 RSI: 00000000000004c2 RDI: 00000000000004c3 RBP: ffffc9000d4de750 R08: ffffffff83c69bf5 R09: 1ffffffff2079f4e R10: dffffc0000000000 R11: fffffbfff2079f4f R12: 1ffff92001a9bccc R13: ffff8880440c4400 R14: ffff888054a8fe00 R15: dffffc0000000000 FS: 00007f79452066c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561e21cfa038 CR3: 000000003f4ec000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400