syzbot


kernel BUG in ocfs2_remove_extent

Status: upstream: reported C repro on 2025/09/07 12:51
Reported-by: syzbot+1dd53396e7124586dca9@syzkaller.appspotmail.com
First crash: 5d11h, last: 5d00h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in ocfs2_remove_extent -1 syz 3 10d 10d 0/3 upstream: reported syz repro on 2025/09/02 01:23
upstream kernel BUG in ocfs2_remove_extent ocfs2 -1 C error 35 1d20h 103d 0/29 upstream: reported C repro on 2025/06/01 06:11
linux-6.1 kernel BUG in ocfs2_remove_extent origin:upstream -1 C 4 5d19h 32d 0/3 upstream: reported C repro on 2025/08/11 12:06

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ocfs2/alloc.c:5574!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5899 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
RIP: 0010:ocfs2_remove_extent+0x1e99/0x1ff0 fs/ocfs2/alloc.c:5574
Code: 68 fa ff ff 48 8b 4c 24 08 80 e1 07 fe c1 38 c1 0f 8c ad fa ff ff 48 8b 7c 24 08 e8 c1 ba 93 fe e9 9e fa ff ff e8 a7 74 3c fe <0f> 0b f3 0f 1e fa 65 8b 1d 06 9f ba 7c bf 07 00 00 00 89 de e8 3e
RSP: 0018:ffffc90003236be0 EFLAGS: 00010293
RAX: ffffffff83491af9 RBX: ffffc900032373d8 RCX: ffff88802123bc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000004
RBP: ffffc90003236f30 R08: ffff88802123bc00 R09: 0000000000000006
R10: 00000000fffffffc R11: 0000000000000000 R12: 1ffff1100d88209a
R13: 0000000000000004 R14: ffff88806c4104d0 R15: ffff88806c4104d4
FS:  0000555556b1a500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555556b45648 CR3: 0000000060a58000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 ocfs2_remove_btree_range+0xd96/0x1480 fs/ocfs2/alloc.c:5771
 ocfs2_commit_truncate+0xb4b/0x21a0 fs/ocfs2/alloc.c:7354
 ocfs2_truncate_for_delete fs/ocfs2/inode.c:623 [inline]
 ocfs2_wipe_inode fs/ocfs2/inode.c:790 [inline]
 ocfs2_delete_inode fs/ocfs2/inode.c:1079 [inline]
 ocfs2_evict_inode+0xef6/0x3e60 fs/ocfs2/inode.c:1216
 evict+0x486/0x870 fs/inode.c:705
 do_unlinkat+0x37b/0x570 fs/namei.c:4398
 __do_sys_unlink fs/namei.c:4439 [inline]
 __se_sys_unlink fs/namei.c:4437 [inline]
 __x64_sys_unlink+0x49/0x50 fs/namei.c:4437
 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:0x7f8c5278e197
Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 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:00007ffdb0c4b978 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8c5278e197
RDX: 00007ffdb0c4b9a0 RSI: 00007ffdb0c4ba30 RDI: 00007ffdb0c4ba30
RBP: 00007ffdb0c4ba30 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffdb0c4cb20
R13: 00007f8c52811c05 R14: 0000000000016def R15: 00007ffdb0c4dbf0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_remove_extent+0x1e99/0x1ff0 fs/ocfs2/alloc.c:5574
Code: 68 fa ff ff 48 8b 4c 24 08 80 e1 07 fe c1 38 c1 0f 8c ad fa ff ff 48 8b 7c 24 08 e8 c1 ba 93 fe e9 9e fa ff ff e8 a7 74 3c fe <0f> 0b f3 0f 1e fa 65 8b 1d 06 9f ba 7c bf 07 00 00 00 89 de e8 3e
RSP: 0018:ffffc90003236be0 EFLAGS: 00010293
RAX: ffffffff83491af9 RBX: ffffc900032373d8 RCX: ffff88802123bc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000004
RBP: ffffc90003236f30 R08: ffff88802123bc00 R09: 0000000000000006
R10: 00000000fffffffc R11: 0000000000000000 R12: 1ffff1100d88209a
R13: 0000000000000004 R14: ffff88806c4104d0 R15: ffff88806c4104d4
FS:  0000555556b1a500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555556b45648 CR3: 0000000060a58000 CR4: 00000000003506f0

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/08 00:39 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ocfs2_remove_extent
2025/09/07 21:31 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ocfs2_remove_extent
2025/09/07 15:51 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ocfs2_remove_extent
2025/09/07 12:50 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_remove_extent
* Struck through repros no longer work on HEAD.